File tree 4 files changed +5
-34
lines changed
4 files changed +5
-34
lines changed Original file line number Diff line number Diff line change @@ -42,19 +42,9 @@ matrix:
42
42
CFG_DISABLE_CROSS_TESTS=1
43
43
MAKE_TARGETS=test-unit-$TARGET
44
44
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
50
46
- env : TARGET=armv7-linux-androideabi
51
47
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
58
48
- env : TARGET=arm-unknown-linux-gnueabi
59
49
IMAGE=cross
60
50
- env : TARGET=arm-unknown-linux-gnueabihf
Original file line number Diff line number Diff line change @@ -195,7 +195,7 @@ $(DOC_DIR)/%: $(S)src/doc/%
195
195
@mkdir -p $(@D )
196
196
cp $< $@
197
197
198
- OPENSSL_OS_aarch64-linux-android := linux-generic64
198
+ OPENSSL_OS_aarch64-linux-android := linux-aarch64
199
199
OPENSSL_OS_aarch64-unknown-linux-gnu := linux-aarch64
200
200
OPENSSL_OS_arm-linux-androideabi := android
201
201
OPENSSL_OS_arm-unknown-linux-gnueabi := linux-armv4
Original file line number Diff line number Diff line change @@ -19,18 +19,9 @@ RUN apt-get install -y --no-install-recommends \
19
19
unzip -q android-ndk-r13b-linux-x86_64.zip && \
20
20
./android-ndk-r13b/build/tools/make_standalone_toolchain.py \
21
21
--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 && \
26
22
rm -rf ./android-ndk-r13b-linux-x86_64.zip ./android-ndk-r13b && \
27
23
apt-get purge --auto-remove -y unzip python
28
24
29
25
ENV PATH=$PATH:/android-ndk/arm/bin
30
- ENV PATH=$PATH:/android-ndk/arm64/bin
31
- ENV PATH=$PATH:/android-ndk/x86/bin
32
26
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
Original file line number Diff line number Diff line change 49
49
50
50
# For some unknown reason libz is not found in the android docker image, so we
51
51
# use this workaround
52
- case $TARGET in
53
- arm-linux-androideabi | armv7-linux-androideabi )
52
+ if [ " $TARGET " = armv7-linux-androideabi ]; then
54
53
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
65
55
66
56
$SRC /configure \
67
57
--prefix=/tmp/obj/install \
You can’t perform that action at this time.
0 commit comments