mirror of https://github.com/Nonannet/copapy.git
ARM64 macos added to crosscompile script
This commit is contained in:
parent
58c4a3eb8c
commit
5fea2af762
|
|
@ -28,9 +28,12 @@ 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
|
||||||
|
|
||||||
# ARM64
|
# 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
|
||||||
|
|
||||||
|
# ARM64 macos (copy aarch64)
|
||||||
|
cp $DEST/stencils_aarch64_$OPT.o $DEST/stencils_arm64_$OPT.o
|
||||||
|
|
||||||
# ARMv7
|
# ARMv7
|
||||||
arm-linux-gnueabihf-gcc-12 -$OPT -c $SRC -o $DEST/stencils_armv7_$OPT.o
|
arm-linux-gnueabihf-gcc-12 -$OPT -c $SRC -o $DEST/stencils_armv7_$OPT.o
|
||||||
|
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue