forked from dusty-nv/jetson-containers
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathciso8601-patch.diff
52 lines (50 loc) · 1.31 KB
/
ciso8601-patch.diff
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
diff --git a/.github/workflows/build-wheels.yml b/.github/workflows/build-wheels.yml
index e38826d..eb3b8b4 100644
--- a/.github/workflows/build-wheels.yml
+++ b/.github/workflows/build-wheels.yml
@@ -87,11 +87,13 @@ jobs:
steps:
- uses: actions/checkout@v3
- - name: Build wheels
- uses: closeio/[email protected]
- env:
- CIBW_SKIP: "pp*-macosx* *-win32 *-manylinux_i686"
- CIBW_ARCHS_MACOS: x86_64 arm64 universal2
+ - name: Set up QEMU # Needed to build aarch64 wheels
+ if: runner.os == 'Linux'
+ uses: docker/setup-qemu-action@v2
+ with:
+ platforms: all
+
+ - uses: closeio/[email protected]
- uses: actions/upload-artifact@v3
with:
diff --git a/pyproject.toml b/pyproject.toml
index 1178fe6..bb09f33 100644
--- a/pyproject.toml
+++ b/pyproject.toml
@@ -8,3 +8,24 @@ ignore = ["E501"]
in-place = true
recursive = true
aggressive = 3
+
+[tool.cibuildwheel]
+build = [
+ "cp38-*",
+ "cp39-*",
+ "cp310-*",
+ "cp311-*",
+ "cp312-*",
+ "pp38-*",
+ "pp39-*",
+]
+
+[tool.cibuildwheel.linux]
+archs = ["x86_64", "aarch64"]
+
+[tool.cibuildwheel.macos]
+archs = ["x86_64", "universal2", "arm64"]
+environment = { MACOSX_DEPLOYMENT_TARGET="10.15" }
+
+[tool.cibuildwheel.windows]
+archs = ["AMD64"]