mirror of
https://github.com/bensuperpc/dockcross.git
synced 2024-12-22 08:24:25 +01:00
Add ANDROID_NDK_HOME env variable and enable openssl
Add ANDROID_NDK_HOME env variable and enable openssl Signed-off-by: Bensuperpc <bensuperpc@gmail.com>
This commit is contained in:
parent
6385842e94
commit
8bc72c75d3
8
.github/workflows/main.yml
vendored
8
.github/workflows/main.yml
vendored
@ -54,7 +54,7 @@ jobs:
|
||||
stockfish_arg: "ARCH=armv7 COMP=ndk",
|
||||
ninja: "no",
|
||||
ninja_arg: "",
|
||||
openssl: "no",
|
||||
openssl: "yes",
|
||||
openssl_arg: "android-arm",
|
||||
}
|
||||
- {
|
||||
@ -63,7 +63,7 @@ jobs:
|
||||
stockfish_arg: "ARCH=armv8 COMP=ndk",
|
||||
ninja: "no",
|
||||
ninja_arg: "",
|
||||
openssl: "no",
|
||||
openssl: "yes",
|
||||
openssl_arg: "android-arm64",
|
||||
}
|
||||
- {
|
||||
@ -72,7 +72,7 @@ jobs:
|
||||
stockfish_arg: "ARCH=x86-32 COMP=ndk",
|
||||
ninja: "no",
|
||||
ninja_arg: "",
|
||||
openssl: "no",
|
||||
openssl: "yes",
|
||||
openssl_arg: "android-x86",
|
||||
}
|
||||
- {
|
||||
@ -81,7 +81,7 @@ jobs:
|
||||
stockfish_arg: "ARCH=x86-64 COMP=ndk",
|
||||
ninja: "no",
|
||||
ninja_arg: "",
|
||||
openssl: "no",
|
||||
openssl: "yes",
|
||||
openssl_arg: "android-x86_64",
|
||||
}
|
||||
# Linux arm64/armv8 images
|
||||
|
@ -9,6 +9,7 @@ RUN apt-get update && apt-get install -y \
|
||||
|
||||
ENV CROSS_TRIPLE=arm-linux-androideabi
|
||||
ENV CROSS_ROOT=/usr/${CROSS_TRIPLE}
|
||||
ENV ANDROID_NDK_HOME=${CROSS_ROOT}
|
||||
ENV AS=${CROSS_ROOT}/bin/llvm-as \
|
||||
AR=${CROSS_ROOT}/bin/llvm-ar \
|
||||
CC=${CROSS_ROOT}/bin/clang \
|
||||
|
@ -13,6 +13,7 @@ RUN apt-get update && apt-get install -y \
|
||||
|
||||
ENV CROSS_TRIPLE=aarch64-linux-android
|
||||
ENV CROSS_ROOT=/usr/${CROSS_TRIPLE}
|
||||
ENV ANDROID_NDK_HOME=${CROSS_ROOT}
|
||||
ENV AS=${CROSS_ROOT}/bin/llvm-as \
|
||||
AR=${CROSS_ROOT}/bin/llvm-ar \
|
||||
CC=${CROSS_ROOT}/bin/clang \
|
||||
|
@ -4,6 +4,7 @@ RUN apt-get update && apt-get install -y unzip
|
||||
|
||||
ENV CROSS_TRIPLE=i686-linux-android
|
||||
ENV CROSS_ROOT=/usr/${CROSS_TRIPLE}
|
||||
ENV ANDROID_NDK_HOME=${CROSS_ROOT}
|
||||
ENV AS=${CROSS_ROOT}/bin/llvm-as \
|
||||
AR=${CROSS_ROOT}/bin/llvm-ar \
|
||||
CC=${CROSS_ROOT}/bin/clang \
|
||||
|
@ -4,6 +4,7 @@ RUN apt-get update && apt-get install -y unzip
|
||||
|
||||
ENV CROSS_TRIPLE=x86_64-linux-android
|
||||
ENV CROSS_ROOT=/usr/${CROSS_TRIPLE}
|
||||
ENV ANDROID_NDK_HOME=${CROSS_ROOT}
|
||||
ENV AS=${CROSS_ROOT}/bin/llvm-as \
|
||||
AR=${CROSS_ROOT}/bin/llvm-ar \
|
||||
CC=${CROSS_ROOT}/bin/clang \
|
||||
|
Loading…
Reference in New Issue
Block a user