From d14b239dd3496f44d8e70da5d83e57e17b68690f Mon Sep 17 00:00:00 2001 From: Maneesh Gupta Date: Thu, 9 Feb 2017 14:38:39 +0530 Subject: [PATCH] Fix arch specific hcc extra libs env var Change-Id: I7429da2f1cb98750d6a9601e7e5bde844a098487 --- bin/hipcc | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/bin/hipcc b/bin/hipcc index 944fc04135..2b84041e50 100755 --- a/bin/hipcc +++ b/bin/hipcc @@ -350,12 +350,12 @@ if($HIP_PLATFORM eq "hcc"){ if ($target_gfx803 eq 1) { $HIPLDFLAGS .= " --amdgpu-target=gfx803"; $HIPCXXFLAGS .= " -D__HIP_ARCH_GFX803__=1 "; - $ENV{HIP_HC_IR_GFX803}="$HIP_PATH/lib/hip_hc_gfx803.ll\n"; + $ENV{HCC_EXTRA_LIBRARIES_GFX803}="$HIP_PATH/lib/hip_hc_gfx803.ll\n"; } if ($target_gfx701 eq 0 and $target_gfx801 eq 0 and $target_gfx802 eq 0 and $target_gfx803 eq 0) { $HIPLDFLAGS .= " --amdgpu-target=gfx701 --amdgpu-target=gfx801 --amdgpu-target=gfx802 --amdgpu-target=gfx803"; - $ENV{HIP_HC_IR_GFX803}="$HIP_PATH/lib/hip_hc_gfx803.ll\n"; + $ENV{HCC_EXTRA_LIBRARIES_GFX803}="$HIP_PATH/lib/hip_hc_gfx803.ll\n"; } }