Skip to content

Commit

Permalink
add workaround from pypa/wheel#606
Browse files Browse the repository at this point in the history
  • Loading branch information
pmp-p committed Mar 26, 2024
1 parent c8755c8 commit a629f8c
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions packages.d/hpy/hpy.sh
Expand Up @@ -61,7 +61,7 @@ pushd external/hpy
${HPY} setup.py install

# ${SDKROOT}/python3-wasm setup.py install
${SDKROOT}/python3-wasm setup.py build
PYTHONOPTIMIZE=TRUE ${SDKROOT}/python3-wasm -O setup.py build

# link static
. ${SDKROOT}/emsdk/emsdk_env.sh
Expand Down Expand Up @@ -107,7 +107,7 @@ ${SDKROOT}/python3-wasm setup.py build
if [ -d $WHEELS ]
then
# build wheel for wasm
${SDKROOT}/python3-wasm -m build --no-isolation .
PYTHONOPTIMIZE=TRUE ${SDKROOT}/python3-wasm -m build --no-isolation .

mv dist/*wasm*whl $WHEELS/cp${PYMAJOR}${PYMINOR}/
fi
Expand Down

0 comments on commit a629f8c

Please sign in to comment.