Check out llvm sources using the new llvm git monorepo
This updates compiler-rt, libunwind, libcxxabi and libcxx to a newer version, matching the compiler. This will be the official, canonical repo in the future. For the non-dev Dockerfile build, this means that all the llvm based subprojects need to be built in one RUN to avoid storing the llvm checkout in the docker layers.
This commit is contained in:
1 parent
51da9d154c
commit
0f9d9f1986
5 files changed
+34
-105
No files matched your search
@@ -31,9 +31,8 @@ export PATH=$PREFIX/bin:$PATH
|
||||
|
||||
CLANG_VERSION=$(basename $(dirname $(dirname $(dirname $($PREFIX/bin/clang --print-libgcc-file-name -rtlib=compiler-rt)))))
|
||||
|
||||
if [ ! -d compiler-rt ]; then
|
||||
git clone -b master https://github.com/llvm-mirror/compiler-rt.git
|
||||
CHECKOUT=1
|
||||
if [ ! -d llvm-project/compiler-rt ] || [ -n "$SYNC" ]; then
|
||||
CHECKOUT_ONLY=1 ./build-llvm.sh
|
||||
fi
|
||||
|
||||
# Add a symlink for i386 -> i686; we normally name the toolchain
|
||||
@@ -43,12 +42,7 @@ if [ ! -e $PREFIX/i386-w64-mingw32 ]; then
|
||||
ln -sfn i686-w64-mingw32 $PREFIX/i386-w64-mingw32 || true
|
||||
fi
|
||||
|
||||
cd compiler-rt
|
||||
|
||||
if [ -n "$SYNC" ] || [ -n "$CHECKOUT" ]; then
|
||||
[ -z "$SYNC" ] || git fetch
|
||||
git checkout 806498c6546a07c65bb5c808a7d8964216cc24ca
|
||||
fi
|
||||
cd llvm-project/compiler-rt
|
||||
|
||||
for arch in $ARCHS; do
|
||||
buildarchname=$arch
|
||||
|
||||
Reference in new issue
Block a user