Skip to content

Commit

Permalink
fixes for linux
Browse files Browse the repository at this point in the history
  • Loading branch information
Socrats committed May 1, 2021
1 parent 2162536 commit 7f34aa0
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions .github/workflows/build_wheels.yml
Original file line number Diff line number Diff line change
Expand Up @@ -108,7 +108,7 @@ jobs:

- uses: joerick/cibuildwheel@v1.10.0
env:
CIBW_BEFORE_TEST: pip install --user --upgrade -r tests/requirements.txt
CIBW_BEFORE_TEST: pip install --upgrade -r tests/requirements.txt
CIBW_TEST_COMMAND: pytest {package}/tests
# Python 2.7 on Windows with workaround not supported by scikit-build
CIBW_SKIP: cp27-win*
Expand All @@ -118,8 +118,8 @@ jobs:
# echo "LIBOMP=$(brew --prefix libomp)" >> $GITHUB_ENV && \
# echo "EIGEN=$(brew --prefix eigen)" >> $GITHUB_ENV && \
# echo "OPENBLAS=$(brew --prefix openblas)" >> $GITHUB_ENV
CIBW_BEFORE_ALL_LINUX: |
apt-get install libomp-dev libeigen3-dev
CIBW_BEFORE_BUILD_LINUX: |
sudo apt-get install libomp-dev libeigen3-dev
# echo "EIGEN=/usr/include/eigen3" >> $GITHUB_ENV
CIBW_ENVIRONMENT_LINUX: "-DEigen3_DIR='/usr/include/eigen3/cmake'"
CIBW_ENVIRONMENT_MACOS: "-DEigen3_DIR='$(brew --prefix eigen)/cmake'"
Expand Down

0 comments on commit 7f34aa0

Please sign in to comment.