Skip to content

Commit

Permalink
Add audiwheel in configuration.
Browse files Browse the repository at this point in the history
  • Loading branch information
MilanSkocic committed Dec 26, 2024
1 parent 1994854 commit 2c4763b
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions configure.sh
Original file line number Diff line number Diff line change
Expand Up @@ -5,6 +5,7 @@ export VERSION=$(tr -d '\r' < VERSION | tr -d '\n')
export LIBNAME="lib$NAME"
export PYNAME="py$NAME"
export PY_SRC="./src/$PYNAME"
export AW="auditwheel repair --plat manylinux_2_35_x86_64 ./dist/*.whl"

echo -n $VERSION > ./py/VERSION

Expand Down Expand Up @@ -51,6 +52,7 @@ if [[ "$OSTYPE" == "msys" ]]; then
PY="py -"
PYGEN="py"
FPM_LDFLAGS="-static"
AW=""
fi

if [[ "$OSTYPE" == "darwin"* ]];then
Expand All @@ -59,6 +61,7 @@ if [[ "$OSTYPE" == "darwin"* ]];then
EXT=".dylib"
LIBS=( "${LIBSDARWIN[@]}" )
FPM_LDFLAGS="-static-libgfortran -static-libquadmath -static-libgcc"
AW=""
fi

if [[ "$VERSION" == *"dev"* ]]; then
Expand All @@ -85,6 +88,7 @@ echo "PYNAME=" $PYNAME
echo "FC=" $FC
echo "CC=" $CC
echo "PY=" $PY
echo "AW=" $AW

echo "LIBS=" ${LIBS[@]}
echo "ROOT=" $ROOT
Expand Down

0 comments on commit 2c4763b

Please sign in to comment.