Skip to content

Commit

Permalink
simplified boost installation
Browse files Browse the repository at this point in the history
  • Loading branch information
drexlerd committed Jan 4, 2024
1 parent b150a92 commit bd5614d
Show file tree
Hide file tree
Showing 2 changed files with 8 additions and 10 deletions.
11 changes: 7 additions & 4 deletions .github/workflows/scripts/install_boost.sh
Original file line number Diff line number Diff line change
Expand Up @@ -2,9 +2,12 @@

wget --no-check-certificate 'https://archives.boost.io/release/1.84.0/source/boost_1_84_0.tar.gz'
tar xf boost_1_84_0.tar.gz
cd boost_1_84_0
./bootstrap.sh

## We use header-only parts

#cd boost_1_84_0
#./bootstrap.sh

# Compile with fPIC flag
export CXXFLAGS="-fPIC"
./b2 cxxflags="$CXXFLAGS" link=static
#export CXXFLAGS="-fPIC"
#./b2 cxxflags="$CXXFLAGS" link=static
7 changes: 1 addition & 6 deletions .github/workflows/unittests.yml
Original file line number Diff line number Diff line change
Expand Up @@ -14,12 +14,7 @@ jobs:
- name: Checkout repository
uses: actions/checkout@v2

- name: Set up Python
uses: actions/setup-python@v2
with:
python-version: "3.9"

- name: Install boost
- name: Download boost
id: install-boost
run: |
bash .github/workflows/scripts/install_boost.sh
Expand Down

0 comments on commit bd5614d

Please sign in to comment.