Lines 464-473
Link Here
|
464 |
|
464 |
|
465 |
$(build_prefix)/manifest/llvm: | $(llvm_python_workaround) |
465 |
$(build_prefix)/manifest/llvm: | $(llvm_python_workaround) |
466 |
|
466 |
|
|
|
467 |
# unset DESTDIR to fix https://github.com/JuliaLang/julia/issues/23462 |
467 |
LLVM_INSTALL = \ |
468 |
LLVM_INSTALL = \ |
468 |
cd $1 && mkdir -p $2$$(build_depsbindir) && \ |
469 |
cd $1 && mkdir -p $2$$(build_depsbindir) && \ |
469 |
cp -r $$(LLVM_SRC_DIR)/utils/lit $2$$(build_depsbindir)/ && \ |
470 |
cp -r $$(LLVM_SRC_DIR)/utils/lit $2$$(build_depsbindir)/ && \ |
470 |
$$(CMAKE) -DCMAKE_INSTALL_PREFIX="$2$$(build_prefix)" -P cmake_install.cmake |
471 |
DESTDIR="" $$(CMAKE) -DCMAKE_INSTALL_PREFIX="$2$$(build_prefix)" -P cmake_install.cmake |
471 |
ifeq ($(OS), WINNT) |
472 |
ifeq ($(OS), WINNT) |
472 |
LLVM_INSTALL += && cp $2$$(build_shlibdir)/LLVM.dll $2$$(build_depsbindir) |
473 |
LLVM_INSTALL += && cp $2$$(build_shlibdir)/LLVM.dll $2$$(build_depsbindir) |
473 |
endif |
474 |
endif |