Skip to content

Commit

Permalink
Format
Browse files Browse the repository at this point in the history
  • Loading branch information
hectorm committed Sep 1, 2024
1 parent eb8caca commit ace6fd7
Show file tree
Hide file tree
Showing 2 changed files with 23 additions and 23 deletions.
26 changes: 13 additions & 13 deletions Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -25,19 +25,19 @@ RUN git clone "${ZLIB_NG_REMOTE:?}" ./ \
&& git checkout "${ZLIB_NG_TREEISH:?}" \
&& git submodule update --init --recursive
RUN emcmake cmake -G 'Ninja' -S ./ -B ./build/ \
-D CMAKE_INSTALL_PREFIX="${SYSROOT:?}" \
-D CMAKE_INSTALL_LIBDIR="${SYSROOT:?}"/lib \
-D CMAKE_FIND_ROOT_PATH="${SYSROOT:?}" \
-D CMAKE_FIND_ROOT_PATH_MODE_PACKAGE=BOTH \
-D CMAKE_BUILD_TYPE=Release \
-D BUILD_SHARED_LIBS=OFF \
-D ZLIB_COMPAT=ON \
-D ZLIB_ENABLE_TESTS=OFF \
-D ZLIBNG_ENABLE_TESTS=OFF \
-D WITH_GTEST=OFF \
-D WITH_RUNTIME_CPU_DETECTION=OFF \
-D BASEARCH_X86_FOUND=ON \
-D FORCE_SSE2=ON
-D CMAKE_INSTALL_PREFIX="${SYSROOT:?}" \
-D CMAKE_INSTALL_LIBDIR="${SYSROOT:?}"/lib \
-D CMAKE_FIND_ROOT_PATH="${SYSROOT:?}" \
-D CMAKE_FIND_ROOT_PATH_MODE_PACKAGE=BOTH \
-D CMAKE_BUILD_TYPE=Release \
-D BUILD_SHARED_LIBS=OFF \
-D ZLIB_COMPAT=ON \
-D ZLIB_ENABLE_TESTS=OFF \
-D ZLIBNG_ENABLE_TESTS=OFF \
-D WITH_GTEST=OFF \
-D WITH_RUNTIME_CPU_DETECTION=OFF \
-D BASEARCH_X86_FOUND=ON \
-D FORCE_SSE2=ON
RUN emmake ninja -C ./build/ install
RUN pkg-config --static --exists --print-errors zlib

Expand Down
20 changes: 10 additions & 10 deletions Dockerfile.native
Original file line number Diff line number Diff line change
Expand Up @@ -23,16 +23,16 @@ RUN git clone "${ZLIB_NG_REMOTE:?}" ./ \
&& git checkout "${ZLIB_NG_TREEISH:?}" \
&& git submodule update --init --recursive
RUN cmake -G 'Ninja' -S ./ -B ./build/ \
-D CMAKE_INSTALL_PREFIX="${SYSROOT:?}" \
-D CMAKE_INSTALL_LIBDIR="${SYSROOT:?}"/lib \
-D CMAKE_FIND_ROOT_PATH="${SYSROOT:?}" \
-D CMAKE_FIND_ROOT_PATH_MODE_PACKAGE=BOTH \
-D CMAKE_BUILD_TYPE=Release \
-D BUILD_SHARED_LIBS=OFF \
-D ZLIB_COMPAT=ON \
-D ZLIB_ENABLE_TESTS=OFF \
-D ZLIBNG_ENABLE_TESTS=OFF \
-D WITH_GTEST=OFF
-D CMAKE_INSTALL_PREFIX="${SYSROOT:?}" \
-D CMAKE_INSTALL_LIBDIR="${SYSROOT:?}"/lib \
-D CMAKE_FIND_ROOT_PATH="${SYSROOT:?}" \
-D CMAKE_FIND_ROOT_PATH_MODE_PACKAGE=BOTH \
-D CMAKE_BUILD_TYPE=Release \
-D BUILD_SHARED_LIBS=OFF \
-D ZLIB_COMPAT=ON \
-D ZLIB_ENABLE_TESTS=OFF \
-D ZLIBNG_ENABLE_TESTS=OFF \
-D WITH_GTEST=OFF
RUN ninja -C ./build/ install
RUN pkg-config --static --exists --print-errors zlib

Expand Down

0 comments on commit ace6fd7

Please sign in to comment.