• Home
  • Raw
  • Download

Lines Matching +full:cache +full:- +full:dependency +full:- +full:path

4 # $ sudo docker build -t nghttp2-android - < Dockerfile.android
9 # /path/to/dest, do this:
11 # $ sudo docker run -v /path/to/dest:/out nghttp2-android cp /root/build/nghttp2/src/nghttpx /out
14 # Only use standalone-toolchain for reduce size
19 ENV NDK /root/android-ndk-$NDK_VERSION
20 ENV TOOLCHAIN $NDK/toolchains/llvm/prebuilt/linux-x86_64
21 ENV TARGET aarch64-linux-android
23 ENV AR $TOOLCHAIN/bin/llvm-ar
24 ENV CC $TOOLCHAIN/bin/$TARGET$API-clang
25 ENV CXX $TOOLCHAIN/bin/$TARGET$API-clang++
27 ENV RANDLIB $TOOLCHAIN/bin/llvm-ranlib
28 ENV STRIP $TOOLCHAIN/bin/llvm-strip
32 RUN apt-get update && \
33 apt-get install -y unzip make binutils autoconf \
34 automake autotools-dev libtool pkg-config git \
35 curl dpkg-dev libxml2-dev genisoimage libc6-i386 \
37 rm -rf /var/cache/apt/*
40 RUN curl -L -O https://dl.google.com/android/repository/android-ndk-$NDK_VERSION-linux.zip && \
41 unzip -q android-ndk-$NDK_VERSION-linux.zip && \
42 rm android-ndk-$NDK_VERSION-linux.zip
52 RUN curl -L -O https://www.openssl.org/source/openssl-$OPENSSL_VERSION.tar.gz && \
53 tar xf openssl-$OPENSSL_VERSION.tar.gz && \
54 rm openssl-$OPENSSL_VERSION.tar.gz
56 WORKDIR /root/build/openssl-$OPENSSL_VERSION
57 RUN export ANDROID_NDK_HOME=$NDK PATH=$TOOLCHAIN/bin:$PATH && \
58 ./Configure no-shared --prefix=$PREFIX android-arm64 && \
62 RUN curl -L -O http://dist.schmorp.de/libev/Attic/libev-$LIBEV_VERSION.tar.gz && \
63 tar xf libev-$LIBEV_VERSION.tar.gz && \
64 rm libev-$LIBEV_VERSION.tar.gz
66 WORKDIR /root/build/libev-$LIBEV_VERSION
68 --disable-dependency-tracking \
69 --host=$TARGET \
70 --build=`dpkg-architecture -qDEB_BUILD_GNU_TYPE` \
71 --prefix=$PREFIX \
72 --disable-shared \
73 --enable-static \
74 CPPFLAGS=-I$PREFIX/include \
75 LDFLAGS=-L$PREFIX/lib && \
79 RUN curl -L -O https://github.com/madler/zlib/releases/download/v$ZLIB_VERSION/zlib-$ZLIB_VERSION.t…
80 tar xf zlib-$ZLIB_VERSION.tar.gz && \
81 rm zlib-$ZLIB_VERSION.tar.gz
83 WORKDIR /root/build/zlib-$ZLIB_VERSION
86 --prefix=$PREFIX \
87 --libdir=$PREFIX/lib \
88 --includedir=$PREFIX/include \
89 --static && \
94 RUN curl -L -O https://github.com/c-ares/c-ares/releases/download/cares-1_18_1/c-ares-$CARES_VERSIO…
95 tar xf c-ares-$CARES_VERSION.tar.gz && \
96 rm c-ares-$CARES_VERSION.tar.gz
98 WORKDIR /root/build/c-ares-$CARES_VERSION
100 --disable-dependency-tracking \
101 --host=$TARGET \
102 --build=`dpkg-architecture -qDEB_BUILD_GNU_TYPE` \
103 --prefix=$PREFIX \
104 --disable-shared && \
108 RUN git clone https://github.com/nghttp2/nghttp2 -b $NGHTTP2_VERSION --depth 1
110 RUN autoreconf -i && \
112 --disable-dependency-tracking \
113 --enable-app \
114 --disable-shared \
115 --host=$TARGET \
116 --build=`dpkg-architecture -qDEB_BUILD_GNU_TYPE` \
117 --without-libxml2 \
118 --disable-examples \
119 --disable-threads \
120 CPPFLAGS="-fPIE -I$PREFIX/include" \
122 LDFLAGS="-fPIE -pie -L$PREFIX/lib" && \