mirror of https://github.com/Nonannet/copapy.git
build wheels updated
This commit is contained in:
parent
fceece3f9f
commit
0217fca7af
|
|
@ -28,7 +28,7 @@ jobs:
|
|||
strategy:
|
||||
fail-fast: false
|
||||
matrix:
|
||||
os: [ubuntu-latest, windows-latest, macos-latest]
|
||||
os: [ubuntu-latest, windows-latest] # macos-latest
|
||||
|
||||
steps:
|
||||
- uses: actions/checkout@v4
|
||||
|
|
@ -58,9 +58,9 @@ jobs:
|
|||
uses: pypa/cibuildwheel@v2.11.4
|
||||
env:
|
||||
# Multi-arch builds
|
||||
CIBW_ARCHS_LINUX: "x86_64 aarch64"
|
||||
CIBW_ARCHS_MACOS: "universal2" # x86_64 arm64
|
||||
CIBW_ARCHS_WINDOWS: "amd64 x86"
|
||||
CIBW_ARCHS_LINUX: ${{ matrix.os == 'ubuntu-latest' && 'x86_64' || '' }} # aarch64
|
||||
CIBW_ARCHS_MACOS: ${{ matrix.os == 'macos-latest' && 'universal2' || '' }}
|
||||
CIBW_ARCHS_WINDOWS: ${{ matrix.os == 'windows-latest' && 'amd64 x86' || '' }}
|
||||
CIBW_TEST_REQUIRES: "pytest"
|
||||
CIBW_TEST_COMMAND: "pytest {package}/tests/test_coparun_module.py"
|
||||
|
||||
|
|
|
|||
|
|
@ -44,7 +44,7 @@ arm-linux-gnueabihf-gcc-13 -$OPT -c $SRC -o $DEST/stencils_armv7_$OPT.o
|
|||
mips-linux-gnu-gcc-13 -$OPT -c $SRC -o $DEST/stencils_mips_$OPT.o
|
||||
|
||||
# Mips (Little Endian)
|
||||
mipsel-linux-gnu-gcc-13 -$OPT -c $SRC -o $DEST/stencils_mips_$OPT.o
|
||||
mipsel-linux-gnu-gcc-13 -$OPT -c $SRC -o $DEST/stencils_mipsel_$OPT.o
|
||||
|
||||
# RISCV 32 Bit
|
||||
riscv64-linux-gnu-gcc-13 -$OPT -march=rv32imac -mabi=ilp32 -c $SRC -o $DEST/stencils_riscv32_$OPT.o
|
||||
|
|
|
|||
Loading…
Reference in New Issue