Skip to content

Commit

Permalink
move LLVM assert subversion to llvm.mk
Browse files Browse the repository at this point in the history
  • Loading branch information
vchuravy committed Jan 12, 2021
1 parent 4935775 commit 81701f1
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 5 deletions.
6 changes: 1 addition & 5 deletions deps/Versions.make
Original file line number Diff line number Diff line change
Expand Up @@ -46,12 +46,8 @@ LIBUV_JLL_NAME := LibUV

# LLVM
LLVM_VER := 11.0.0
LLVM_ASSERT_JLL_VER := 11.0.0+4
LLVM_JLL_NAME := libLLVM
# We provide a way to subversively swap out which LLVM JLL we pull artifacts from
ifeq ($(BINARYBUILDER_LLVM_ASSERTS), 1)
LLVM_JLL_VER := 11.0.0+4
LLVM_JLL_DOWNLOAD_NAME := libLLVM_assert
endif

# LLVM_tools (downloads LLVM_jll to get things like `lit` and `opt`)
LLVM_TOOLS_JLL_NAME := LLVM
Expand Down
6 changes: 6 additions & 0 deletions deps/llvm.mk
Original file line number Diff line number Diff line change
Expand Up @@ -623,6 +623,12 @@ update-llvm:
endif
else # USE_BINARYBUILDER_LLVM

# We provide a way to subversively swap out which LLVM JLL we pull artifacts from
ifeq ($(BINARYBUILDER_LLVM_ASSERTS), 1)
LLVM_JLL_DOWNLOAD_NAME := libLLVM_assert
LLVM_JLL_VER := $(LLVM_ASSERT_JLL_VER)
endif

$(eval $(call bb-install,llvm,LLVM,false,true))
$(eval $(call bb-install,clang,CLANG,false,true))
$(eval $(call bb-install,llvm-tools,LLVM_TOOLS,false,true))
Expand Down

0 comments on commit 81701f1

Please sign in to comment.