Skip to content

Commit

Permalink
docker/
Browse files Browse the repository at this point in the history
  • Loading branch information
phlax committed May 15, 2024
1 parent 09f6185 commit 53295e8
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions docker/linux/common_fun.sh
Original file line number Diff line number Diff line change
Expand Up @@ -30,13 +30,13 @@ download_and_check () {

install_llvm_bins () {
LLVM_RELEASE="clang+llvm-${LLVM_VERSION}-${LLVM_DISTRO}"
echo "INSTALLING LLVM ..."
echo "INSTALLING LLVM ..." >&2
echo ${LLVM_DOWNLOAD_PREFIX}${LLVM_VERSION}/${LLVM_RELEASE}.tar.xz
echo "${LLVM_SHA256SUM}"
echo "${LLVM_SHA256SUM}" >&2
download_and_check "${LLVM_RELEASE}.tar.xz" "${LLVM_DOWNLOAD_PREFIX}${LLVM_VERSION}/${LLVM_RELEASE}.tar.xz" "${LLVM_SHA256SUM}"
mkdir /opt/llvm
tar Jxf "${LLVM_RELEASE}.tar.xz" --strip-components=1 -C /opt/llvm
ls -alh /opt/llvm
ls -alh /opt/llvm >&2
chown -R root:root /opt/llvm
rm "./${LLVM_RELEASE}.tar.xz"
LLVM_HOST_TARGET="$(/opt/llvm/bin/llvm-config --host-target)"
Expand Down

0 comments on commit 53295e8

Please sign in to comment.