44# Most of the content in this file comes from https://github.com/multi-build/multibuild, with some modifications
55# Follow the license below
66
7-
8-
97# .. _license:
108
119# *********************
4139# NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS
4240# SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
4341
44-
45-
46- #! /bin/bash
4742set -xe
4843
4944if [[ " $NIGHTLY " = " true" ]]; then
@@ -55,40 +50,6 @@ if [[ "$NIGHTLY" = "true" ]]; then
5550 sed -e " s/^version = .*/version = \" ${version} \" /" -i.bak pyproject.toml
5651fi
5752
58-
59- #! /bin/bash
60- # Utilities for both OSX and Docker Linux
61- # python or python3 should be on the PATH
62-
63- # Only source common_utils once
64- if [ -n " $COMMON_UTILS_SOURCED " ]; then
65- return
66- fi
67- COMMON_UTILS_SOURCED=1
68-
69- # Turn on exit-if-error
70- set -e
71-
72- MULTIBUILD_DIR=$( dirname " ${BASH_SOURCE[0]} " )
73- DOWNLOADS_SDIR=downloads
74- PYPY_URL=https://downloads.python.org/pypy
75-
76- if [ $( uname) == " Darwin" ]; then
77- IS_MACOS=1; IS_OSX=1;
78- else
79- # In the manylinux_2_24 image, based on Debian9, "python" is not installed
80- # so link in something for the various system calls before PYTHON_EXE is set
81- which python || export PATH=/opt/python/cp39-cp39/bin:$PATH
82-
83- if [ " $MB_ML_LIBC " == " musllinux" ]; then
84- IS_ALPINE=1;
85- MB_ML_VER=${MB_ML_VER:- " _1_2" }
86- else
87- # Default Manylinux version
88- MB_ML_VER=${MB_ML_VER:- 2014}
89- fi
90- fi
91-
9253# Work round bug in travis xcode image described at
9354# https://github.com/direnv/direnv/issues/210
9455shell_session_update () { : ; }
@@ -103,4 +64,5 @@ unset -f popd
10364# Build OpenBLAS
10465source build-openblas.sh
10566
67+ # Build wheel
10668source tools/build_prepare.sh
0 commit comments