Skip to content

Commit 378b7c5

Browse files
Apply patch for #1684: PYBIND11_FINDPYTHON=ON (#1695)
1 parent 9e1c4d8 commit 378b7c5

1 file changed

Lines changed: 10 additions & 1 deletion

File tree

.github/workflows/build.yml

Lines changed: 10 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -87,17 +87,26 @@ jobs:
8787
python -m pip install cibuildwheel==2.21.2
8888
8989
# Patch: Fix versioning
90-
- name: Download Patch 1/1
90+
- name: Download Patch 1/2
9191
uses: suisei-cn/actions-download-file@818d6b7dc8fe73f2f924b6241f2b1134ca1377d9 # 1.6.0
9292
id: setupversion
9393
with:
9494
url: "https://github.com/openPMD/openPMD-api/pull/1680.patch"
9595
target: src/.patch/
9696

97+
# Patch: PYBIND11_FINDPYTHON=ON
98+
- name: Download Patch 2/2
99+
uses: suisei-cn/actions-download-file@818d6b7dc8fe73f2f924b6241f2b1134ca1377d9 # 1.6.0
100+
id: setupversion
101+
with:
102+
url: "https://github.com/openPMD/openPMD-api/pull/1684.patch"
103+
target: src/.patch/
104+
97105
- name: Apply Patches
98106
run: |
99107
cd src
100108
git apply --exclude=.github/workflows/windows.yml .patch/1680.patch
109+
git apply .patch/1684.patch
101110
102111
- name: Build wheel
103112
env:

0 commit comments

Comments
 (0)