From 8e8e490e38e73eebb75d107d28959d10ed01581e Mon Sep 17 00:00:00 2001 From: "H. Vetinari" Date: Tue, 23 Jul 2024 13:16:50 +1100 Subject: [PATCH] package two more linux-only libs in libbolt --- recipe/install_llvm.sh | 2 ++ recipe/meta.yaml | 3 +++ 2 files changed, 5 insertions(+) diff --git a/recipe/install_llvm.sh b/recipe/install_llvm.sh index 88eccb78..f847c737 100644 --- a/recipe/install_llvm.sh +++ b/recipe/install_llvm.sh @@ -35,6 +35,8 @@ elif [[ "${PKG_NAME}" == "libbolt" ]]; then # only bolt libraries mkdir -p $PREFIX/lib mv ./temp_prefix/lib/libLLVMBOLT* $PREFIX/lib + # only on linux + mv ./temp_prefix/lib/libbolt* $PREFIX/lib || true elif [[ "${PKG_NAME}" == "bolt" ]]; then cmake --install ./build --prefix=./temp_prefix # only bolt binaries diff --git a/recipe/meta.yaml b/recipe/meta.yaml index 24513664..ac3e504d 100644 --- a/recipe/meta.yaml +++ b/recipe/meta.yaml @@ -181,6 +181,9 @@ outputs: - test -f $PREFIX/lib/libLLVMBOLT{{ each_lib }}.a # [unix] - if not exist %LIBRARY_LIB%\LLVMBOLT{{ each_lib }}.lib exit 1 # [win] {% endfor %} + # linux-only + - test -f $PREFIX/lib/libbolt_rt_hugify.a # [linux] + - test -f $PREFIX/lib/libbolt_rt_instr.a # [linux] # Contains bolt - name: bolt