Skip to content

Commit

Permalink
bump cibuildwheel version, drop 3.7 testing [wheel build]
Browse files Browse the repository at this point in the history
  • Loading branch information
shanedsnyder committed Apr 30, 2024
1 parent 93b2672 commit 2bd7661
Show file tree
Hide file tree
Showing 2 changed files with 16 additions and 7 deletions.
3 changes: 2 additions & 1 deletion .github/workflows/main_ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,7 @@ jobs:
matrix:
platform: [ubuntu-latest,
macos-latest]
python-version: ["3.7", "3.8", "3.9", "3.10", "3.11", "3.12"]
python-version: ["3.8", "3.9", "3.10", "3.11", "3.12"]
runs-on: ${{ matrix.platform }}
steps:
- uses: actions/checkout@v3
Expand All @@ -37,6 +37,7 @@ jobs:
name: Install MacOS deps
run: |
brew install automake
brew install libtool
- name: Install darshan-util
run: |
mkdir darshan_install
Expand Down
20 changes: 14 additions & 6 deletions darshan-util/pydarshan/pyproject.toml
Original file line number Diff line number Diff line change
Expand Up @@ -63,7 +63,6 @@ include = ["darshan"]
version = {attr = "darshan.__version__"}

[tool.cibuildwheel]
environment = "PYDARSHAN_BUILD_EXT=1"
skip = [
"cp36-*",
"pp*",
Expand All @@ -90,22 +89,31 @@ before-all = [
"yum install -y libjpeg libjpeg-devel",
"git submodule update --init",
"./prepare.sh",
"./configure --disable-darshan-runtime --enable-apxc-mod --enable-apmpi-mod",
"./configure --prefix=$PWD/darshan_install --disable-darshan-runtime --enable-apxc-mod --enable-apmpi-mod",
"make install"
]
repair-wheel-command = "auditwheel repair -w {dest_dir} {wheel}"
repair-wheel-command = [
"auditwheel repair -w {dest_dir} {wheel}"
]

[tool.cibuildwheel.linux.environment]
DARSHAN_LIBRARY_PATH="$PWD/darshan_install/lib"
LIBRARY_PATH="$LIBRARY_PATH:$DARSHAN_LIBRARY_PATH"
LD_LIBRARY_PATH="$LD_LIBRARY_PATH:$DARSHAN_LIBRARY_PATH"
PYDARSHAN_BUILD_EXT=1

[tool.cibuildwheel.macos]
before-all = [
"brew install automake",
"brew install libtool",
"brew install openblas",
"brew install lapack",
"git submodule update --init",
"./prepare.sh",
"./configure --disable-darshan-runtime --enable-apxc-mod --enable-apmpi-mod",
"./configure --prefix=$PWD/darshan_install --disable-darshan-runtime --enable-apxc-mod --enable-apmpi-mod",
"make install"
]
repair-wheel-command = [
"delocate-listdeps {wheel}",
"delocate-wheel --require-archs {delocate_archs} -w {dest_dir} {wheel}",
"delocate-listdeps {wheel}",
"delocate-wheel --require-archs {delocate_archs} -w {dest_dir} {wheel}"
]

0 comments on commit 2bd7661

Please sign in to comment.