Skip to content

Commit

Permalink
Minor clean-up
Browse files Browse the repository at this point in the history
  • Loading branch information
MartinNowack authored and ccadar committed Mar 30, 2022
1 parent 0373fd7 commit ebdaaf1
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 5 deletions.
2 changes: 1 addition & 1 deletion scripts/build/p-clang-linux.inc
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@ setup_artifact_variables_clang() {
[[ "${LLVM_VERSION_MAJOR}" -ge 7 ]] && version="-${LLVM_VERSION_MAJOR}"

# Only set LLVM_CONFIG if not set yet
if [[ -z "${LLVM_CONFIG-}" ]]; then
if [[ -z "${LLVM_CONFIG:-}" ]]; then
LLVM_CONFIG=$(which "llvm-config${version}")
fi

Expand Down
4 changes: 0 additions & 4 deletions scripts/build/p-libcxx.inc
Original file line number Diff line number Diff line change
Expand Up @@ -20,10 +20,6 @@ download_libcxx() {
patch -p1 --follow-symlinks -i "${DIR}/patches/libcxx${LLVM_VERSION_SHORT}.patch" || return 1
fi

# Prepare LLVM subprojects for older LLVM versions
cd "${LIBCXX_SRC}/llvm/projects"
ln -s ../../libcxx .
ln -s ../../libcxxabi .

touch "${LIBCXX_SRC}/.src_checked_out"
}
Expand Down

0 comments on commit ebdaaf1

Please sign in to comment.