Skip to content

Commit

Permalink
Fix cibuildwheel
Browse files Browse the repository at this point in the history
  • Loading branch information
ljk3210 authored and pgmpablo157321 committed Jan 9, 2024
1 parent f4e5458 commit e82d0c9
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 4 deletions.
5 changes: 1 addition & 4 deletions .github/workflows/build_wheels.yml
Original file line number Diff line number Diff line change
Expand Up @@ -18,13 +18,10 @@ jobs:
- uses: actions/setup-python@v3

- name: Install requirements
run: python -m pip install cibuildwheel==2.11.4 twine==4.0.2
run: python -m pip install cibuildwheel==2.16.2 twine==4.0.2

- name: Build wheels
run: python -m cibuildwheel loadgen/ --output-dir wheels
env:
CIBW_ENVIRONMENT: "CFLAGS='-std=c++14'"
CIBW_BUILD: 'cp3{7,8,9,10,11}-*'

- uses: actions/upload-artifact@v3
with:
Expand Down
4 changes: 4 additions & 0 deletions pyproject.toml → loadgen/pyproject.toml
Original file line number Diff line number Diff line change
@@ -1,3 +1,7 @@
[build-system]
requires = ["setuptools>=42", "wheel", "pybind11==2.11.1"]
build-backend = "setuptools.build_meta:__legacy__"

[tool.cibuildwheel]
environment = "CFLAGS='-std=c++14'"
build = "cp3{7,8,9,10,11}-*"

0 comments on commit e82d0c9

Please sign in to comment.