Skip to content

Commit 922da5c

Browse files
committed
Add required variables for cibuildwheel on Travis
Co-authored by: nijincheng@iscas.ac.cn;
1 parent e183891 commit 922da5c

File tree

1 file changed

+9
-1
lines changed

1 file changed

+9
-1
lines changed

.travis.yml

Lines changed: 9 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -38,10 +38,18 @@ install:
3838
# Maybe get and clean and patch source
3939
- |
4040
python3 -m pip install cibuildwheel==3.2.1
41+
python3 -m cibuildwheel --help # make sure it is installed correctly
4142
echo done install step
4243
4344
script:
44-
- python3 -m cibuildwheel --output-dir dist
45+
- |
46+
export CIBW_BUILD="cp39-manylinux_${PLAT}"
47+
export CIBW_MANYLINUX_S390X_IMAGE="manylinux${MB_ML_VER}"
48+
export CIBW_MANYLINUX_PPC64LE_IMAGE="manylinux${MB_ML_VER}"
49+
50+
python3 -m cibuildwheel --print-build-identifiers
51+
52+
python3 -m cibuildwheel --output-dir dist
4553
4654
after_success:
4755
- set +ex

0 commit comments

Comments
 (0)