Skip to content

Commit

Permalink
Work around a llvm-config bug by creating a versioned symlink to libL…
Browse files Browse the repository at this point in the history
…LVM.
  • Loading branch information
maleadt committed Nov 14, 2018
1 parent 06fed56 commit 98b0264
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions deps/llvm.mk
Original file line number Diff line number Diff line change
Expand Up @@ -471,6 +471,10 @@ LLVM_INSTALL = \
ifeq ($(OS), WINNT)
LLVM_INSTALL += && cp $2$$(build_shlibdir)/LLVM.dll $2$$(build_depsbindir)
endif
ifeq ($(OS),Darwin)
# https://github.com/JuliaLang/julia/issues/29981
LLVM_INSTALL += && ln -s libLLVM.dylib $2$$(build_shlibdir)/libLLVM-$$(LLVM_VER_SHORT).dylib
endif

$(eval $(call staged-install,llvm,llvm-$$(LLVM_VER)/build_$$(LLVM_BUILDTYPE), \
LLVM_INSTALL,,,))
Expand Down

0 comments on commit 98b0264

Please sign in to comment.