Skip to content

Commit

Permalink
Bump the version of LLVM
Browse files Browse the repository at this point in the history
  • Loading branch information
adonis0147 committed May 3, 2024
1 parent d9eb89d commit ff045a9
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 5 deletions.
8 changes: 4 additions & 4 deletions devel/downloads/packages.sh
Original file line number Diff line number Diff line change
Expand Up @@ -176,10 +176,10 @@ LIBEDIT_PACKAGE_SHA256SUM='4ee8182b6e569290e7d1f44f0f78dac8716b35f656b76528f699c
LIBEDIT_PACKAGE_NAME='libedit-20230828-3.1.tar.gz'
LIBEDIT_PACKAGE_EXTRACTED_DIR='libedit-20230828-3.1'

LLVM_PACKAGE_URL='https://github.com/llvm/llvm-project/releases/download/llvmorg-18.1.4/llvm-project-18.1.4.src.tar.xz'
LLVM_PACKAGE_SHA256SUM='2c01b2fbb06819a12a92056a7fd4edcdc385837942b5e5260b9c2c0baff5116b'
LLVM_PACKAGE_NAME='llvm-project-18.1.4.src.tar.xz'
LLVM_PACKAGE_EXTRACTED_DIR='llvm-project-18.1.4.src'
LLVM_PACKAGE_URL='https://github.com/llvm/llvm-project/releases/download/llvmorg-18.1.5/llvm-project-18.1.5.src.tar.xz'
LLVM_PACKAGE_SHA256SUM='3591a52761a7d390ede51af01ea73abfecc4b1d16445f9d019b67a57edd7de56'
LLVM_PACKAGE_NAME='llvm-project-18.1.5.src.tar.xz'
LLVM_PACKAGE_EXTRACTED_DIR='llvm-project-18.1.5.src'

ZSH_PACKAGE_URL='https://downloads.sourceforge.net/project/zsh/zsh/5.9/zsh-5.9.tar.xz'
ZSH_PACKAGE_SHA256SUM='9b8d1ecedd5b5e81fbf1918e876752a7dd948e05c1a0dba10ab863842d45acd5'
Expand Down
2 changes: 1 addition & 1 deletion devel/scripts/install.sh
Original file line number Diff line number Diff line change
Expand Up @@ -672,6 +672,7 @@ function install_llvm() {
local rpath
rpath="$(sed -n 's/collect2 -rpath \(.*\)/\1/p' "${DEVEL_HOME_PATH}/compiler/lib/gcc/specs")"
cat >"${HOME}/.config/${package}/clang.cfg" <<EOF
--gcc-install-dir=$(find "${DEVEL_HOME_PATH}/compiler/lib/gcc/$(uname -m)-linux-gnu" -mindepth 1 -maxdepth 1 -type d)
-Wl,-rpath,${rpath//\$/\\\$}
-Wl,-dynamic-linker,$(find "${DEVEL_HOME_PATH}/compiler/lib" -name 'ld-linux-*')
EOF
Expand All @@ -686,7 +687,6 @@ EOF
-DCMAKE_INSTALL_PREFIX="${DEVEL_HOME_PATH}/opt/${package}" \
-DCMAKE_PREFIX_PATH="${DEVEL_HOME_PATH}" \
-DLLVM_ENABLE_PROJECTS="clang;lld;clang-tools-extra;lldb" \
-DGCC_INSTALL_PREFIX="${DEVEL_HOME_PATH}/compiler" \
-DCLANG_CONFIG_FILE_USER_DIR='~/.config/llvm' \
-DLLVM_ENABLE_RUNTIMES="compiler-rt;libcxx;libcxxabi;libunwind" \
-DLIBCXXABI_USE_LLVM_UNWINDER=ON \
Expand Down

0 comments on commit ff045a9

Please sign in to comment.