File size: 1,011 Bytes
2c3c408
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
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
#!/bin/sh

# Usage:
# 1) update version information
# 2) run from root directory of TileDB-Py checkout
# 3) test and upload wheels to PyPI

set -xeu

export LIBTILEDB_VERSION=2.5.3
export TILEDBPY_VERSION=0.11.5

export CIBW_MANYLINUX_AARCH64_IMAGE=wheel-host-aarch64.manylinux2014-$LIBTILEDB_VERSION
export CIBW_SKIP='cp36-* cp310-* pp-* *_i686 pp* *-musllinux*'
export CIBW_PLATFORM='linux'
export CIBW_ENVIRONMENT='TILEDB_PATH=/usr/local/'
export CIBW_BUILD_VERBOSITY=1
export CIBW_BEFORE_TEST="pip install -r misc/requirements_wheel.txt"
export CIBW_TEST_COMMAND="python -c 'import tiledb'"
export TILEDB_WHEEL_BUILD=1

docker build --build-arg=LIBTILEDB_VERSION=$LIBTILEDB_VERSION --build-arg TILEDBPY_VERSION=$TILEDBPY_VERSION -t $CIBW_MANYLINUX_AARCH64_IMAGE -f misc/pypi_linux/Dockerfile.aarch64.manylinux2014 .

rm -rf /tmp/cibuildwheel_venv
python3 -m venv /tmp/cibuildwheel_venv
. /tmp/cibuildwheel_venv/bin/activate

pip install cibuildwheel

cibuildwheel --platform=linux --output-dir=wheelhouse .