Skip to content
This repository has been archived by the owner on Aug 2, 2022. It is now read-only.

Commit

Permalink
Merge pull request #8070 from EOSIO/dont_rebuild_llvm_when_pinned_20x
Browse files Browse the repository at this point in the history
don't rebuild llvm unnecessarily during pinned builds - 2.0
  • Loading branch information
spoonincode authored Oct 15, 2019
2 parents 521dc22 + 29f3ff7 commit d964b6f
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions scripts/helpers/eosio.sh
Original file line number Diff line number Diff line change
Expand Up @@ -270,6 +270,9 @@ function ensure-boost() {

function ensure-llvm() {
if $PIN_COMPILER || $BUILD_CLANG; then
if [[ -d $LLVM_ROOT ]]; then
return
fi
LLVM_TEMP_DIR=$(mktemp -d)
if $PIN_COMPILER || $BUILD_CLANG; then
local LLVM_PINNED_CMAKE_ARGS="-DCMAKE_TOOLCHAIN_FILE='${BUILD_DIR}/pinned_toolchain.cmake' -DCMAKE_EXE_LINKER_FLAGS=-pthread -DCMAKE_SHARED_LINKER_FLAGS=-pthread"
Expand Down

0 comments on commit d964b6f

Please sign in to comment.