fixed compile on ubuntu for unit-test

This commit is contained in:
fasiondog 2022-05-12 21:17:02 +08:00
parent d8721379af
commit 2adf68130c
2 changed files with 2 additions and 2 deletions

View File

@ -24,7 +24,7 @@ jobs:
ls
./bootstrap.sh --with-python=python3
./b2 release link=shared address-model=64 -j 4 --with-python --with-serialization;
./b2 release link=static address-model=64 cxxflags=-fPIC -j 4 --with-date_time --with-filesystem --with-system --with-test --with_atomic;
./b2 release link=static address-model=64 cxxflags=-fPIC -j 4 --with-date_time --with-filesystem --with-system --with-test --with-atomic;
- name: test
run: |

View File

@ -126,7 +126,7 @@ def build_boost(mode):
cmd = 'cd {boost} ; if [ ! -f "b2" ]; then ./bootstrap.sh ; fi; '\
'./b2 {mode} link=shared address-model=64 -j 4 --with-python --with-serialization; '\
'./b2 {mode} link=static address-model=64 cxxflags=-fPIC -j 4 --with-date_time '\
'--with-filesystem --with-system --with-test --with_atomic; '\
'--with-filesystem --with-system --with-test --with-atomic; '\
'cd {current}'.format(boost=current_boost_root, mode=mode, current=current_dir)
# cmd = 'cd {boost} ; if [ ! -f "b2" ]; then ./bootstrap.sh ; fi; '\
# './b2 {mode} link=shared address-model=64 -j 4 --with-python --with-serialization '\