Skip to content

Commit

Permalink
Absolute path to llvm_build is required
Browse files Browse the repository at this point in the history
  • Loading branch information
llebout committed Apr 1, 2019
1 parent 7aa51c6 commit f4c6e0a
Showing 1 changed file with 6 additions and 0 deletions.
6 changes: 6 additions & 0 deletions ppc64le_build.bash
Original file line number Diff line number Diff line change
Expand Up @@ -72,6 +72,9 @@ svn checkout --force "https://llvm.org/svn/llvm-project/compiler-rt/trunk@$REVIS

mkdir llvm_build
cd llvm_build

LLVM_BUILD_DIR=$(pwd)

cmake -DCMAKE_BUILD_TYPE=Release -DLLVM_TARGETS_TO_BUILD="PowerPC" -G "Unix Makefiles" ../llvm
make -j$(nproc)

Expand All @@ -80,6 +83,9 @@ cd src

mkdir -p out/Default
cp ../../flags.gn out/Default/args.gn

sed "s#../llvm_build#${LLVM_BUILD_DIR}#g" -i out/Default/args.gn

./tools/gn/bootstrap/bootstrap.py --skip-generate-buildfiles -j4 -o out/Default/gn

./out/Default/gn gen out/Default --fail-on-unused-args
Expand Down

0 comments on commit f4c6e0a

Please sign in to comment.