Allow for /usr/bin/hipcc to be a symlink
SWDEV-267206
If /usr/bin/hipcc is a symlink then resolve it first, and then find
the resulting directory rather than resolving /usr/bin.
Change-Id: I380728ffa05ed813cc793a1d6488aaae81ddbda8
[ROCm/hip commit: 24c8e5a348]
이 커밋은 다음에 포함됨:
1 부모
c9cc6fbd65
커밋
d234e6a9a1
3 파일이 변경됨
+3
-3
검색과 일치하는 파일 없음
@@ -10,7 +10,7 @@ use List::Util qw(max);
|
||||
|
||||
my $base_dir;
|
||||
BEGIN {
|
||||
$base_dir = Cwd::realpath( dirname(__FILE__) );
|
||||
$base_dir = dirname( Cwd::realpath(__FILE__) );
|
||||
}
|
||||
use lib "$base_dir/";
|
||||
use hipvars;
|
||||
|
||||
+1
-1
@@ -95,7 +95,7 @@ sub delete_temp_dirs {
|
||||
|
||||
my $base_dir;
|
||||
BEGIN {
|
||||
$base_dir = Cwd::realpath( dirname(__FILE__) );
|
||||
$base_dir = dirname(Cwd::realpath(__FILE__) );
|
||||
}
|
||||
use lib "$base_dir/";
|
||||
use hipvars;
|
||||
|
||||
@@ -12,7 +12,7 @@ use File::Basename;
|
||||
|
||||
my $base_dir;
|
||||
BEGIN {
|
||||
$base_dir = Cwd::realpath( dirname(__FILE__) );
|
||||
$base_dir = dirname( Cwd::realpath(__FILE__) );
|
||||
}
|
||||
use lib "$base_dir/";
|
||||
use hipvars;
|
||||
|
||||
새 이슈에서 참조
사용자 차단