Revert "SWDEV-330775 - Update search path for LLVM"
This reverts commit 3d15f9cbda.
Reason for revert: SWDEV-368704
Change-Id: I8c38b4f40285f90f7d99145b970c2a14d051d5bb
이 커밋은 다음에 포함됨:
+1
-10
@@ -137,16 +137,7 @@ find_rocm_executable_or_fail() {
|
||||
local -r command="$1"; shift
|
||||
local file
|
||||
local searched=()
|
||||
|
||||
# Look for LLVM directory in ROCm's directory structure
|
||||
local rocm_llvm_dir_root=`realpath $BASE_DIR/../lib`
|
||||
local llvm_dir=`find "$rocm_llvm_dir_root" -maxdepth 1 -regextype posix-extended -regex ".*/llvm-[0-9]{2,}" -type d,l | sort -r`
|
||||
local llvm_bin_dir=()
|
||||
for d in $llvm_dir; do
|
||||
llvm_bin_dir+=("$d/bin")
|
||||
done
|
||||
|
||||
for dir in "$BASE_DIR" "${HIP_CLANG_PATH:-"$BASE_DIR/../../llvm/bin"}" ${llvm_bin_dir[*]}; do
|
||||
for dir in "$BASE_DIR" "${HIP_CLANG_PATH:-"$BASE_DIR/../../llvm/bin"}"; do
|
||||
file="$dir/$command"
|
||||
if [[ -x $file ]]; then
|
||||
printf "%s" "$file"
|
||||
|
||||
새 이슈에서 참조
사용자 차단