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

Commit

Permalink
[ci] Install 64-bit binaries into usr64 for consistency.
Browse files Browse the repository at this point in the history
  • Loading branch information
vargaz committed Dec 16, 2017
1 parent 804c869 commit 0692a5e
Showing 1 changed file with 7 additions and 6 deletions.
13 changes: 7 additions & 6 deletions scripts/ci/run-jenkins.sh
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@ LLVM_BASE_CONFIGURE_FLAGS="--enable-libcpp --enable-optimized --enable-assertion

mkdir -p build
cd build
../configure --prefix=$PWD/../usr --enable-targets="arm arm64" $LLVM_BASE_CONFIGURE_FLAGS CXXFLAGS="-Qunused-arguments"
../configure --prefix=$PWD/../usr64 --enable-targets="arm arm64" $LLVM_BASE_CONFIGURE_FLAGS CXXFLAGS="-Qunused-arguments"
make -j4
make install
cd ..
Expand All @@ -21,8 +21,9 @@ make -j4
make install
cd ..
mkdir tmp-bin
cp usr/bin/{llc,opt,llvm-dis,llvm-config} tmp-bin/
rm usr/bin/*
cp tmp-bin/* usr/bin/
rm -f usr/lib/libLTO.* usr/lib/*.dylib usr32/lib/libLTO.* usr32/lib/*.dylib usr32/bin/*
tar cvzf llvm-osx64-$GIT_COMMIT.tar.gz usr usr32
cp usr64/bin/{llc,opt,llvm-dis,llvm-config} tmp-bin/
rm usr64/bin/*
cp tmp-bin/* usr64/bin/
# Don't need 32 bit binaries
rm -f usr64/lib/libLTO.* usr64/lib/*.dylib usr32/lib/libLTO.* usr32/lib/*.dylib usr32/bin/*
tar cvzf llvm-osx64-$GIT_COMMIT.tar.gz usr64 usr32

0 comments on commit 0692a5e

Please sign in to comment.