diff --git a/recipes/recipes/cross-python_emscripten-wasm32/recipe.yaml b/recipes/recipes/cross-python_emscripten-wasm32/recipe.yaml index 3320f7ea1..59bee3fca 100644 --- a/recipes/recipes/cross-python_emscripten-wasm32/recipe.yaml +++ b/recipes/recipes/cross-python_emscripten-wasm32/recipe.yaml @@ -7,7 +7,7 @@ package: version: ${{ version }} build: - number: 10 + number: 11 requirements: @@ -17,7 +17,7 @@ requirements: - emscripten_emscripten-wasm32 - rsync - sed - - python 3.11 + - python ==3.11 - setuptools #<60.0 - pip diff --git a/recipes/recipes/emscripten_emscripten-wasm32/activate.sh b/recipes/recipes/emscripten_emscripten-wasm32/activate.sh index ad0a7ed9f..a371ee6b5 100644 --- a/recipes/recipes/emscripten_emscripten-wasm32/activate.sh +++ b/recipes/recipes/emscripten_emscripten-wasm32/activate.sh @@ -2,8 +2,13 @@ if [ -z ${CONDA_FORGE_EMSCRIPTEN_ACTIVATED+x} ]; then export CONDA_FORGE_EMSCRIPTEN_ACTIVATED=1 - export EMSDK_PYTHON=${BUILD_PREFIX}/bin/python3 - export PYTHON=${BUILD_PREFIX}/bin/python3 + if [ -z ${BUILD_PREFIX+x} ]; then + export EMSDK_PYTHON=${CONDA_PREFIX}/bin/python3 + export PYTHON=${CONDA_PREFIX}/bin/python3 + else + export EMSDK_PYTHON=${BUILD_PREFIX}/bin/python3 + export PYTHON=${BUILD_PREFIX}/bin/python3 + fi CONDA_EMSDK_DIR=$CONDA_PREFIX/opt/emsdk diff --git a/recipes/recipes/emscripten_emscripten-wasm32/deactivate.sh b/recipes/recipes/emscripten_emscripten-wasm32/deactivate.sh index ab9bf172f..2736ab1bd 100644 --- a/recipes/recipes/emscripten_emscripten-wasm32/deactivate.sh +++ b/recipes/recipes/emscripten_emscripten-wasm32/deactivate.sh @@ -3,10 +3,19 @@ unset cmake unset CONDA_FORGE_EMSCRIPTEN_ACTIVATED +unset EMSDK_PYTHON +unset PYTHON +unset CONDA_EMSDK_DIR +unset CC +unset CXX +unset AR +unset RANLIB +unset CMAKE_ARGS unset PY_SIDE_LD_FLAGV unset EM_FORGE_OPTFLAGS unset EM_FORGE_DBGFLAGS unset EM_FORGE_LDFLAGS_BASE unset EM_FORGE_CFLAGS_BASE unset EM_FORGE_SIDE_MODULE_LDFLAGS -unset EM_FORGE_SIDE_MODULE_CFLAGS \ No newline at end of file +unset EM_FORGE_SIDE_MODULE_CFLAGS +unset LDFLAGS diff --git a/recipes/recipes/emscripten_emscripten-wasm32/recipe.yaml b/recipes/recipes/emscripten_emscripten-wasm32/recipe.yaml index 228bd6e14..2cf9969da 100644 --- a/recipes/recipes/emscripten_emscripten-wasm32/recipe.yaml +++ b/recipes/recipes/emscripten_emscripten-wasm32/recipe.yaml @@ -3,7 +3,7 @@ context: version: 3.1.45 build: - number: 31 + number: 32 outputs: - package: