Skip to content

Commit

Permalink
build: update target name
Browse files Browse the repository at this point in the history
Signed-off-by: sbwml <admin@cooluc.com>
  • Loading branch information
sbwml committed Jun 25, 2024
1 parent 1c65c98 commit 7e3c956
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
4 changes: 2 additions & 2 deletions build.sh
Original file line number Diff line number Diff line change
Expand Up @@ -91,8 +91,8 @@ build_llvm() {
CC=clang CXX=clang++ cmake --build llvm-build --target install-distribution

# set rpath
patchelf --set-rpath '$ORIGIN/' llvm-install/lib/x86_64-redhat-linux/libc++.so.1.0
patchelf --set-rpath '$ORIGIN/' llvm-install/lib/x86_64-redhat-linux/libc++abi.so.1.0
patchelf --set-rpath '$ORIGIN/' llvm-install/lib/x86_64-redhat-linux-gnu/libc++.so.1.0
patchelf --set-rpath '$ORIGIN/' llvm-install/lib/x86_64-redhat-linux-gnu/libc++abi.so.1.0
}

case $script_action in
Expand Down
2 changes: 1 addition & 1 deletion cmake/llvm-distribution.cmake
Original file line number Diff line number Diff line change
Expand Up @@ -57,7 +57,7 @@ set(LLVM_ENABLE_PROJECTS
CACHE STRING "")

set(LLVM_ENABLE_RUNTIMES "all" CACHE STRING "")
set(LLVM_DEFAULT_TARGET_TRIPLE "x86_64-redhat-linux" CACHE STRING "")
set(LLVM_DEFAULT_TARGET_TRIPLE "x86_64-redhat-linux-gnu" CACHE STRING "")

set(LLVM_ENABLE_BACKTRACES OFF CACHE BOOL "")
set(LLVM_ENABLE_DIA_SDK OFF CACHE BOOL "")
Expand Down

0 comments on commit 7e3c956

Please # to comment.