Skip to content

Commit e33bc5d

Browse files
authored
Revert "LLVM Target Reorg - Changes"
1 parent 497a009 commit e33bc5d

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

script/build_kernel.sh

+3-3
Original file line numberDiff line numberDiff line change
@@ -32,8 +32,8 @@ fi
3232

3333
OCL_VER="2.0"
3434

35-
if [ -e $ROCM_DIR/bin/llvm ] ; then
36-
LLVM_DIR=$ROCM_DIR
35+
if [ -e $ROCM_DIR/llvm ] ; then
36+
LLVM_DIR=$ROCM_DIR/llvm
3737
LIB_DIR=$ROCM_DIR/lib
3838
else
3939
LLVM_DIR=$ROCM_DIR/hcc
@@ -73,7 +73,7 @@ fi
7373
for GFXIP in $TGT_LIST ; do
7474
OBJ_PREF=$GFXIP
7575
OBJ_FILE="${OBJ_PREF}_${OBJ_NAME}.$SO_EXT"
76-
$BIN_DIR/llvm/clang -cl-std=CL$OCL_VER -include $INC_DIR/opencl-c.h $BITCODE_OPTS -target amdgcn-amd-amdhsa -mcpu=$GFXIP $TEST_NAME.cl -o $DST_DIR/$OBJ_FILE
76+
$BIN_DIR/clang -cl-std=CL$OCL_VER -include $INC_DIR/opencl-c.h $BITCODE_OPTS -target amdgcn-amd-amdhsa -mcpu=$GFXIP $TEST_NAME.cl -o $DST_DIR/$OBJ_FILE
7777
echo "'$OBJ_FILE' generated"
7878
done
7979

0 commit comments

Comments
 (0)