x86 32 bit added

This commit is contained in:
Nicolas Kruse 2025-10-08 23:15:14 +02:00
parent 5fea2af762
commit 1cf1d2e43e
2 changed files with 11 additions and 2 deletions

View File

@ -19,7 +19,8 @@ jobs:
gcc-12-aarch64-linux-gnu \ gcc-12-aarch64-linux-gnu \
gcc-12-arm-linux-gnueabihf \ gcc-12-arm-linux-gnueabihf \
gcc-12-mips-linux-gnu \ gcc-12-mips-linux-gnu \
gcc-12-riscv64-linux-gnu gcc-12-riscv64-linux-gnu \
gcc-12-multilib
- name: Build object files - name: Build object files
run: bash tools/crosscompile.sh run: bash tools/crosscompile.sh
@ -67,7 +68,7 @@ jobs:
# Multi-arch builds # Multi-arch builds
CIBW_ARCHS_LINUX: "x86_64 aarch64" CIBW_ARCHS_LINUX: "x86_64 aarch64"
CIBW_ARCHS_MACOS: "universal2" # x86_64 arm64 CIBW_ARCHS_MACOS: "universal2" # x86_64 arm64
CIBW_ARCHS_WINDOWS: "AMD64" # x86 CIBW_ARCHS_WINDOWS: "amd64 x86"
CIBW_TEST_REQUIRES: "pytest" CIBW_TEST_REQUIRES: "pytest"
CIBW_TEST_COMMAND: "pytest {package}/tests/test_coparun_module.py" CIBW_TEST_COMMAND: "pytest {package}/tests/test_coparun_module.py"

View File

@ -28,6 +28,14 @@ gcc-12 -$OPT -c $SRC -o $DEST/stencils_AMD64_$OPT.o
python tools/generate_stencils.py $SRC python tools/generate_stencils.py $SRC
gcc-12 -$OPT -c $SRC -o $DEST/stencils_x86_64_$OPT.o gcc-12 -$OPT -c $SRC -o $DEST/stencils_x86_64_$OPT.o
# Windows x86
python tools/generate_stencils.py --abi ms $SRC
gcc-12 -m32 -$OPT -c $SRC -o $DEST/stencils_x86_$OPT.o
# Native i686
python tools/generate_stencils.py $SRC
gcc-12 -m32 -$OPT -c $SRC -o $DEST/stencils_i686_$OPT.o
# ARM64 linux (aarch64) # ARM64 linux (aarch64)
aarch64-linux-gnu-gcc-12 -$OPT -c $SRC -o $DEST/stencils_aarch64_$OPT.o aarch64-linux-gnu-gcc-12 -$OPT -c $SRC -o $DEST/stencils_aarch64_$OPT.o