-
-
Notifications
You must be signed in to change notification settings - Fork 37
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
roll back to building with distutils
with PROPACK enabled however
- Loading branch information
1 parent
787f5ca
commit bdaff73
Showing
11 changed files
with
20 additions
and
1,988 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,24 +1,8 @@ | ||
#!/bin/bash | ||
set -ex | ||
|
||
mkdir builddir | ||
# Use the G77 ABI wrapper everywhere so that the underlying blas implementation | ||
# can have a G77 ABI (currently only MKL) | ||
export SCIPY_USE_G77_ABI_WRAPPER=1 | ||
|
||
# HACK: extend $CONDA_PREFIX/meson_cross_file that's created in | ||
# https://github.com/conda-forge/ctng-compiler-activation-feedstock/blob/main/recipe/activate-gcc.sh | ||
# https://github.com/conda-forge/clang-compiler-activation-feedstock/blob/main/recipe/activate-clang.sh | ||
# to use host python; requires that [binaries] section is last in meson_cross_file | ||
echo "python = '${PREFIX}/bin/python'" >> ${CONDA_PREFIX}/meson_cross_file.txt | ||
|
||
# meson-python already sets up a -Dbuildtype=release argument to meson, so | ||
# we need to strip --buildtype out of MESON_ARGS or fail due to redundancy | ||
MESON_ARGS_REDUCED="$(echo $MESON_ARGS | sed 's/--buildtype release //g')" | ||
|
||
# -wnx flags mean: --wheel --no-isolation --skip-dependency-check | ||
$PYTHON -m build -w -n -x \ | ||
-Cbuilddir=builddir \ | ||
-Csetup-args=-Dblas=blas \ | ||
-Csetup-args=-Dlapack=lapack \ | ||
-Csetup-args=-Duse-g77-abi=true \ | ||
-Csetup-args=${MESON_ARGS_REDUCED// / -Csetup-args=} \ | ||
|| (cat builddir/meson-logs/meson-log.txt && exit 1) | ||
pip install dist/scipy*.whl | ||
$PYTHON setup.py install --single-version-externally-managed --record=record.txt |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.