Prevent chomp return from overriding HIP_CLANG_TARGET triple information (#2958)
This commit is contained in:
committad av
GitHub
förälder
5e7b7e11a5
incheckning
3a9866730d
+1
-1
@@ -163,7 +163,7 @@ if ($HIP_PLATFORM eq "amd") {
|
||||
|
||||
# Figure out the target with which llvm is configured
|
||||
$HIP_CLANG_TARGET = `$HIPCC -print-target-triple`;
|
||||
$HIP_CLANG_TARGET = chomp($HIP_CLANG_TARGET);
|
||||
chomp($HIP_CLANG_TARGET);
|
||||
|
||||
if (! defined $HIP_CLANG_INCLUDE_PATH) {
|
||||
$HIP_CLANG_INCLUDE_PATH = abs_path("$HIP_CLANG_PATH/../lib/clang/$HIP_CLANG_VERSION/include");
|
||||
|
||||
Referens i nytt ärende
Block a user