"docker_build_wrap.sh" did not exist on "6de1a191a056868090a24a1138ae6e25646a8090"
docker_build_wrap.sh 960 Bytes
Newer Older
1
2
#!/bin/bash
# Depends on:
3
#   BUILD_COMMANDS
4
#   PYTHON_VERSION
5
#   BUILD_COMMIT (may be used by config.sh)
6
#   UNICODE_WIDTH  (can be empty)
7
#   BUILD_DEPENDS  (may be used by config.sh, can be empty)
8
9
10
11
12
13
14
15
set -e

# Unicode width, default 32
UNICODE_WIDTH=${UNICODE_WIDTH:-32}

# Location of wheels, default "wheelhouse"
WHEEL_SDIR=${WHEEL_SDIR:-wheelhouse}

16
# Always pull in common and library builder utils
17
MULTIBUILD_DIR=$(dirname "${BASH_SOURCE[0]}")
18
# These routines also source common_utils.sh
19
source $MULTIBUILD_DIR/manylinux_utils.sh
20
source $MULTIBUILD_DIR/library_builders.sh
21

xoviat's avatar
xoviat committed
22
23
24
25
if [ "$USE_CCACHE" == "1" ]; then
    activate_ccache
fi

26
27
28
29
30
31
32
33
34
35
# Set PATH for chosen Python, Unicode width
export PATH="$(cpython_path $PYTHON_VERSION $UNICODE_WIDTH)/bin:$PATH"

# Change into root directory of repo
cd /io

# Configuration for this package, possibly overriding `build_wheel` defined in
# `common_utils.sh` via `manylinux_utils.sh`.
source config.sh

36
$BUILD_COMMANDS