Skip to content

Commit 4508e1d

Browse files
jcfrodidev
andcommitted
Add support for building aarch64 wheel
See #96 Co-authored-by: odidev <[email protected]>
1 parent e53e79c commit 4508e1d

File tree

2 files changed

+19
-0
lines changed

2 files changed

+19
-0
lines changed

.circleci/config.yml

+16
Original file line numberDiff line numberDiff line change
@@ -36,6 +36,11 @@ references:
3636
- image: dockcross/manylinux1-x86
3737
<<: *ci_steps
3838

39+
aarch64_build_job: &aarch64_build_job
40+
docker:
41+
- image: dockcross/manylinux2014-aarch64
42+
<<: *ci_steps
43+
3944
no_filters: &no_filters
4045
filters:
4146
tags:
@@ -55,6 +60,10 @@ jobs:
5560
manylinux-x86_cp37-cp37m:
5661
<<: *x86_build_job
5762

63+
# aarch64
64+
manylinux-aarch64_cp37-cp37m:
65+
<<: *aarch64_build_job
66+
5867
deploy-master:
5968
docker:
6069
- image: circleci/python:3.7.0-stretch
@@ -96,6 +105,9 @@ workflows:
96105
<<: *no_filters
97106
- manylinux-x86_cp37-cp37m:
98107
<<: *no_filters
108+
# aarch64
109+
- manylinux-aarch64_cp37-cp37m:
110+
<<: *no_filters
99111

100112
- deploy-master:
101113
requires:
@@ -105,6 +117,8 @@ workflows:
105117
# x86
106118
- manylinux-x86_cp27-cp27mu
107119
- manylinux-x86_cp37-cp37m
120+
# aarch64
121+
- manylinux-aarch64_cp37-cp37m
108122
filters:
109123
branches:
110124
only: master
@@ -116,6 +130,8 @@ workflows:
116130
# x86
117131
- manylinux-x86_cp27-cp27mu
118132
- manylinux-x86_cp37-cp37m
133+
# aarch64
134+
- manylinux-aarch64_cp37-cp37m
119135
filters:
120136
tags:
121137
only: /^[0-9]+(\.[0-9]+)*(\.post[0-9]+)?$/

scikit-ci.yml

+3
Original file line numberDiff line numberDiff line change
@@ -26,6 +26,9 @@ before_install:
2626
# SETUP_CMAKE_ARGS
2727
if arch in ["x86", "x84"]:
2828
os.environ["SETUP_CMAKE_ARGS"] = "-DOPENSSL_ROOT_DIR:PATH=/usr/local/ssl " + os.environ["SETUP_CMAKE_ARGS"]
29+
# SETUP_BDIST_WHEEL_ARGS
30+
if arch == "aarch64":
31+
os.environ["SETUP_BDIST_WHEEL_ARGS"] = "--plat-name %s" % image_name
2932
ci.driver.Driver.save_env(os.environ)
3033
3134
travis:

0 commit comments

Comments
 (0)