Skip to content

Commit

Permalink
handle abi3 builds
Browse files Browse the repository at this point in the history
  • Loading branch information
pmp-p committed Mar 3, 2024
1 parent 14428a4 commit 8c6de56
Show file tree
Hide file tree
Showing 2 changed files with 22 additions and 2 deletions.
7 changes: 7 additions & 0 deletions scripts/build-pkpy.sh
Original file line number Diff line number Diff line change
@@ -1,4 +1,11 @@
#!/bin/bash

if [ -f vendor/vendor.sh ]
then
echo "vendor build, skipping"
exit 0
fi

reset

PW=$(realpath patchwork/pykpocket)
Expand Down
17 changes: 15 additions & 2 deletions wasm-build-all.sh
Original file line number Diff line number Diff line change
Expand Up @@ -10,13 +10,26 @@ export STATIC=${STATIC:-true}

. scripts/vendoring.sh



chmod +x *sh scripts/*.sh packages.d/*/*sh

for PYBUILD in $BUILDS
do
export PYBUILD

if [ -f vendor/vendor.sh ]
then
echo " vendor build"
if ${ABI3:-false}
then
echo " vendor build (abi3) $PYBUILD"
if echo $PYBUILD|grep -v -q 3.12$
then
echo "abi3 vendor build only, skipping $PYBUILD"
exit 0
fi
fi
fi

if ./scripts/build-pkg.sh
then
echo done
Expand Down

0 comments on commit 8c6de56

Please sign in to comment.