Skip to content

Commit

Permalink
MACOSX: Cleanup files after donwload and build
Browse files Browse the repository at this point in the history
  • Loading branch information
lephilousophe committed Dec 24, 2024
1 parent d3d8ee5 commit a163300
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 0 deletions.
2 changes: 2 additions & 0 deletions toolchains/apple-common/packages/osxcross/build.sh
Original file line number Diff line number Diff line change
Expand Up @@ -45,4 +45,6 @@ CLANG_DARWIN_LIB_DIR="${CLANG_LIB_DIR}/lib/darwin"
mkdir -p "$(dirname "${CLANG_DARWIN_LIB_DIR}")"
ln -s ${TARGET_DIR}/compiler_rt/lib/darwin ${CLANG_DARWIN_LIB_DIR}

find /tmp -mindepth 1 -delete

do_clean_bdir
1 change: 1 addition & 0 deletions toolchains/m4/apple/macosx.m4
Original file line number Diff line number Diff line change
Expand Up @@ -35,6 +35,7 @@ common_package(osxcross-clang)
RUN . /etc/os-release && \
echo "deb http://apt.llvm.org/$VERSION_CODENAME/ llvm-toolchain-$VERSION_CODENAME`'PPA_CLANG`' main" > /etc/apt/sources.list.d/clang.list && \
wget -O - https://apt.llvm.org/llvm-snapshot.gpg.key | apt-key add - && \
rm -f "${HOME}/.wget-hsts" && \
apt-get update && \
DEBIAN_FRONTEND=noninteractive apt-get install -y --no-install-recommends \
clang`'PPA_CLANG`' \
Expand Down

0 comments on commit a163300

Please sign in to comment.