Skip to content

Commit

Permalink
Add folders for amd64 (circleCI)
Browse files Browse the repository at this point in the history
  • Loading branch information
leplatrem committed May 30, 2023
1 parent 8ac96b1 commit e31cba3
Showing 1 changed file with 6 additions and 6 deletions.
12 changes: 6 additions & 6 deletions Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -9,11 +9,11 @@ RUN apk update && \
git \
binutils cunit-dev
ENV PREFIX=/opt/curl
ENV PKG_CONFIG_PATH=$PREFIX/lib/pkgconfig:$PKG_CONFIG_PATH
ENV PKG_CONFIG_PATH=$PREFIX/lib/pkgconfig:$PREFIX/lib64/pkgconfig:$PKG_CONFIG_PATH

RUN git clone --depth 1 -b openssl-3.0.8+quic https://github.com/quictls/openssl && \
cd openssl && \
mkdir -p "${PREFIX}/lib/" "${PREFIX}/include/" && \
mkdir -p "${PREFIX}/lib/" "${PREFIX}/lib64/" "${PREFIX}/include/" && \
./config -fPIC --prefix="${PREFIX}" \
threads no-shared enable-tls1_3 && \
make -j $(nproc) && \
Expand All @@ -32,9 +32,9 @@ RUN git clone -b v0.11.0 https://github.com/ngtcp2/nghttp3 && \
RUN git clone -b v0.15.0 https://github.com/ngtcp2/ngtcp2 && \
cd ngtcp2 && \
autoreconf -i --force && \
PKG_CONFIG="pkg-config --static --with-path=${PREFIX}/lib/pkgconfig" \
./configure --prefix="${PREFIX}" --enable-static --with-openssl \
--with-libnghttp3 --enable-lib-only --enable-shared=no && \
PKG_CONFIG="pkg-config --static --with-path=${PREFIX}/lib/pkgconfig:${PREFIX}/lib64/pkgconfig" \
./configure --prefix="${PREFIX}" --enable-static --with-openssl=${PREFIX} \
--with-libnghttp3=${PREFIX} --enable-lib-only --enable-shared=no && \
make -j $(nproc) check && \
make install && \
cd ..
Expand All @@ -57,7 +57,7 @@ RUN git clone https://github.com/curl/curl && \
--disable-shared --enable-static \
--with-openssl \
--with-nghttp2 --with-nghttp3 --with-ngtcp2 && \
make -j$(nproc) V=1 LDFLAGS="-L${PREFIX}/lib -static -all-static" CFLAGS="-O3" && \
make -j$(nproc) V=1 LDFLAGS="-L${PREFIX}/lib -L${PREFIX}/lib64 -static -all-static" CFLAGS="-O3" && \
make install && \
cd ..

Expand Down

0 comments on commit e31cba3

Please sign in to comment.