Skip to content

Commit

Permalink
package two more linux-only libs in libbolt
Browse files Browse the repository at this point in the history
  • Loading branch information
h-vetinari committed Jul 23, 2024
1 parent 6f000bc commit 8e8e490
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 0 deletions.
2 changes: 2 additions & 0 deletions recipe/install_llvm.sh
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down
3 changes: 3 additions & 0 deletions recipe/meta.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down

0 comments on commit 8e8e490

Please sign in to comment.