Skip to content

Commit eaaf552

Browse files
committed
BLD: wasm
1 parent 53993f9 commit eaaf552

File tree

2 files changed

+3
-3
lines changed

2 files changed

+3
-3
lines changed

.github/workflows/wheels.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -154,7 +154,7 @@ jobs:
154154
if [[ $CIBW_BUILD == *pyodide_wasm32 ]]; then
155155
# specifying CIBW_PLATFORM is required to get the wasm build to work
156156
export CIBW_PLATFORM="pyodide"
157-
echo $PWD
157+
export SRC=$GITHUB_WORKSPACE/numpy-src
158158
fi
159159
python -m pip install cibuildwheel==3.1.1
160160
python -m cibuildwheel numpy-src --config-file cibuildwheel.toml --output-dir ./dist

cibuildwheel.toml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -36,11 +36,11 @@ config-settings = {setup-args = ["--vsenv", "-Dallow-noblas=true"], build-dir="b
3636
repair-wheel-command = ""
3737

3838
[tool.cibuildwheel.pyodide]
39-
before-test = "pip install -r $GITHUB_WORKSPACE/numpy-src/requirements/emscripten_test_requirements.txt"
39+
before-test = "pip install -r $SRC/requirements/emscripten_test_requirements.txt"
4040
# Pyodide ensures that the wheels are already repaired by auditwheel-emscripten
4141
repair-wheel-command = ""
4242
test-command = "python -m pytest --pyargs numpy -m 'not slow'"
4343

4444
[tool.cibuildwheel.pyodide.config-settings]
4545
build-dir = "build"
46-
setup-args = ["--cross-file={project}/numpy-src/tools/ci/emscripten/emscripten.meson.cross", "-Dblas=none", "-Dlapack=none"]
46+
setup-args = ["--cross-file=$SRC/tools/ci/emscripten/emscripten.meson.cross", "-Dblas=none", "-Dlapack=none"]

0 commit comments

Comments
 (0)