mirror of
https://github.com/aaru-dps/Aaru.Compression.Native.git
synced 2025-12-16 19:24:31 +00:00
Change arm32 compiler.
This commit is contained in:
4
build.sh
4
build.sh
@@ -68,11 +68,11 @@ mv libAaru.Compression.Native.so runtimes/android-x86/native/
|
||||
# Detected system processor: arm
|
||||
rm -f CMakeCache.txt
|
||||
mkdir -p runtimes/linux-arm/native
|
||||
docker run --rm dockcross/linux-armv7-lts >docker/dockcross-linux-arm
|
||||
docker run --rm dockcross/linux-armv7a >docker/dockcross-linux-arm
|
||||
chmod +x docker/dockcross-linux-arm
|
||||
docker/dockcross-linux-arm cmake -DCMAKE_BUILD_TYPE=Release -DAARU_BUILD_PACKAGE=1 .
|
||||
docker/dockcross-linux-arm make Aaru.Compression.Native
|
||||
docker/dockcross-linux-arm armv7-unknown-linux-gnueabi-strip -s -w -K "AARU*" libAaru.Compression.Native.so
|
||||
docker/dockcross-linux-arm arm-cortexa8_neon-linux-gnueabihf-strip -s -w -K "AARU*" libAaru.Compression.Native.so
|
||||
mv libAaru.Compression.Native.so runtimes/linux-arm/native/
|
||||
|
||||
## Linux (ARM64)
|
||||
|
||||
@@ -1,6 +1,6 @@
|
||||
#!/usr/bin/env bash
|
||||
|
||||
DEFAULT_DOCKCROSS_IMAGE=dockcross/linux-armv7-lts:latest
|
||||
DEFAULT_DOCKCROSS_IMAGE=dockcross/linux-armv7a:latest
|
||||
|
||||
#------------------------------------------------------------------------------
|
||||
# Helpers
|
||||
@@ -268,10 +268,10 @@ exit $run_exit_code
|
||||
# This image is not intended to be run manually.
|
||||
#
|
||||
# To create a dockcross helper script for the
|
||||
# dockcross/linux-armv7-lts:latest image, run:
|
||||
# dockcross/linux-armv7a:latest image, run:
|
||||
#
|
||||
# docker run --rm dockcross/linux-armv7-lts:latest > dockcross-linux-armv7-lts-latest
|
||||
# chmod +x dockcross-linux-armv7-lts-latest
|
||||
# docker run --rm dockcross/linux-armv7a:latest > dockcross-linux-armv7a-latest
|
||||
# chmod +x dockcross-linux-armv7a-latest
|
||||
#
|
||||
# You may then wish to move the dockcross script to your PATH.
|
||||
#
|
||||
|
||||
Reference in New Issue
Block a user