Skip to content

Commit

Permalink
Add x86_64-linux-android build support
Browse files Browse the repository at this point in the history
  • Loading branch information
malbarbo committed Apr 27, 2017
1 parent 506b91d commit bb2b57c
Show file tree
Hide file tree
Showing 2 changed files with 15 additions and 1 deletion.
9 changes: 8 additions & 1 deletion ci/docker/android/Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -27,9 +27,16 @@ RUN apt-get install -y --no-install-recommends \
--install-dir /android-ndk/x86 \
--arch x86 \
--api 21 && \
./android-ndk-r13b/build/tools/make_standalone_toolchain.py \
--install-dir /android-ndk/x86_64 \
--arch x86_64 \
--api 21 && \
rm -rf ./android-ndk-r13b-linux-x86_64.zip ./android-ndk-r13b && \
apt-get purge --auto-remove -y unzip python

ENV PATH=$PATH:/android-ndk/arm/bin:/android-ndk/arm64/bin:/android-ndk/x86/bin
ENV PATH=$PATH:/android-ndk/arm/bin
ENV PATH=$PATH:/android-ndk/arm64/bin
ENV PATH=$PATH:/android-ndk/x86/bin
ENV PATH=$PATH:/android-ndk/x86_64/bin

WORKDIR /buildslave
7 changes: 7 additions & 0 deletions ci/run-docker.sh
Original file line number Diff line number Diff line change
Expand Up @@ -67,6 +67,13 @@ case $TARGET in
OPENSSL_OS=android-x86
OPENSSL_CC=i686-linux-android-gcc
OPENSSL_AR=i686-linux-android-ar
OPENSSL_CFLAGS=no-asm
;;
x86_64-linux-android)
OPENSSL_OS=linux-x86_64
OPENSSL_CC=x86_64-linux-android-gcc
OPENSSL_AR=x86_64-linux-android-ar
OPENSSL_CFLAGS="no-asm -mandroid -fomit-frame-pointer"
;;
arm-*-linux-gnueabi)
OPENSSL_OS=linux-armv4
Expand Down

0 comments on commit bb2b57c

Please sign in to comment.