GeezerVison is showing github.com — disable pypy builds, move PKG_CONFIG_PATH for windows · numpy/numpy@2eda803
File treeExpand file treeCollapse file tree Open diff view settings Expand file treeCollapse file tree Open diff view settings Collapse file Copy file name to clipboardExpand all lines: .github/workflows/wheels.yml +2-1Lines changed: 2 additions & 1 deletion | Original file line number | Diff line number | Diff line change |
|---|
| 79 | 79 | - [macos-12, macosx_x86_64] | 80 | 80 | - [windows-2019, win_amd64] | 81 | 81 | - [windows-2019, win32] | 82 | | - python: ["cp39", "cp310", "cp311", "pp39"] | | 82 | + python: ["cp39", "cp310", "cp311"] | | 83 | + # python: ["cp39", "cp310", "cp311", "pp39"] | 83 | 84 | exclude: | 84 | 85 | # Don't build PyPy 32-bit windows | 85 | 86 | - buildplat: [windows-2019, win32] | |
Collapse file Copy file name to clipboardExpand all lines: pyproject.toml +2-2Lines changed: 2 additions & 2 deletions | Original file line number | Diff line number | Diff line change |
|---|
@@ -161,11 +161,11 @@ test-skip = "*_universal2:arm64" | 161 | 161 | environment = { CFLAGS="-std=c99 -fno-strict-aliasing -DBLAS_SYMBOL_SUFFIX=64_ -DHAVE_BLAS_ILP64", CXXFLAGS="-DBLAS_SYMBOL_SUFFIX=64_ -DHAVE_BLAS_ILP64", OPENBLAS64_="/usr/local", NPY_USE_BLAS_ILP64="1", CC="clang", CXX = "clang++", RUNNER_OS="macOS"} | 162 | 162 |
| 163 | 163 | [tool.cibuildwheel.windows] | 164 | | -environment = { OPENBLAS64_="openblas", OPENBLAS="", NPY_USE_BLAS_ILP64="1", CFLAGS="-DBLAS_SYMBOL_SUFFIX=64_ -DHAVE_BLAS_ILP64", CXXFLAGS="-DBLAS_SYMBOL_SUFFIX=64_ -DHAVE_BLAS_ILP64", LDFLAGS=""} | | 164 | +environment = { OPENBLAS64_="openblas", OPENBLAS="", NPY_USE_BLAS_ILP64="1", CFLAGS="-DBLAS_SYMBOL_SUFFIX=64_ -DHAVE_BLAS_ILP64", CXXFLAGS="-DBLAS_SYMBOL_SUFFIX=64_ -DHAVE_BLAS_ILP64", LDFLAGS="", PKG_CONFIG_PATH="D:\\a\\numpy\\numpy\\openblas\\lib\\pkgconfig;"} | 165 | 165 |
| 166 | 166 | [[tool.cibuildwheel.overrides]] | 167 | 167 | select = "*-win32" | 168 | | -environment = { OPENBLAS64_="", OPENBLAS="openblas", NPY_USE_BLAS_ILP64="0", CFLAGS="-m32", LDFLAGS="-m32" } | | 168 | +environment = { OPENBLAS64_="", OPENBLAS="openblas", NPY_USE_BLAS_ILP64="0", CFLAGS="-m32", LDFLAGS="-m32", PKG_CONFIG_PATH="D:\\a\\numpy\\numpy\\openblas\\lib\\pkgconfig;"} | 169 | 169 |
| 170 | 170 | [tool.meson-python.args] | 171 | 171 | setup = ['--vsenv'] | |
Collapse file Copy file name to clipboardExpand all lines: tools/wheels/cibw_before_build.sh +1-2Lines changed: 1 addition & 2 deletions | Original file line number | Diff line number | Diff line change |
|---|
@@ -28,17 +28,16 @@ if [[ $RUNNER_OS == "Linux" || $RUNNER_OS == "macOS" ]] ; then | 28 | 28 | cp -r $basedir/lib/* /usr/local/lib | 29 | 29 | cp $basedir/include/* /usr/local/include | 30 | 30 | fi | | 31 | + python -c "import pdb;pdb.set_trace()" | 31 | 32 | elif [[ $RUNNER_OS == "Windows" ]]; then | 32 | 33 | PYTHONPATH=tools python -c "import openblas_support; openblas_support.make_init('numpy')" | 33 | 34 | target=$(python tools/openblas_support.py) | 34 | | - ls /tmp | 35 | 35 | mkdir -p openblas | 36 | 36 | # bash on windows does not like cp -r $target/* openblas | 37 | 37 | for f in $(ls $target); do | 38 | 38 | cp -r $target/$f openblas | 39 | 39 | done | 40 | 40 | ls openblas | 41 | | - echo "PKG_CONFIG_PATH=$PWD/openblas/lib/pkgconfig;" >> $env:GITHUB_ENV | 42 | 41 | fi | 43 | 42 |
| 44 | 43 | if [[ $RUNNER_OS == "macOS" ]]; then | |
|