Use Ninja for CMake builds
This commit is contained in:
1 parent
5c931a69e2
commit
3e8418da24
2 files changed
+62
-62
No files matched your search
+31
-31
@@ -59,7 +59,7 @@ RUN git clone --branch=openssl-3.0.15 --depth=1 https://github.com/openssl/opens
|
|||||||
&& rm -rf src
|
&& rm -rf src
|
||||||
|
|
||||||
RUN git clone --branch=release-2.1.12-stable --depth=1 https://github.com/libevent/libevent.git src \
|
RUN git clone --branch=release-2.1.12-stable --depth=1 https://github.com/libevent/libevent.git src \
|
||||||
&& cmake -S src -B build -DCMAKE_BUILD_TYPE=Release \
|
&& cmake -G Ninja -S src -B build -DCMAKE_BUILD_TYPE=Release \
|
||||||
-DCMAKE_POSITION_INDEPENDENT_CODE=ON \
|
-DCMAKE_POSITION_INDEPENDENT_CODE=ON \
|
||||||
-DEVENT__DISABLE_BENCHMARK=ON \
|
-DEVENT__DISABLE_BENCHMARK=ON \
|
||||||
-DEVENT__DISABLE_REGRESS=ON \
|
-DEVENT__DISABLE_REGRESS=ON \
|
||||||
@@ -70,7 +70,7 @@ RUN git clone --branch=release-2.1.12-stable --depth=1 https://github.com/libeve
|
|||||||
&& rm -rf build src
|
&& rm -rf build src
|
||||||
|
|
||||||
RUN git clone --branch=v1.5.7 --depth=1 https://github.com/facebook/zstd.git src \
|
RUN git clone --branch=v1.5.7 --depth=1 https://github.com/facebook/zstd.git src \
|
||||||
&& cmake -S src/build/cmake -B build -DCMAKE_BUILD_TYPE=Release \
|
&& cmake -G Ninja -S src/build/cmake -B build -DCMAKE_BUILD_TYPE=Release \
|
||||||
-DCMAKE_POSITION_INDEPENDENT_CODE=ON \
|
-DCMAKE_POSITION_INDEPENDENT_CODE=ON \
|
||||||
-DZSTD_BUILD_CONTRIB=OFF \
|
-DZSTD_BUILD_CONTRIB=OFF \
|
||||||
-DZSTD_BUILD_PROGRAMS=OFF \
|
-DZSTD_BUILD_PROGRAMS=OFF \
|
||||||
@@ -89,7 +89,7 @@ RUN git clone --branch=v1.3.1 --depth=1 https://github.com/madler/zlib.git src \
|
|||||||
&& rm -rf src
|
&& rm -rf src
|
||||||
|
|
||||||
RUN git clone --branch=v3.21.12 --depth=1 https://github.com/protocolbuffers/protobuf.git src \
|
RUN git clone --branch=v3.21.12 --depth=1 https://github.com/protocolbuffers/protobuf.git src \
|
||||||
&& cmake -S src -B build -Dprotobuf_BUILD_TESTS=OFF \
|
&& cmake -G Ninja -S src -B build -Dprotobuf_BUILD_TESTS=OFF \
|
||||||
-Dprotobuf_BUILD_SHARED_LIBS=OFF \
|
-Dprotobuf_BUILD_SHARED_LIBS=OFF \
|
||||||
-Dprotobuf_WITH_ZLIB=ON \
|
-Dprotobuf_WITH_ZLIB=ON \
|
||||||
-DCMAKE_BUILD_TYPE=Release \
|
-DCMAKE_BUILD_TYPE=Release \
|
||||||
@@ -100,7 +100,7 @@ RUN git clone --branch=v3.21.12 --depth=1 https://github.com/protocolbuffers/pro
|
|||||||
|
|
||||||
RUN git clone --branch=REL_2_0_5 --depth=1 https://gitee.com/mirrors/log4cplus.git src \
|
RUN git clone --branch=REL_2_0_5 --depth=1 https://gitee.com/mirrors/log4cplus.git src \
|
||||||
&& git -C src submodule update --init --depth=1 threadpool \
|
&& git -C src submodule update --init --depth=1 threadpool \
|
||||||
&& cmake -S src -B build -DCMAKE_BUILD_TYPE=Release \
|
&& cmake -G Ninja -S src -B build -DCMAKE_BUILD_TYPE=Release \
|
||||||
-DBUILD_SHARED_LIBS=OFF \
|
-DBUILD_SHARED_LIBS=OFF \
|
||||||
-DCMAKE_POSITION_INDEPENDENT_CODE=ON \
|
-DCMAKE_POSITION_INDEPENDENT_CODE=ON \
|
||||||
-DLOG4CPLUS_BUILD_TESTING=OFF \
|
-DLOG4CPLUS_BUILD_TESTING=OFF \
|
||||||
@@ -109,7 +109,7 @@ RUN git clone --branch=REL_2_0_5 --depth=1 https://gitee.com/mirrors/log4cplus.g
|
|||||||
&& rm -rf build src
|
&& rm -rf build src
|
||||||
|
|
||||||
RUN git clone --branch=12.2.0 --depth=1 https://github.com/fmtlib/fmt.git src \
|
RUN git clone --branch=12.2.0 --depth=1 https://github.com/fmtlib/fmt.git src \
|
||||||
&& cmake -S src -B build -DCMAKE_BUILD_TYPE=Release \
|
&& cmake -G Ninja -S src -B build -DCMAKE_BUILD_TYPE=Release \
|
||||||
-DBUILD_SHARED_LIBS=OFF \
|
-DBUILD_SHARED_LIBS=OFF \
|
||||||
-DCMAKE_POSITION_INDEPENDENT_CODE=ON \
|
-DCMAKE_POSITION_INDEPENDENT_CODE=ON \
|
||||||
-DFMT_DOC=OFF \
|
-DFMT_DOC=OFF \
|
||||||
@@ -118,7 +118,7 @@ RUN git clone --branch=12.2.0 --depth=1 https://github.com/fmtlib/fmt.git src \
|
|||||||
&& rm -rf build src
|
&& rm -rf build src
|
||||||
|
|
||||||
RUN git clone --branch=v1.17.0 --depth=1 https://github.com/gabime/spdlog.git src \
|
RUN git clone --branch=v1.17.0 --depth=1 https://github.com/gabime/spdlog.git src \
|
||||||
&& cmake -S src -B build -DCMAKE_BUILD_TYPE=Release \
|
&& cmake -G Ninja -S src -B build -DCMAKE_BUILD_TYPE=Release \
|
||||||
-DBUILD_SHARED_LIBS=OFF \
|
-DBUILD_SHARED_LIBS=OFF \
|
||||||
-DCMAKE_POSITION_INDEPENDENT_CODE=ON \
|
-DCMAKE_POSITION_INDEPENDENT_CODE=ON \
|
||||||
-DSPDLOG_BUILD_BENCH=OFF \
|
-DSPDLOG_BUILD_BENCH=OFF \
|
||||||
@@ -129,7 +129,7 @@ RUN git clone --branch=v1.17.0 --depth=1 https://github.com/gabime/spdlog.git sr
|
|||||||
&& rm -rf build src
|
&& rm -rf build src
|
||||||
|
|
||||||
RUN git clone --branch=v0.9.8 --depth=1 https://github.com/Neargye/magic_enum.git src \
|
RUN git clone --branch=v0.9.8 --depth=1 https://github.com/Neargye/magic_enum.git src \
|
||||||
&& cmake -S src -B build -DCMAKE_BUILD_TYPE=Release \
|
&& cmake -G Ninja -S src -B build -DCMAKE_BUILD_TYPE=Release \
|
||||||
-DMAGIC_ENUM_OPT_BUILD_EXAMPLES=OFF \
|
-DMAGIC_ENUM_OPT_BUILD_EXAMPLES=OFF \
|
||||||
-DMAGIC_ENUM_OPT_BUILD_TESTS=OFF \
|
-DMAGIC_ENUM_OPT_BUILD_TESTS=OFF \
|
||||||
-DMAGIC_ENUM_OPT_INSTALL=ON \
|
-DMAGIC_ENUM_OPT_INSTALL=ON \
|
||||||
@@ -137,7 +137,7 @@ RUN git clone --branch=v0.9.8 --depth=1 https://github.com/Neargye/magic_enum.gi
|
|||||||
&& rm -rf build src
|
&& rm -rf build src
|
||||||
|
|
||||||
RUN git clone --branch=v8.2.10 --depth=1 https://github.com/fastfloat/fast_float.git src \
|
RUN git clone --branch=v8.2.10 --depth=1 https://github.com/fastfloat/fast_float.git src \
|
||||||
&& cmake -S src -B build -DCMAKE_BUILD_TYPE=Release \
|
&& cmake -G Ninja -S src -B build -DCMAKE_BUILD_TYPE=Release \
|
||||||
-DFASTFLOAT_BENCHMARKS=OFF \
|
-DFASTFLOAT_BENCHMARKS=OFF \
|
||||||
-DFASTFLOAT_INSTALL=ON \
|
-DFASTFLOAT_INSTALL=ON \
|
||||||
-DFASTFLOAT_TEST=OFF \
|
-DFASTFLOAT_TEST=OFF \
|
||||||
@@ -145,12 +145,12 @@ RUN git clone --branch=v8.2.10 --depth=1 https://github.com/fastfloat/fast_float
|
|||||||
&& rm -rf build src
|
&& rm -rf build src
|
||||||
|
|
||||||
RUN git clone --branch=v0.7.0 --depth=1 https://github.com/Tessil/sparse-map.git src \
|
RUN git clone --branch=v0.7.0 --depth=1 https://github.com/Tessil/sparse-map.git src \
|
||||||
&& cmake -S src -B build -DCMAKE_BUILD_TYPE=Release \
|
&& cmake -G Ninja -S src -B build -DCMAKE_BUILD_TYPE=Release \
|
||||||
&& cmake --build build --parallel "$(nproc)" --target install \
|
&& cmake --build build --parallel "$(nproc)" --target install \
|
||||||
&& rm -rf build src
|
&& rm -rf build src
|
||||||
|
|
||||||
RUN git clone --branch=v2.3.1 --depth=1 https://github.com/gflags/gflags.git src \
|
RUN git clone --branch=v2.3.1 --depth=1 https://github.com/gflags/gflags.git src \
|
||||||
&& cmake -S src -B build -DCMAKE_BUILD_TYPE=Release \
|
&& cmake -G Ninja -S src -B build -DCMAKE_BUILD_TYPE=Release \
|
||||||
-DBUILD_SHARED_LIBS=OFF \
|
-DBUILD_SHARED_LIBS=OFF \
|
||||||
-DBUILD_STATIC_LIBS=ON \
|
-DBUILD_STATIC_LIBS=ON \
|
||||||
-DBUILD_TESTING=OFF \
|
-DBUILD_TESTING=OFF \
|
||||||
@@ -163,7 +163,7 @@ RUN git clone --branch=v2.3.1 --depth=1 https://github.com/gflags/gflags.git src
|
|||||||
&& rm -rf build src
|
&& rm -rf build src
|
||||||
|
|
||||||
RUN git clone --branch=v0.7.1 --depth=1 https://github.com/google/glog.git src \
|
RUN git clone --branch=v0.7.1 --depth=1 https://github.com/google/glog.git src \
|
||||||
&& cmake -S src -B build -DCMAKE_BUILD_TYPE=Release \
|
&& cmake -G Ninja -S src -B build -DCMAKE_BUILD_TYPE=Release \
|
||||||
-DBUILD_SHARED_LIBS=OFF \
|
-DBUILD_SHARED_LIBS=OFF \
|
||||||
-DBUILD_TESTING=OFF \
|
-DBUILD_TESTING=OFF \
|
||||||
-DCMAKE_POSITION_INDEPENDENT_CODE=ON \
|
-DCMAKE_POSITION_INDEPENDENT_CODE=ON \
|
||||||
@@ -194,7 +194,7 @@ RUN curl --fail --location --output libaio.tar.gz \
|
|||||||
&& rm -rf src
|
&& rm -rf src
|
||||||
|
|
||||||
RUN git clone --branch=v2.3.2 --depth=1 https://github.com/davea42/libdwarf-code.git src \
|
RUN git clone --branch=v2.3.2 --depth=1 https://github.com/davea42/libdwarf-code.git src \
|
||||||
&& cmake -S src -B build -DCMAKE_BUILD_TYPE=Release \
|
&& cmake -G Ninja -S src -B build -DCMAKE_BUILD_TYPE=Release \
|
||||||
-DBUILD_DWARFDUMP=OFF \
|
-DBUILD_DWARFDUMP=OFF \
|
||||||
-DBUILD_DWARFEXAMPLE=OFF \
|
-DBUILD_DWARFEXAMPLE=OFF \
|
||||||
-DBUILD_DWARFGEN=OFF \
|
-DBUILD_DWARFGEN=OFF \
|
||||||
@@ -216,7 +216,7 @@ RUN git clone --branch=1.0.20-RELEASE --depth=1 https://github.com/jedisct1/libs
|
|||||||
&& rm -rf src
|
&& rm -rf src
|
||||||
|
|
||||||
RUN git clone --branch=v0.8.3 --depth=1 https://github.com/Cyan4973/xxHash.git src \
|
RUN git clone --branch=v0.8.3 --depth=1 https://github.com/Cyan4973/xxHash.git src \
|
||||||
&& cmake -S src/cmake_unofficial -B build -DCMAKE_BUILD_TYPE=Release \
|
&& cmake -G Ninja -S src/cmake_unofficial -B build -DCMAKE_BUILD_TYPE=Release \
|
||||||
-DBUILD_SHARED_LIBS=OFF \
|
-DBUILD_SHARED_LIBS=OFF \
|
||||||
-DCMAKE_POSITION_INDEPENDENT_CODE=ON \
|
-DCMAKE_POSITION_INDEPENDENT_CODE=ON \
|
||||||
-DXXHASH_BUILD_XXHSUM=OFF \
|
-DXXHASH_BUILD_XXHSUM=OFF \
|
||||||
@@ -224,7 +224,7 @@ RUN git clone --branch=v0.8.3 --depth=1 https://github.com/Cyan4973/xxHash.git s
|
|||||||
&& rm -rf build src
|
&& rm -rf build src
|
||||||
|
|
||||||
RUN git clone --branch=v1.17.0 --depth=1 https://github.com/google/googletest.git src \
|
RUN git clone --branch=v1.17.0 --depth=1 https://github.com/google/googletest.git src \
|
||||||
&& cmake -S src -B build -DCMAKE_BUILD_TYPE=Release \
|
&& cmake -G Ninja -S src -B build -DCMAKE_BUILD_TYPE=Release \
|
||||||
-DBUILD_GMOCK=ON \
|
-DBUILD_GMOCK=ON \
|
||||||
-DBUILD_SHARED_LIBS=OFF \
|
-DBUILD_SHARED_LIBS=OFF \
|
||||||
-DCMAKE_POSITION_INDEPENDENT_CODE=ON \
|
-DCMAKE_POSITION_INDEPENDENT_CODE=ON \
|
||||||
@@ -245,7 +245,7 @@ RUN git clone --branch=v2.0.19 --depth=1 https://github.com/numactl/numactl.git
|
|||||||
|
|
||||||
RUN git clone --branch=v2026.08.03.00 --depth=1 https://github.com/facebook/folly.git src \
|
RUN git clone --branch=v2026.08.03.00 --depth=1 https://github.com/facebook/folly.git src \
|
||||||
&& CXXFLAGS="-DGLOG_USE_GLOG_EXPORT" \
|
&& CXXFLAGS="-DGLOG_USE_GLOG_EXPORT" \
|
||||||
cmake -S src -B build -DCMAKE_BUILD_TYPE=Release \
|
cmake -G Ninja -S src -B build -DCMAKE_BUILD_TYPE=Release \
|
||||||
-DBOOST_LINK_STATIC=ON \
|
-DBOOST_LINK_STATIC=ON \
|
||||||
-DBUILD_BENCHMARKS=OFF \
|
-DBUILD_BENCHMARKS=OFF \
|
||||||
-DBUILD_SHARED_LIBS=OFF \
|
-DBUILD_SHARED_LIBS=OFF \
|
||||||
@@ -257,7 +257,7 @@ RUN git clone --branch=v2026.08.03.00 --depth=1 https://github.com/facebook/foll
|
|||||||
|
|
||||||
RUN git clone --branch=v2026.08.03.00 --depth=1 https://github.com/facebookincubator/fizz.git src \
|
RUN git clone --branch=v2026.08.03.00 --depth=1 https://github.com/facebookincubator/fizz.git src \
|
||||||
&& CXXFLAGS="-DGLOG_USE_GLOG_EXPORT" \
|
&& CXXFLAGS="-DGLOG_USE_GLOG_EXPORT" \
|
||||||
cmake -S src/fizz -B build -DCMAKE_BUILD_TYPE=Release \
|
cmake -G Ninja -S src/fizz -B build -DCMAKE_BUILD_TYPE=Release \
|
||||||
-DBUILD_EXAMPLES=OFF \
|
-DBUILD_EXAMPLES=OFF \
|
||||||
-DBUILD_SHARED_LIBS=OFF \
|
-DBUILD_SHARED_LIBS=OFF \
|
||||||
-DBUILD_TESTS=OFF \
|
-DBUILD_TESTS=OFF \
|
||||||
@@ -268,7 +268,7 @@ RUN git clone --branch=v2026.08.03.00 --depth=1 https://github.com/facebookincub
|
|||||||
|
|
||||||
RUN git clone --branch=v2026.08.03.00 --depth=1 https://github.com/facebook/wangle.git src \
|
RUN git clone --branch=v2026.08.03.00 --depth=1 https://github.com/facebook/wangle.git src \
|
||||||
&& CXXFLAGS="-DGLOG_USE_GLOG_EXPORT" \
|
&& CXXFLAGS="-DGLOG_USE_GLOG_EXPORT" \
|
||||||
cmake -S src/wangle -B build -DCMAKE_BUILD_TYPE=Release \
|
cmake -G Ninja -S src/wangle -B build -DCMAKE_BUILD_TYPE=Release \
|
||||||
-DBUILD_EXAMPLES=OFF \
|
-DBUILD_EXAMPLES=OFF \
|
||||||
-DBUILD_SHARED_LIBS=OFF \
|
-DBUILD_SHARED_LIBS=OFF \
|
||||||
-DBUILD_TESTS=OFF \
|
-DBUILD_TESTS=OFF \
|
||||||
@@ -278,7 +278,7 @@ RUN git clone --branch=v2026.08.03.00 --depth=1 https://github.com/facebook/wang
|
|||||||
|
|
||||||
RUN git clone --branch=v2026.08.03.00 --depth=1 https://github.com/facebook/mvfst.git src \
|
RUN git clone --branch=v2026.08.03.00 --depth=1 https://github.com/facebook/mvfst.git src \
|
||||||
&& CXXFLAGS="-DGLOG_USE_GLOG_EXPORT" \
|
&& CXXFLAGS="-DGLOG_USE_GLOG_EXPORT" \
|
||||||
cmake -S src -B build -DCMAKE_BUILD_TYPE=Release \
|
cmake -G Ninja -S src -B build -DCMAKE_BUILD_TYPE=Release \
|
||||||
-DBUILD_SAMPLES=OFF \
|
-DBUILD_SAMPLES=OFF \
|
||||||
-DBUILD_SHARED_LIBS=OFF \
|
-DBUILD_SHARED_LIBS=OFF \
|
||||||
-DBUILD_TESTS=OFF \
|
-DBUILD_TESTS=OFF \
|
||||||
@@ -289,7 +289,7 @@ RUN git clone --branch=v2026.08.03.00 --depth=1 https://github.com/facebook/mvfs
|
|||||||
|
|
||||||
RUN git clone --branch=v2026.08.03.00 --depth=1 https://github.com/facebook/fbthrift.git src \
|
RUN git clone --branch=v2026.08.03.00 --depth=1 https://github.com/facebook/fbthrift.git src \
|
||||||
&& CXXFLAGS="-DGLOG_USE_GLOG_EXPORT" \
|
&& CXXFLAGS="-DGLOG_USE_GLOG_EXPORT" \
|
||||||
cmake -S src -B build -DCMAKE_BUILD_TYPE=Release \
|
cmake -G Ninja -S src -B build -DCMAKE_BUILD_TYPE=Release \
|
||||||
-DBUILD_SHARED_LIBS=OFF \
|
-DBUILD_SHARED_LIBS=OFF \
|
||||||
-DCMAKE_POSITION_INDEPENDENT_CODE=ON \
|
-DCMAKE_POSITION_INDEPENDENT_CODE=ON \
|
||||||
-DTHRIFT_BENCHMARKS=OFF \
|
-DTHRIFT_BENCHMARKS=OFF \
|
||||||
@@ -302,7 +302,7 @@ RUN git clone --branch=v2026.08.03.00 --depth=1 https://github.com/facebook/fbth
|
|||||||
|
|
||||||
RUN git clone --branch=v2026.08.03.00 --depth=1 https://github.com/facebook/CacheLib.git src \
|
RUN git clone --branch=v2026.08.03.00 --depth=1 https://github.com/facebook/CacheLib.git src \
|
||||||
&& CXXFLAGS="-DGLOG_USE_GLOG_EXPORT" \
|
&& CXXFLAGS="-DGLOG_USE_GLOG_EXPORT" \
|
||||||
cmake -S src/cachelib -B build -DCMAKE_BUILD_TYPE=Release \
|
cmake -G Ninja -S src/cachelib -B build -DCMAKE_BUILD_TYPE=Release \
|
||||||
-DBOOST_LINK_STATIC=ON \
|
-DBOOST_LINK_STATIC=ON \
|
||||||
-DBUILD_SHARED_LIBS=OFF \
|
-DBUILD_SHARED_LIBS=OFF \
|
||||||
-DBUILD_TESTS=OFF \
|
-DBUILD_TESTS=OFF \
|
||||||
@@ -332,7 +332,7 @@ RUN curl --fail --location --output util-linux.tar.xz \
|
|||||||
&& rm -rf src
|
&& rm -rf src
|
||||||
|
|
||||||
RUN git clone --branch=v4.3.5 --depth=1 https://github.com/zeromq/libzmq.git src \
|
RUN git clone --branch=v4.3.5 --depth=1 https://github.com/zeromq/libzmq.git src \
|
||||||
&& cmake -S src -B build -DCMAKE_BUILD_TYPE=Release \
|
&& cmake -G Ninja -S src -B build -DCMAKE_BUILD_TYPE=Release \
|
||||||
-DBUILD_SHARED=OFF \
|
-DBUILD_SHARED=OFF \
|
||||||
-DBUILD_STATIC=ON \
|
-DBUILD_STATIC=ON \
|
||||||
-DBUILD_TESTS=OFF \
|
-DBUILD_TESTS=OFF \
|
||||||
@@ -348,7 +348,7 @@ RUN git clone --branch=v4.3.5 --depth=1 https://github.com/zeromq/libzmq.git src
|
|||||||
&& rm -rf build src
|
&& rm -rf build src
|
||||||
|
|
||||||
RUN git clone --branch=v4.2.1 --depth=1 https://github.com/zeromq/czmq.git src \
|
RUN git clone --branch=v4.2.1 --depth=1 https://github.com/zeromq/czmq.git src \
|
||||||
&& cmake -S src -B build -DCMAKE_BUILD_TYPE=Release \
|
&& cmake -G Ninja -S src -B build -DCMAKE_BUILD_TYPE=Release \
|
||||||
-DCMAKE_POSITION_INDEPENDENT_CODE=ON \
|
-DCMAKE_POSITION_INDEPENDENT_CODE=ON \
|
||||||
-DCZMQ_BUILD_SHARED=OFF \
|
-DCZMQ_BUILD_SHARED=OFF \
|
||||||
-DCZMQ_BUILD_STATIC=ON \
|
-DCZMQ_BUILD_STATIC=ON \
|
||||||
@@ -363,7 +363,7 @@ RUN git clone --branch=v4.2.1 --depth=1 https://github.com/zeromq/czmq.git src \
|
|||||||
&& rm -rf build src
|
&& rm -rf build src
|
||||||
|
|
||||||
RUN git clone --branch=1.9.8 --depth=1 https://github.com/open-source-parsers/jsoncpp.git src \
|
RUN git clone --branch=1.9.8 --depth=1 https://github.com/open-source-parsers/jsoncpp.git src \
|
||||||
&& cmake -S src -B build -DCMAKE_BUILD_TYPE=Release \
|
&& cmake -G Ninja -S src -B build -DCMAKE_BUILD_TYPE=Release \
|
||||||
-DBUILD_OBJECT_LIBS=OFF \
|
-DBUILD_OBJECT_LIBS=OFF \
|
||||||
-DBUILD_SHARED_LIBS=OFF \
|
-DBUILD_SHARED_LIBS=OFF \
|
||||||
-DBUILD_STATIC_LIBS=ON \
|
-DBUILD_STATIC_LIBS=ON \
|
||||||
@@ -375,7 +375,7 @@ RUN git clone --branch=1.9.8 --depth=1 https://github.com/open-source-parsers/js
|
|||||||
&& rm -rf build src
|
&& rm -rf build src
|
||||||
|
|
||||||
RUN git clone --branch=v2.15.0 --depth=1 https://github.com/confluentinc/librdkafka.git src \
|
RUN git clone --branch=v2.15.0 --depth=1 https://github.com/confluentinc/librdkafka.git src \
|
||||||
&& cmake -S src -B build -DCMAKE_BUILD_TYPE=Release \
|
&& cmake -G Ninja -S src -B build -DCMAKE_BUILD_TYPE=Release \
|
||||||
-DCMAKE_POSITION_INDEPENDENT_CODE=ON \
|
-DCMAKE_POSITION_INDEPENDENT_CODE=ON \
|
||||||
-DENABLE_LZ4_EXT=OFF \
|
-DENABLE_LZ4_EXT=OFF \
|
||||||
-DRDKAFKA_BUILD_EXAMPLES=OFF \
|
-DRDKAFKA_BUILD_EXAMPLES=OFF \
|
||||||
@@ -391,7 +391,7 @@ RUN git clone --branch=v2.15.0 --depth=1 https://github.com/confluentinc/librdka
|
|||||||
&& rm -rf build src
|
&& rm -rf build src
|
||||||
|
|
||||||
RUN git clone --branch=json-c-0.19-20260627 --depth=1 https://github.com/json-c/json-c.git src \
|
RUN git clone --branch=json-c-0.19-20260627 --depth=1 https://github.com/json-c/json-c.git src \
|
||||||
&& cmake -S src -B build -DCMAKE_BUILD_TYPE=Release \
|
&& cmake -G Ninja -S src -B build -DCMAKE_BUILD_TYPE=Release \
|
||||||
-DBUILD_APPS=OFF \
|
-DBUILD_APPS=OFF \
|
||||||
-DBUILD_SHARED_LIBS=OFF \
|
-DBUILD_SHARED_LIBS=OFF \
|
||||||
-DBUILD_STATIC_LIBS=ON \
|
-DBUILD_STATIC_LIBS=ON \
|
||||||
@@ -402,7 +402,7 @@ RUN git clone --branch=json-c-0.19-20260627 --depth=1 https://github.com/json-c/
|
|||||||
&& rm -rf build src
|
&& rm -rf build src
|
||||||
|
|
||||||
RUN git clone --branch=v1.1.0 --depth=1 https://github.com/Tencent/rapidjson.git src \
|
RUN git clone --branch=v1.1.0 --depth=1 https://github.com/Tencent/rapidjson.git src \
|
||||||
&& cmake -S src -B build -DCMAKE_BUILD_TYPE=Release \
|
&& cmake -G Ninja -S src -B build -DCMAKE_BUILD_TYPE=Release \
|
||||||
-DRAPIDJSON_BUILD_DOC=OFF \
|
-DRAPIDJSON_BUILD_DOC=OFF \
|
||||||
-DRAPIDJSON_BUILD_EXAMPLES=OFF \
|
-DRAPIDJSON_BUILD_EXAMPLES=OFF \
|
||||||
-DRAPIDJSON_BUILD_TESTS=OFF \
|
-DRAPIDJSON_BUILD_TESTS=OFF \
|
||||||
@@ -410,7 +410,7 @@ RUN git clone --branch=v1.1.0 --depth=1 https://github.com/Tencent/rapidjson.git
|
|||||||
&& rm -rf build src
|
&& rm -rf build src
|
||||||
|
|
||||||
RUN git clone --branch=curl-8_21_0 --depth=1 https://github.com/curl/curl.git src \
|
RUN git clone --branch=curl-8_21_0 --depth=1 https://github.com/curl/curl.git src \
|
||||||
&& cmake -S src -B build -DCMAKE_BUILD_TYPE=Release \
|
&& cmake -G Ninja -S src -B build -DCMAKE_BUILD_TYPE=Release \
|
||||||
-DBUILD_CURL_EXE=OFF \
|
-DBUILD_CURL_EXE=OFF \
|
||||||
-DBUILD_EXAMPLES=OFF \
|
-DBUILD_EXAMPLES=OFF \
|
||||||
-DBUILD_LIBCURL_DOCS=OFF \
|
-DBUILD_LIBCURL_DOCS=OFF \
|
||||||
@@ -434,7 +434,7 @@ RUN git clone --branch=curl-8_21_0 --depth=1 https://github.com/curl/curl.git sr
|
|||||||
&& rm -rf build src
|
&& rm -rf build src
|
||||||
|
|
||||||
RUN git clone --branch=v1.4.1 --depth=1 https://github.com/redis/hiredis.git src \
|
RUN git clone --branch=v1.4.1 --depth=1 https://github.com/redis/hiredis.git src \
|
||||||
&& cmake -S src -B build -DCMAKE_BUILD_TYPE=Release \
|
&& cmake -G Ninja -S src -B build -DCMAKE_BUILD_TYPE=Release \
|
||||||
-DBUILD_SHARED_LIBS=OFF \
|
-DBUILD_SHARED_LIBS=OFF \
|
||||||
-DCMAKE_POSITION_INDEPENDENT_CODE=ON \
|
-DCMAKE_POSITION_INDEPENDENT_CODE=ON \
|
||||||
-DENABLE_ASYNC_TESTS=OFF \
|
-DENABLE_ASYNC_TESTS=OFF \
|
||||||
@@ -508,7 +508,7 @@ RUN curl --fail --location --output gnutls.tar.xz \
|
|||||||
&& rm -rf src
|
&& rm -rf src
|
||||||
|
|
||||||
RUN git clone --branch=1.13.3 --depth=1 https://github.com/maxmind/libmaxminddb.git src \
|
RUN git clone --branch=1.13.3 --depth=1 https://github.com/maxmind/libmaxminddb.git src \
|
||||||
&& cmake -S src -B build -DCMAKE_BUILD_TYPE=Release \
|
&& cmake -G Ninja -S src -B build -DCMAKE_BUILD_TYPE=Release \
|
||||||
-DBUILD_SHARED_LIBS=OFF \
|
-DBUILD_SHARED_LIBS=OFF \
|
||||||
-DBUILD_TESTING=OFF \
|
-DBUILD_TESTING=OFF \
|
||||||
-DCMAKE_POSITION_INDEPENDENT_CODE=ON \
|
-DCMAKE_POSITION_INDEPENDENT_CODE=ON \
|
||||||
@@ -526,7 +526,7 @@ RUN git clone --branch=0.2.5 --depth=1 https://github.com/yaml/libyaml.git src \
|
|||||||
&& rm -rf src
|
&& rm -rf src
|
||||||
|
|
||||||
RUN git clone --branch=v2.15.3 --depth=1 https://gitlab.gnome.org/GNOME/libxml2.git src \
|
RUN git clone --branch=v2.15.3 --depth=1 https://gitlab.gnome.org/GNOME/libxml2.git src \
|
||||||
&& cmake -S src -B build -DCMAKE_BUILD_TYPE=Release \
|
&& cmake -G Ninja -S src -B build -DCMAKE_BUILD_TYPE=Release \
|
||||||
-DBUILD_SHARED_LIBS=OFF \
|
-DBUILD_SHARED_LIBS=OFF \
|
||||||
-DCMAKE_POSITION_INDEPENDENT_CODE=ON \
|
-DCMAKE_POSITION_INDEPENDENT_CODE=ON \
|
||||||
-DLIBXML2_WITH_DOCS=OFF \
|
-DLIBXML2_WITH_DOCS=OFF \
|
||||||
@@ -540,7 +540,7 @@ RUN git clone --branch=v2.15.3 --depth=1 https://gitlab.gnome.org/GNOME/libxml2.
|
|||||||
&& rm -rf build src
|
&& rm -rf build src
|
||||||
|
|
||||||
RUN git clone --branch=1.3.15 --depth=1 https://github.com/sewenew/redis-plus-plus.git src \
|
RUN git clone --branch=1.3.15 --depth=1 https://github.com/sewenew/redis-plus-plus.git src \
|
||||||
&& cmake -S src -B build -DCMAKE_BUILD_TYPE=Release \
|
&& cmake -G Ninja -S src -B build -DCMAKE_BUILD_TYPE=Release \
|
||||||
-DREDIS_PLUS_PLUS_BUILD_SHARED=OFF \
|
-DREDIS_PLUS_PLUS_BUILD_SHARED=OFF \
|
||||||
-DREDIS_PLUS_PLUS_BUILD_STATIC=ON \
|
-DREDIS_PLUS_PLUS_BUILD_STATIC=ON \
|
||||||
-DREDIS_PLUS_PLUS_BUILD_STATIC_WITH_PIC=ON \
|
-DREDIS_PLUS_PLUS_BUILD_STATIC_WITH_PIC=ON \
|
||||||
|
|||||||
+31
-31
@@ -64,7 +64,7 @@ RUN git clone --branch=openssl-3.0.15 --depth=1 https://github.com/openssl/opens
|
|||||||
&& rm -rf src
|
&& rm -rf src
|
||||||
|
|
||||||
RUN git clone --branch=release-2.1.12-stable --depth=1 https://github.com/libevent/libevent.git src \
|
RUN git clone --branch=release-2.1.12-stable --depth=1 https://github.com/libevent/libevent.git src \
|
||||||
&& cmake -S src -B build -DCMAKE_BUILD_TYPE=Release \
|
&& cmake -G Ninja -S src -B build -DCMAKE_BUILD_TYPE=Release \
|
||||||
-DCMAKE_POSITION_INDEPENDENT_CODE=ON \
|
-DCMAKE_POSITION_INDEPENDENT_CODE=ON \
|
||||||
-DEVENT__DISABLE_BENCHMARK=ON \
|
-DEVENT__DISABLE_BENCHMARK=ON \
|
||||||
-DEVENT__DISABLE_REGRESS=ON \
|
-DEVENT__DISABLE_REGRESS=ON \
|
||||||
@@ -75,7 +75,7 @@ RUN git clone --branch=release-2.1.12-stable --depth=1 https://github.com/libeve
|
|||||||
&& rm -rf build src
|
&& rm -rf build src
|
||||||
|
|
||||||
RUN git clone --branch=v1.5.7 --depth=1 https://github.com/facebook/zstd.git src \
|
RUN git clone --branch=v1.5.7 --depth=1 https://github.com/facebook/zstd.git src \
|
||||||
&& cmake -S src/build/cmake -B build -DCMAKE_BUILD_TYPE=Release \
|
&& cmake -G Ninja -S src/build/cmake -B build -DCMAKE_BUILD_TYPE=Release \
|
||||||
-DCMAKE_POSITION_INDEPENDENT_CODE=ON \
|
-DCMAKE_POSITION_INDEPENDENT_CODE=ON \
|
||||||
-DZSTD_BUILD_CONTRIB=OFF \
|
-DZSTD_BUILD_CONTRIB=OFF \
|
||||||
-DZSTD_BUILD_PROGRAMS=OFF \
|
-DZSTD_BUILD_PROGRAMS=OFF \
|
||||||
@@ -94,7 +94,7 @@ RUN git clone --branch=v1.3.1 --depth=1 https://github.com/madler/zlib.git src \
|
|||||||
&& rm -rf src
|
&& rm -rf src
|
||||||
|
|
||||||
RUN git clone --branch=v3.21.12 --depth=1 https://github.com/protocolbuffers/protobuf.git src \
|
RUN git clone --branch=v3.21.12 --depth=1 https://github.com/protocolbuffers/protobuf.git src \
|
||||||
&& cmake -S src -B build -Dprotobuf_BUILD_TESTS=OFF \
|
&& cmake -G Ninja -S src -B build -Dprotobuf_BUILD_TESTS=OFF \
|
||||||
-Dprotobuf_BUILD_SHARED_LIBS=OFF \
|
-Dprotobuf_BUILD_SHARED_LIBS=OFF \
|
||||||
-Dprotobuf_WITH_ZLIB=ON \
|
-Dprotobuf_WITH_ZLIB=ON \
|
||||||
-DCMAKE_BUILD_TYPE=Release \
|
-DCMAKE_BUILD_TYPE=Release \
|
||||||
@@ -105,7 +105,7 @@ RUN git clone --branch=v3.21.12 --depth=1 https://github.com/protocolbuffers/pro
|
|||||||
|
|
||||||
RUN git clone --branch=REL_2_0_5 --depth=1 https://gitee.com/mirrors/log4cplus.git src \
|
RUN git clone --branch=REL_2_0_5 --depth=1 https://gitee.com/mirrors/log4cplus.git src \
|
||||||
&& git -C src submodule update --init --depth=1 threadpool \
|
&& git -C src submodule update --init --depth=1 threadpool \
|
||||||
&& cmake -S src -B build -DCMAKE_BUILD_TYPE=Release \
|
&& cmake -G Ninja -S src -B build -DCMAKE_BUILD_TYPE=Release \
|
||||||
-DBUILD_SHARED_LIBS=OFF \
|
-DBUILD_SHARED_LIBS=OFF \
|
||||||
-DCMAKE_POSITION_INDEPENDENT_CODE=ON \
|
-DCMAKE_POSITION_INDEPENDENT_CODE=ON \
|
||||||
-DLOG4CPLUS_BUILD_TESTING=OFF \
|
-DLOG4CPLUS_BUILD_TESTING=OFF \
|
||||||
@@ -114,7 +114,7 @@ RUN git clone --branch=REL_2_0_5 --depth=1 https://gitee.com/mirrors/log4cplus.g
|
|||||||
&& rm -rf build src
|
&& rm -rf build src
|
||||||
|
|
||||||
RUN git clone --branch=12.2.0 --depth=1 https://github.com/fmtlib/fmt.git src \
|
RUN git clone --branch=12.2.0 --depth=1 https://github.com/fmtlib/fmt.git src \
|
||||||
&& cmake -S src -B build -DCMAKE_BUILD_TYPE=Release \
|
&& cmake -G Ninja -S src -B build -DCMAKE_BUILD_TYPE=Release \
|
||||||
-DBUILD_SHARED_LIBS=OFF \
|
-DBUILD_SHARED_LIBS=OFF \
|
||||||
-DCMAKE_POSITION_INDEPENDENT_CODE=ON \
|
-DCMAKE_POSITION_INDEPENDENT_CODE=ON \
|
||||||
-DFMT_DOC=OFF \
|
-DFMT_DOC=OFF \
|
||||||
@@ -123,7 +123,7 @@ RUN git clone --branch=12.2.0 --depth=1 https://github.com/fmtlib/fmt.git src \
|
|||||||
&& rm -rf build src
|
&& rm -rf build src
|
||||||
|
|
||||||
RUN git clone --branch=v1.17.0 --depth=1 https://github.com/gabime/spdlog.git src \
|
RUN git clone --branch=v1.17.0 --depth=1 https://github.com/gabime/spdlog.git src \
|
||||||
&& cmake -S src -B build -DCMAKE_BUILD_TYPE=Release \
|
&& cmake -G Ninja -S src -B build -DCMAKE_BUILD_TYPE=Release \
|
||||||
-DBUILD_SHARED_LIBS=OFF \
|
-DBUILD_SHARED_LIBS=OFF \
|
||||||
-DCMAKE_POSITION_INDEPENDENT_CODE=ON \
|
-DCMAKE_POSITION_INDEPENDENT_CODE=ON \
|
||||||
-DSPDLOG_BUILD_BENCH=OFF \
|
-DSPDLOG_BUILD_BENCH=OFF \
|
||||||
@@ -134,7 +134,7 @@ RUN git clone --branch=v1.17.0 --depth=1 https://github.com/gabime/spdlog.git sr
|
|||||||
&& rm -rf build src
|
&& rm -rf build src
|
||||||
|
|
||||||
RUN git clone --branch=v0.9.8 --depth=1 https://github.com/Neargye/magic_enum.git src \
|
RUN git clone --branch=v0.9.8 --depth=1 https://github.com/Neargye/magic_enum.git src \
|
||||||
&& cmake -S src -B build -DCMAKE_BUILD_TYPE=Release \
|
&& cmake -G Ninja -S src -B build -DCMAKE_BUILD_TYPE=Release \
|
||||||
-DMAGIC_ENUM_OPT_BUILD_EXAMPLES=OFF \
|
-DMAGIC_ENUM_OPT_BUILD_EXAMPLES=OFF \
|
||||||
-DMAGIC_ENUM_OPT_BUILD_TESTS=OFF \
|
-DMAGIC_ENUM_OPT_BUILD_TESTS=OFF \
|
||||||
-DMAGIC_ENUM_OPT_INSTALL=ON \
|
-DMAGIC_ENUM_OPT_INSTALL=ON \
|
||||||
@@ -142,7 +142,7 @@ RUN git clone --branch=v0.9.8 --depth=1 https://github.com/Neargye/magic_enum.gi
|
|||||||
&& rm -rf build src
|
&& rm -rf build src
|
||||||
|
|
||||||
RUN git clone --branch=v8.2.10 --depth=1 https://github.com/fastfloat/fast_float.git src \
|
RUN git clone --branch=v8.2.10 --depth=1 https://github.com/fastfloat/fast_float.git src \
|
||||||
&& cmake -S src -B build -DCMAKE_BUILD_TYPE=Release \
|
&& cmake -G Ninja -S src -B build -DCMAKE_BUILD_TYPE=Release \
|
||||||
-DFASTFLOAT_BENCHMARKS=OFF \
|
-DFASTFLOAT_BENCHMARKS=OFF \
|
||||||
-DFASTFLOAT_INSTALL=ON \
|
-DFASTFLOAT_INSTALL=ON \
|
||||||
-DFASTFLOAT_TEST=OFF \
|
-DFASTFLOAT_TEST=OFF \
|
||||||
@@ -150,12 +150,12 @@ RUN git clone --branch=v8.2.10 --depth=1 https://github.com/fastfloat/fast_float
|
|||||||
&& rm -rf build src
|
&& rm -rf build src
|
||||||
|
|
||||||
RUN git clone --branch=v0.7.0 --depth=1 https://github.com/Tessil/sparse-map.git src \
|
RUN git clone --branch=v0.7.0 --depth=1 https://github.com/Tessil/sparse-map.git src \
|
||||||
&& cmake -S src -B build -DCMAKE_BUILD_TYPE=Release \
|
&& cmake -G Ninja -S src -B build -DCMAKE_BUILD_TYPE=Release \
|
||||||
&& cmake --build build --parallel "$(nproc)" --target install \
|
&& cmake --build build --parallel "$(nproc)" --target install \
|
||||||
&& rm -rf build src
|
&& rm -rf build src
|
||||||
|
|
||||||
RUN git clone --branch=v2.3.1 --depth=1 https://github.com/gflags/gflags.git src \
|
RUN git clone --branch=v2.3.1 --depth=1 https://github.com/gflags/gflags.git src \
|
||||||
&& cmake -S src -B build -DCMAKE_BUILD_TYPE=Release \
|
&& cmake -G Ninja -S src -B build -DCMAKE_BUILD_TYPE=Release \
|
||||||
-DBUILD_SHARED_LIBS=OFF \
|
-DBUILD_SHARED_LIBS=OFF \
|
||||||
-DBUILD_STATIC_LIBS=ON \
|
-DBUILD_STATIC_LIBS=ON \
|
||||||
-DBUILD_TESTING=OFF \
|
-DBUILD_TESTING=OFF \
|
||||||
@@ -168,7 +168,7 @@ RUN git clone --branch=v2.3.1 --depth=1 https://github.com/gflags/gflags.git src
|
|||||||
&& rm -rf build src
|
&& rm -rf build src
|
||||||
|
|
||||||
RUN git clone --branch=v0.7.1 --depth=1 https://github.com/google/glog.git src \
|
RUN git clone --branch=v0.7.1 --depth=1 https://github.com/google/glog.git src \
|
||||||
&& cmake -S src -B build -DCMAKE_BUILD_TYPE=Release \
|
&& cmake -G Ninja -S src -B build -DCMAKE_BUILD_TYPE=Release \
|
||||||
-DBUILD_SHARED_LIBS=OFF \
|
-DBUILD_SHARED_LIBS=OFF \
|
||||||
-DBUILD_TESTING=OFF \
|
-DBUILD_TESTING=OFF \
|
||||||
-DCMAKE_POSITION_INDEPENDENT_CODE=ON \
|
-DCMAKE_POSITION_INDEPENDENT_CODE=ON \
|
||||||
@@ -199,7 +199,7 @@ RUN curl --fail --location --output libaio.tar.gz \
|
|||||||
&& rm -rf src
|
&& rm -rf src
|
||||||
|
|
||||||
RUN git clone --branch=v2.3.2 --depth=1 https://github.com/davea42/libdwarf-code.git src \
|
RUN git clone --branch=v2.3.2 --depth=1 https://github.com/davea42/libdwarf-code.git src \
|
||||||
&& cmake -S src -B build -DCMAKE_BUILD_TYPE=Release \
|
&& cmake -G Ninja -S src -B build -DCMAKE_BUILD_TYPE=Release \
|
||||||
-DBUILD_DWARFDUMP=OFF \
|
-DBUILD_DWARFDUMP=OFF \
|
||||||
-DBUILD_DWARFEXAMPLE=OFF \
|
-DBUILD_DWARFEXAMPLE=OFF \
|
||||||
-DBUILD_DWARFGEN=OFF \
|
-DBUILD_DWARFGEN=OFF \
|
||||||
@@ -221,7 +221,7 @@ RUN git clone --branch=1.0.20-RELEASE --depth=1 https://github.com/jedisct1/libs
|
|||||||
&& rm -rf src
|
&& rm -rf src
|
||||||
|
|
||||||
RUN git clone --branch=v0.8.3 --depth=1 https://github.com/Cyan4973/xxHash.git src \
|
RUN git clone --branch=v0.8.3 --depth=1 https://github.com/Cyan4973/xxHash.git src \
|
||||||
&& cmake -S src/cmake_unofficial -B build -DCMAKE_BUILD_TYPE=Release \
|
&& cmake -G Ninja -S src/cmake_unofficial -B build -DCMAKE_BUILD_TYPE=Release \
|
||||||
-DBUILD_SHARED_LIBS=OFF \
|
-DBUILD_SHARED_LIBS=OFF \
|
||||||
-DCMAKE_POSITION_INDEPENDENT_CODE=ON \
|
-DCMAKE_POSITION_INDEPENDENT_CODE=ON \
|
||||||
-DXXHASH_BUILD_XXHSUM=OFF \
|
-DXXHASH_BUILD_XXHSUM=OFF \
|
||||||
@@ -229,7 +229,7 @@ RUN git clone --branch=v0.8.3 --depth=1 https://github.com/Cyan4973/xxHash.git s
|
|||||||
&& rm -rf build src
|
&& rm -rf build src
|
||||||
|
|
||||||
RUN git clone --branch=v1.17.0 --depth=1 https://github.com/google/googletest.git src \
|
RUN git clone --branch=v1.17.0 --depth=1 https://github.com/google/googletest.git src \
|
||||||
&& cmake -S src -B build -DCMAKE_BUILD_TYPE=Release \
|
&& cmake -G Ninja -S src -B build -DCMAKE_BUILD_TYPE=Release \
|
||||||
-DBUILD_GMOCK=ON \
|
-DBUILD_GMOCK=ON \
|
||||||
-DBUILD_SHARED_LIBS=OFF \
|
-DBUILD_SHARED_LIBS=OFF \
|
||||||
-DCMAKE_POSITION_INDEPENDENT_CODE=ON \
|
-DCMAKE_POSITION_INDEPENDENT_CODE=ON \
|
||||||
@@ -250,7 +250,7 @@ RUN git clone --branch=v2.0.19 --depth=1 https://github.com/numactl/numactl.git
|
|||||||
|
|
||||||
RUN git clone --branch=v2026.08.03.00 --depth=1 https://github.com/facebook/folly.git src \
|
RUN git clone --branch=v2026.08.03.00 --depth=1 https://github.com/facebook/folly.git src \
|
||||||
&& CXXFLAGS="-DGLOG_USE_GLOG_EXPORT" \
|
&& CXXFLAGS="-DGLOG_USE_GLOG_EXPORT" \
|
||||||
cmake -S src -B build -DCMAKE_BUILD_TYPE=Release \
|
cmake -G Ninja -S src -B build -DCMAKE_BUILD_TYPE=Release \
|
||||||
-DBOOST_LINK_STATIC=ON \
|
-DBOOST_LINK_STATIC=ON \
|
||||||
-DBUILD_BENCHMARKS=OFF \
|
-DBUILD_BENCHMARKS=OFF \
|
||||||
-DBUILD_SHARED_LIBS=OFF \
|
-DBUILD_SHARED_LIBS=OFF \
|
||||||
@@ -262,7 +262,7 @@ RUN git clone --branch=v2026.08.03.00 --depth=1 https://github.com/facebook/foll
|
|||||||
|
|
||||||
RUN git clone --branch=v2026.08.03.00 --depth=1 https://github.com/facebookincubator/fizz.git src \
|
RUN git clone --branch=v2026.08.03.00 --depth=1 https://github.com/facebookincubator/fizz.git src \
|
||||||
&& CXXFLAGS="-DGLOG_USE_GLOG_EXPORT" \
|
&& CXXFLAGS="-DGLOG_USE_GLOG_EXPORT" \
|
||||||
cmake -S src/fizz -B build -DCMAKE_BUILD_TYPE=Release \
|
cmake -G Ninja -S src/fizz -B build -DCMAKE_BUILD_TYPE=Release \
|
||||||
-DBUILD_EXAMPLES=OFF \
|
-DBUILD_EXAMPLES=OFF \
|
||||||
-DBUILD_SHARED_LIBS=OFF \
|
-DBUILD_SHARED_LIBS=OFF \
|
||||||
-DBUILD_TESTS=OFF \
|
-DBUILD_TESTS=OFF \
|
||||||
@@ -273,7 +273,7 @@ RUN git clone --branch=v2026.08.03.00 --depth=1 https://github.com/facebookincub
|
|||||||
|
|
||||||
RUN git clone --branch=v2026.08.03.00 --depth=1 https://github.com/facebook/wangle.git src \
|
RUN git clone --branch=v2026.08.03.00 --depth=1 https://github.com/facebook/wangle.git src \
|
||||||
&& CXXFLAGS="-DGLOG_USE_GLOG_EXPORT" \
|
&& CXXFLAGS="-DGLOG_USE_GLOG_EXPORT" \
|
||||||
cmake -S src/wangle -B build -DCMAKE_BUILD_TYPE=Release \
|
cmake -G Ninja -S src/wangle -B build -DCMAKE_BUILD_TYPE=Release \
|
||||||
-DBUILD_EXAMPLES=OFF \
|
-DBUILD_EXAMPLES=OFF \
|
||||||
-DBUILD_SHARED_LIBS=OFF \
|
-DBUILD_SHARED_LIBS=OFF \
|
||||||
-DBUILD_TESTS=OFF \
|
-DBUILD_TESTS=OFF \
|
||||||
@@ -283,7 +283,7 @@ RUN git clone --branch=v2026.08.03.00 --depth=1 https://github.com/facebook/wang
|
|||||||
|
|
||||||
RUN git clone --branch=v2026.08.03.00 --depth=1 https://github.com/facebook/mvfst.git src \
|
RUN git clone --branch=v2026.08.03.00 --depth=1 https://github.com/facebook/mvfst.git src \
|
||||||
&& CXXFLAGS="-DGLOG_USE_GLOG_EXPORT" \
|
&& CXXFLAGS="-DGLOG_USE_GLOG_EXPORT" \
|
||||||
cmake -S src -B build -DCMAKE_BUILD_TYPE=Release \
|
cmake -G Ninja -S src -B build -DCMAKE_BUILD_TYPE=Release \
|
||||||
-DBUILD_SAMPLES=OFF \
|
-DBUILD_SAMPLES=OFF \
|
||||||
-DBUILD_SHARED_LIBS=OFF \
|
-DBUILD_SHARED_LIBS=OFF \
|
||||||
-DBUILD_TESTS=OFF \
|
-DBUILD_TESTS=OFF \
|
||||||
@@ -294,7 +294,7 @@ RUN git clone --branch=v2026.08.03.00 --depth=1 https://github.com/facebook/mvfs
|
|||||||
|
|
||||||
RUN git clone --branch=v2026.08.03.00 --depth=1 https://github.com/facebook/fbthrift.git src \
|
RUN git clone --branch=v2026.08.03.00 --depth=1 https://github.com/facebook/fbthrift.git src \
|
||||||
&& CXXFLAGS="-DGLOG_USE_GLOG_EXPORT" \
|
&& CXXFLAGS="-DGLOG_USE_GLOG_EXPORT" \
|
||||||
cmake -S src -B build -DCMAKE_BUILD_TYPE=Release \
|
cmake -G Ninja -S src -B build -DCMAKE_BUILD_TYPE=Release \
|
||||||
-DBUILD_SHARED_LIBS=OFF \
|
-DBUILD_SHARED_LIBS=OFF \
|
||||||
-DCMAKE_POSITION_INDEPENDENT_CODE=ON \
|
-DCMAKE_POSITION_INDEPENDENT_CODE=ON \
|
||||||
-DTHRIFT_BENCHMARKS=OFF \
|
-DTHRIFT_BENCHMARKS=OFF \
|
||||||
@@ -309,7 +309,7 @@ COPY cachelib-optional-interface.patch /tmp/
|
|||||||
RUN git clone --branch=v2026.08.03.00 --depth=1 https://github.com/facebook/CacheLib.git src \
|
RUN git clone --branch=v2026.08.03.00 --depth=1 https://github.com/facebook/CacheLib.git src \
|
||||||
&& git -C src apply /tmp/cachelib-optional-interface.patch \
|
&& git -C src apply /tmp/cachelib-optional-interface.patch \
|
||||||
&& CXXFLAGS="-DGLOG_USE_GLOG_EXPORT" \
|
&& CXXFLAGS="-DGLOG_USE_GLOG_EXPORT" \
|
||||||
cmake -S src/cachelib -B build -DCMAKE_BUILD_TYPE=Release \
|
cmake -G Ninja -S src/cachelib -B build -DCMAKE_BUILD_TYPE=Release \
|
||||||
-DBOOST_LINK_STATIC=ON \
|
-DBOOST_LINK_STATIC=ON \
|
||||||
-DBUILD_SHARED_LIBS=OFF \
|
-DBUILD_SHARED_LIBS=OFF \
|
||||||
-DBUILD_TESTS=OFF \
|
-DBUILD_TESTS=OFF \
|
||||||
@@ -340,7 +340,7 @@ RUN curl --fail --location --output util-linux.tar.xz \
|
|||||||
&& rm -rf src
|
&& rm -rf src
|
||||||
|
|
||||||
RUN git clone --branch=v4.3.5 --depth=1 https://github.com/zeromq/libzmq.git src \
|
RUN git clone --branch=v4.3.5 --depth=1 https://github.com/zeromq/libzmq.git src \
|
||||||
&& cmake -S src -B build -DCMAKE_BUILD_TYPE=Release \
|
&& cmake -G Ninja -S src -B build -DCMAKE_BUILD_TYPE=Release \
|
||||||
-DBUILD_SHARED=OFF \
|
-DBUILD_SHARED=OFF \
|
||||||
-DBUILD_STATIC=ON \
|
-DBUILD_STATIC=ON \
|
||||||
-DBUILD_TESTS=OFF \
|
-DBUILD_TESTS=OFF \
|
||||||
@@ -356,7 +356,7 @@ RUN git clone --branch=v4.3.5 --depth=1 https://github.com/zeromq/libzmq.git src
|
|||||||
&& rm -rf build src
|
&& rm -rf build src
|
||||||
|
|
||||||
RUN git clone --branch=v4.2.1 --depth=1 https://github.com/zeromq/czmq.git src \
|
RUN git clone --branch=v4.2.1 --depth=1 https://github.com/zeromq/czmq.git src \
|
||||||
&& cmake -S src -B build -DCMAKE_BUILD_TYPE=Release \
|
&& cmake -G Ninja -S src -B build -DCMAKE_BUILD_TYPE=Release \
|
||||||
-DCMAKE_POSITION_INDEPENDENT_CODE=ON \
|
-DCMAKE_POSITION_INDEPENDENT_CODE=ON \
|
||||||
-DCZMQ_BUILD_SHARED=OFF \
|
-DCZMQ_BUILD_SHARED=OFF \
|
||||||
-DCZMQ_BUILD_STATIC=ON \
|
-DCZMQ_BUILD_STATIC=ON \
|
||||||
@@ -371,7 +371,7 @@ RUN git clone --branch=v4.2.1 --depth=1 https://github.com/zeromq/czmq.git src \
|
|||||||
&& rm -rf build src
|
&& rm -rf build src
|
||||||
|
|
||||||
RUN git clone --branch=1.9.8 --depth=1 https://github.com/open-source-parsers/jsoncpp.git src \
|
RUN git clone --branch=1.9.8 --depth=1 https://github.com/open-source-parsers/jsoncpp.git src \
|
||||||
&& cmake -S src -B build -DCMAKE_BUILD_TYPE=Release \
|
&& cmake -G Ninja -S src -B build -DCMAKE_BUILD_TYPE=Release \
|
||||||
-DBUILD_OBJECT_LIBS=OFF \
|
-DBUILD_OBJECT_LIBS=OFF \
|
||||||
-DBUILD_SHARED_LIBS=OFF \
|
-DBUILD_SHARED_LIBS=OFF \
|
||||||
-DBUILD_STATIC_LIBS=ON \
|
-DBUILD_STATIC_LIBS=ON \
|
||||||
@@ -383,7 +383,7 @@ RUN git clone --branch=1.9.8 --depth=1 https://github.com/open-source-parsers/js
|
|||||||
&& rm -rf build src
|
&& rm -rf build src
|
||||||
|
|
||||||
RUN git clone --branch=v2.15.0 --depth=1 https://github.com/confluentinc/librdkafka.git src \
|
RUN git clone --branch=v2.15.0 --depth=1 https://github.com/confluentinc/librdkafka.git src \
|
||||||
&& cmake -S src -B build -DCMAKE_BUILD_TYPE=Release \
|
&& cmake -G Ninja -S src -B build -DCMAKE_BUILD_TYPE=Release \
|
||||||
-DCMAKE_POSITION_INDEPENDENT_CODE=ON \
|
-DCMAKE_POSITION_INDEPENDENT_CODE=ON \
|
||||||
-DENABLE_LZ4_EXT=OFF \
|
-DENABLE_LZ4_EXT=OFF \
|
||||||
-DRDKAFKA_BUILD_EXAMPLES=OFF \
|
-DRDKAFKA_BUILD_EXAMPLES=OFF \
|
||||||
@@ -399,7 +399,7 @@ RUN git clone --branch=v2.15.0 --depth=1 https://github.com/confluentinc/librdka
|
|||||||
&& rm -rf build src
|
&& rm -rf build src
|
||||||
|
|
||||||
RUN git clone --branch=json-c-0.19-20260627 --depth=1 https://github.com/json-c/json-c.git src \
|
RUN git clone --branch=json-c-0.19-20260627 --depth=1 https://github.com/json-c/json-c.git src \
|
||||||
&& cmake -S src -B build -DCMAKE_BUILD_TYPE=Release \
|
&& cmake -G Ninja -S src -B build -DCMAKE_BUILD_TYPE=Release \
|
||||||
-DBUILD_APPS=OFF \
|
-DBUILD_APPS=OFF \
|
||||||
-DBUILD_SHARED_LIBS=OFF \
|
-DBUILD_SHARED_LIBS=OFF \
|
||||||
-DBUILD_STATIC_LIBS=ON \
|
-DBUILD_STATIC_LIBS=ON \
|
||||||
@@ -410,7 +410,7 @@ RUN git clone --branch=json-c-0.19-20260627 --depth=1 https://github.com/json-c/
|
|||||||
&& rm -rf build src
|
&& rm -rf build src
|
||||||
|
|
||||||
RUN git clone --branch=v1.1.0 --depth=1 https://github.com/Tencent/rapidjson.git src \
|
RUN git clone --branch=v1.1.0 --depth=1 https://github.com/Tencent/rapidjson.git src \
|
||||||
&& cmake -S src -B build -DCMAKE_BUILD_TYPE=Release \
|
&& cmake -G Ninja -S src -B build -DCMAKE_BUILD_TYPE=Release \
|
||||||
-DRAPIDJSON_BUILD_DOC=OFF \
|
-DRAPIDJSON_BUILD_DOC=OFF \
|
||||||
-DRAPIDJSON_BUILD_EXAMPLES=OFF \
|
-DRAPIDJSON_BUILD_EXAMPLES=OFF \
|
||||||
-DRAPIDJSON_BUILD_TESTS=OFF \
|
-DRAPIDJSON_BUILD_TESTS=OFF \
|
||||||
@@ -418,7 +418,7 @@ RUN git clone --branch=v1.1.0 --depth=1 https://github.com/Tencent/rapidjson.git
|
|||||||
&& rm -rf build src
|
&& rm -rf build src
|
||||||
|
|
||||||
RUN git clone --branch=curl-8_21_0 --depth=1 https://github.com/curl/curl.git src \
|
RUN git clone --branch=curl-8_21_0 --depth=1 https://github.com/curl/curl.git src \
|
||||||
&& cmake -S src -B build -DCMAKE_BUILD_TYPE=Release \
|
&& cmake -G Ninja -S src -B build -DCMAKE_BUILD_TYPE=Release \
|
||||||
-DBUILD_CURL_EXE=OFF \
|
-DBUILD_CURL_EXE=OFF \
|
||||||
-DBUILD_EXAMPLES=OFF \
|
-DBUILD_EXAMPLES=OFF \
|
||||||
-DBUILD_LIBCURL_DOCS=OFF \
|
-DBUILD_LIBCURL_DOCS=OFF \
|
||||||
@@ -442,7 +442,7 @@ RUN git clone --branch=curl-8_21_0 --depth=1 https://github.com/curl/curl.git sr
|
|||||||
&& rm -rf build src
|
&& rm -rf build src
|
||||||
|
|
||||||
RUN git clone --branch=v1.4.1 --depth=1 https://github.com/redis/hiredis.git src \
|
RUN git clone --branch=v1.4.1 --depth=1 https://github.com/redis/hiredis.git src \
|
||||||
&& cmake -S src -B build -DCMAKE_BUILD_TYPE=Release \
|
&& cmake -G Ninja -S src -B build -DCMAKE_BUILD_TYPE=Release \
|
||||||
-DBUILD_SHARED_LIBS=OFF \
|
-DBUILD_SHARED_LIBS=OFF \
|
||||||
-DCMAKE_POSITION_INDEPENDENT_CODE=ON \
|
-DCMAKE_POSITION_INDEPENDENT_CODE=ON \
|
||||||
-DENABLE_ASYNC_TESTS=OFF \
|
-DENABLE_ASYNC_TESTS=OFF \
|
||||||
@@ -516,7 +516,7 @@ RUN curl --fail --location --output gnutls.tar.xz \
|
|||||||
&& rm -rf src
|
&& rm -rf src
|
||||||
|
|
||||||
RUN git clone --branch=1.13.3 --depth=1 https://github.com/maxmind/libmaxminddb.git src \
|
RUN git clone --branch=1.13.3 --depth=1 https://github.com/maxmind/libmaxminddb.git src \
|
||||||
&& cmake -S src -B build -DCMAKE_BUILD_TYPE=Release \
|
&& cmake -G Ninja -S src -B build -DCMAKE_BUILD_TYPE=Release \
|
||||||
-DBUILD_SHARED_LIBS=OFF \
|
-DBUILD_SHARED_LIBS=OFF \
|
||||||
-DBUILD_TESTING=OFF \
|
-DBUILD_TESTING=OFF \
|
||||||
-DCMAKE_POSITION_INDEPENDENT_CODE=ON \
|
-DCMAKE_POSITION_INDEPENDENT_CODE=ON \
|
||||||
@@ -534,7 +534,7 @@ RUN git clone --branch=0.2.5 --depth=1 https://github.com/yaml/libyaml.git src \
|
|||||||
&& rm -rf src
|
&& rm -rf src
|
||||||
|
|
||||||
RUN git clone --branch=v2.15.3 --depth=1 https://gitlab.gnome.org/GNOME/libxml2.git src \
|
RUN git clone --branch=v2.15.3 --depth=1 https://gitlab.gnome.org/GNOME/libxml2.git src \
|
||||||
&& cmake -S src -B build -DCMAKE_BUILD_TYPE=Release \
|
&& cmake -G Ninja -S src -B build -DCMAKE_BUILD_TYPE=Release \
|
||||||
-DBUILD_SHARED_LIBS=OFF \
|
-DBUILD_SHARED_LIBS=OFF \
|
||||||
-DCMAKE_POSITION_INDEPENDENT_CODE=ON \
|
-DCMAKE_POSITION_INDEPENDENT_CODE=ON \
|
||||||
-DLIBXML2_WITH_DOCS=OFF \
|
-DLIBXML2_WITH_DOCS=OFF \
|
||||||
@@ -548,7 +548,7 @@ RUN git clone --branch=v2.15.3 --depth=1 https://gitlab.gnome.org/GNOME/libxml2.
|
|||||||
&& rm -rf build src
|
&& rm -rf build src
|
||||||
|
|
||||||
RUN git clone --branch=1.3.15 --depth=1 https://github.com/sewenew/redis-plus-plus.git src \
|
RUN git clone --branch=1.3.15 --depth=1 https://github.com/sewenew/redis-plus-plus.git src \
|
||||||
&& cmake -S src -B build -DCMAKE_BUILD_TYPE=Release \
|
&& cmake -G Ninja -S src -B build -DCMAKE_BUILD_TYPE=Release \
|
||||||
-DREDIS_PLUS_PLUS_BUILD_SHARED=OFF \
|
-DREDIS_PLUS_PLUS_BUILD_SHARED=OFF \
|
||||||
-DREDIS_PLUS_PLUS_BUILD_STATIC=ON \
|
-DREDIS_PLUS_PLUS_BUILD_STATIC=ON \
|
||||||
-DREDIS_PLUS_PLUS_BUILD_STATIC_WITH_PIC=ON \
|
-DREDIS_PLUS_PLUS_BUILD_STATIC_WITH_PIC=ON \
|
||||||
|
|||||||
Reference in new issue
Block a user