Prevent chomp return from overriding HIP_CLANG_TARGET triple information (#2958)

This commit is contained in:
Janek van Oirschot
2022-09-27 03:16:29 +01:00
committad av GitHub
förälder 5e7b7e11a5
incheckning 3a9866730d
+1 -1
Visa fil
@@ -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");