diff --git a/recipes/recipes_emscripten/qutip/build.sh b/recipes/recipes_emscripten/qutip/build.sh new file mode 100644 index 00000000000..9091dc0ab31 --- /dev/null +++ b/recipes/recipes_emscripten/qutip/build.sh @@ -0,0 +1,9 @@ +#!/bin/bash + +export CFLAGS="$CFLAGS -sWASM_BIGINT -s SIDE_MODULE=1 -fexceptions -fPIC" +export CXXFLAGS="$CXXFLAGS -sWASM_BIGINT -s SIDE_MODULE=1 -fexceptions -fPIC" +export LDFLAGS="$LDFLAGS -sWASM_BIGINT -s SIDE_MODULE=1 -fexceptions -fPIC" + + + +${PYTHON} -m pip install . -vvv --no-deps --no-build-isolation diff --git a/recipes/recipes_emscripten/qutip/recipe.yaml b/recipes/recipes_emscripten/qutip/recipe.yaml index 23caf4962e3..e9f575c4b41 100644 --- a/recipes/recipes_emscripten/qutip/recipe.yaml +++ b/recipes/recipes_emscripten/qutip/recipe.yaml @@ -1,5 +1,5 @@ context: - version: 5.0.4 + version: 5.1.1 package: name: qutip @@ -7,11 +7,10 @@ package: source: url: https://github.com/qutip/qutip/archive/v${{ version }}.tar.gz - sha256: 9e2f55d151ebaecabcf4c5933908d2d13616b9309fda085fabca40f84768c61f + sha256: 88e72dd62e97848a500a32cf1c2fce43bba407267027f48858a5ceab0ad951fe build: number: 0 - script: $PYTHON -m pip install . --no-deps -vv requirements: build: