Skip to content
This repository was archived by the owner on Dec 20, 2019. It is now read-only.

Commit 0692a5e

Browse files
committed
[ci] Install 64-bit binaries into usr64 for consistency.
1 parent 804c869 commit 0692a5e

File tree

1 file changed

+7
-6
lines changed

1 file changed

+7
-6
lines changed

scripts/ci/run-jenkins.sh

Lines changed: 7 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,7 @@ LLVM_BASE_CONFIGURE_FLAGS="--enable-libcpp --enable-optimized --enable-assertion
1010

1111
mkdir -p build
1212
cd build
13-
../configure --prefix=$PWD/../usr --enable-targets="arm arm64" $LLVM_BASE_CONFIGURE_FLAGS CXXFLAGS="-Qunused-arguments"
13+
../configure --prefix=$PWD/../usr64 --enable-targets="arm arm64" $LLVM_BASE_CONFIGURE_FLAGS CXXFLAGS="-Qunused-arguments"
1414
make -j4
1515
make install
1616
cd ..
@@ -21,8 +21,9 @@ make -j4
2121
make install
2222
cd ..
2323
mkdir tmp-bin
24-
cp usr/bin/{llc,opt,llvm-dis,llvm-config} tmp-bin/
25-
rm usr/bin/*
26-
cp tmp-bin/* usr/bin/
27-
rm -f usr/lib/libLTO.* usr/lib/*.dylib usr32/lib/libLTO.* usr32/lib/*.dylib usr32/bin/*
28-
tar cvzf llvm-osx64-$GIT_COMMIT.tar.gz usr usr32
24+
cp usr64/bin/{llc,opt,llvm-dis,llvm-config} tmp-bin/
25+
rm usr64/bin/*
26+
cp tmp-bin/* usr64/bin/
27+
# Don't need 32 bit binaries
28+
rm -f usr64/lib/libLTO.* usr64/lib/*.dylib usr32/lib/libLTO.* usr32/lib/*.dylib usr32/bin/*
29+
tar cvzf llvm-osx64-$GIT_COMMIT.tar.gz usr64 usr32

0 commit comments

Comments
 (0)