Skip to content
This repository has been archived by the owner on Mar 12, 2024. It is now read-only.

Build static and shared Boost libraries #151

Open
wants to merge 3 commits into
base: 1.72.x
Choose a base branch
from
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
1 change: 0 additions & 1 deletion recipe/bld.bat
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,6 @@ if errorlevel 1 exit 1
address-model=%ARCH% ^
variant=release ^
threading=multi ^
link=shared ^
-j%CPU_COUNT% ^
-s NO_COMPRESSION=0 ^
-s NO_ZLIB=0 ^
Expand Down
2 changes: 0 additions & 2 deletions recipe/build.sh
Original file line number Diff line number Diff line change
Expand Up @@ -65,8 +65,6 @@ fi
abi="${ABI}" \
debug-symbols=off \
threading=multi \
runtime-link=shared \
link=shared \
toolset=${TOOLSET} \
include="${INCLUDE_PATH}" \
cxxflags="${CXXFLAGS}" \
Expand Down
4 changes: 2 additions & 2 deletions recipe/meta.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@ source:
- 456be0b7ecca065fbccf380c2f51e0985e608ba0.patch # [osx and arm64]

build:
number: 7
number: 8

requirements:
build:
Expand Down Expand Up @@ -80,7 +80,7 @@ test:
"wserialization"
] %}
{% for each_boost_lib in boost_libs %}
- test ! -f $PREFIX/lib/libboost_{{ each_boost_lib }}.a # [unix]
- test -f $PREFIX/lib/libboost_{{ each_boost_lib }}.a # [unix]
- test -f $PREFIX/lib/libboost_{{ each_boost_lib }}.dylib # [osx]
- test -f $PREFIX/lib/libboost_{{ each_boost_lib }}.so # [linux]
- if not exist %PREFIX%\\Library\\bin\\boost_{{ each_boost_lib }}.dll exit 1 # [win]
Expand Down