Skip to content

Commit f723268

Browse files
committed
Remove android build for aarch64, arm and i686
1 parent 1f7ebd1 commit f723268

File tree

4 files changed

+5
-34
lines changed

4 files changed

+5
-34
lines changed

.travis.yml

+1-11
Original file line numberDiff line numberDiff line change
@@ -42,19 +42,9 @@ matrix:
4242
CFG_DISABLE_CROSS_TESTS=1
4343
MAKE_TARGETS=test-unit-$TARGET
4444

45-
# android targets
46-
- env: TARGET=i686-linux-android
47-
IMAGE=android
48-
- env: TARGET=arm-linux-androideabi
49-
IMAGE=android
45+
# cross compiled targets
5046
- env: TARGET=armv7-linux-androideabi
5147
IMAGE=android
52-
# Use nightly because of https://github.com/rust-lang/rust/issues/40903
53-
- env: TARGET=i686-linux-android
54-
IMAGE=android
55-
rust: nightly
56-
57-
# cross compiled targets
5848
- env: TARGET=arm-unknown-linux-gnueabi
5949
IMAGE=cross
6050
- env: TARGET=arm-unknown-linux-gnueabihf

Makefile.in

+1-1
Original file line numberDiff line numberDiff line change
@@ -195,7 +195,7 @@ $(DOC_DIR)/%: $(S)src/doc/%
195195
@mkdir -p $(@D)
196196
cp $< $@
197197

198-
OPENSSL_OS_aarch64-linux-android := linux-generic64
198+
OPENSSL_OS_aarch64-linux-android := linux-aarch64
199199
OPENSSL_OS_aarch64-unknown-linux-gnu := linux-aarch64
200200
OPENSSL_OS_arm-linux-androideabi := android
201201
OPENSSL_OS_arm-unknown-linux-gnueabi := linux-armv4

src/ci/docker/android/Dockerfile

+1-10
Original file line numberDiff line numberDiff line change
@@ -19,18 +19,9 @@ RUN apt-get install -y --no-install-recommends \
1919
unzip -q android-ndk-r13b-linux-x86_64.zip && \
2020
./android-ndk-r13b/build/tools/make_standalone_toolchain.py \
2121
--install-dir /android-ndk/arm --arch arm --api 21 && \
22-
./android-ndk-r13b/build/tools/make_standalone_toolchain.py \
23-
--install-dir /android-ndk/arm64 --arch arm64 --api 21 && \
24-
./android-ndk-r13b/build/tools/make_standalone_toolchain.py \
25-
--install-dir /android-ndk/x86 --arch x86 --api 21 && \
2622
rm -rf ./android-ndk-r13b-linux-x86_64.zip ./android-ndk-r13b && \
2723
apt-get purge --auto-remove -y unzip python
2824

2925
ENV PATH=$PATH:/android-ndk/arm/bin
30-
ENV PATH=$PATH:/android-ndk/arm64/bin
31-
ENV PATH=$PATH:/android-ndk/x86/bin
3226

33-
ENV CARGO_TARGET_AARCH64_LINUX_ANDROID_LINKER=aarch64-linux-android-gcc \
34-
CARGO_TARGET_ARM_LINUX_ANDROIDEABI_LINKER=arm-linux-androideabi-gcc \
35-
CARGO_TARGET_ARMV7_LINUX_ANDROIDEABI_LINKER=arm-linux-androideabi-gcc \
36-
CARGO_TARGET_I686_LINUX_ANDROID_LINKER=i686-linux-android-gcc
27+
ENV CARGO_TARGET_ARMV7_LINUX_ANDROIDEABI_LINKER=arm-linux-androideabi-gcc

src/ci/run.sh

+2-12
Original file line numberDiff line numberDiff line change
@@ -49,19 +49,9 @@ fi
4949

5050
# For some unknown reason libz is not found in the android docker image, so we
5151
# use this workaround
52-
case $TARGET in
53-
arm-linux-androideabi | armv7-linux-androideabi )
52+
if [ "$TARGET" = armv7-linux-androideabi ]; then
5453
export DEP_Z_ROOT=/android-ndk/arm/sysroot/usr
55-
;;
56-
57-
aarch64-linux-android )
58-
export DEP_Z_ROOT=/android-ndk/arm64/sysroot/usr/
59-
;;
60-
61-
i686-linux-android )
62-
export DEP_Z_ROOT=/android-ndk/x86/sysroot/usr/
63-
;;
64-
esac
54+
fi
6555

6656
$SRC/configure \
6757
--prefix=/tmp/obj/install \

0 commit comments

Comments
 (0)