Skip to content

Commit

Permalink
Add wheel build
Browse files Browse the repository at this point in the history
  • Loading branch information
TLCFEM committed Nov 23, 2023
1 parent d0bfb19 commit 4aa0a9a
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 2 deletions.
3 changes: 2 additions & 1 deletion .github/workflows/wheels.yml
Original file line number Diff line number Diff line change
Expand Up @@ -29,12 +29,13 @@ jobs:
uses: actions/checkout@v4
- name: Setup
run: |
sudo apt-get update && sudo apt-get install -y cmake git g++ libtbb-dev libmpfr-dev libgmp-dev libpython3-dev python3 python3-distutils
git submodule update --init --recursive
- name: CI Build Wheel
uses: pypa/[email protected]
env:
CIBW_PLATFORM: linux
CIBW_ARCHS: x86_64
CIBW_BEFORE_ALL_LINUX: 'apt install cmake git g++ libtbb-dev libmpfr-dev libgmp-dev libpython3-dev python3 python3-distutils'
- name: Upload
uses: actions/upload-artifact@v3
with:
Expand Down
2 changes: 1 addition & 1 deletion setup.py
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@
Pybind11Extension(
"pyvpmr",
["src/VPMR.cpp"],
include_dirs=["eigen", "eigen/unsupported", "mpreal", "exprtk", "exprtk-custom-types", "usr/include"],
include_dirs=["eigen", "eigen/unsupported", "mpreal", "exprtk", "exprtk-custom-types"],
libraries=["mpfr", "gmp", "tbb"],
define_macros=[("PYVPMR", 1)],
),
Expand Down

0 comments on commit 4aa0a9a

Please sign in to comment.