diff --git a/docs/src/dev-guide/components-core/index.md b/docs/src/dev-guide/components-core/index.md index 6fc4b78f98..a8d36d8c87 100644 --- a/docs/src/dev-guide/components-core/index.md +++ b/docs/src/dev-guide/components-core/index.md @@ -42,6 +42,7 @@ The task will download, build, and install (within the build directory) the foll | [fmt](https://github.com/fmtlib/fmt) | v10.2.1 | | [json](https://github.com/nlohmann/json.git) | v3.11.3 | | [log-surgeon](https://github.com/y-scope/log-surgeon) | f801a3f | +| [liblzma](https://github.com/tukaani-project/xz) | v5.8.1 | | [lz4](https://github.com/lz4/lz4) | v1.10.0 | | [mongo-cxx-driver](https://github.com/mongodb/mongo-cxx-driver) | r3.10.2 | | [simdjson](https://github.com/simdjson/simdjson) | v3.13.0 | @@ -51,6 +52,7 @@ The task will download, build, and install (within the build directory) the foll | [yaml-cpp](https://github.com/jbeder/yaml-cpp.git) | v0.7.0 | | [yscope-log-viewer](https://github.com/y-scope/yscope-log-viewer.git) | 969ff35 | | [ystdlib-cpp](https://github.com/y-scope/ystdlib-cpp.git) | d80cf86 | +| [zlib](https://github.com/madler/zlib) | v1.3.1 | | [zstd](https://github.com/facebook/zstd) | v1.5.7 | ### Environment diff --git a/taskfiles/deps/main.yaml b/taskfiles/deps/main.yaml index 51c6e0a365..ec97e1e273 100644 --- a/taskfiles/deps/main.yaml +++ b/taskfiles/deps/main.yaml @@ -78,6 +78,7 @@ tasks: - task: "utfcpp" - task: "yaml-cpp" - task: "ystdlib" + - task: "zlib" - task: "zstd" absl: @@ -484,6 +485,24 @@ tasks: CLP_YSTDLIB_SOURCE_DIRECTORY \"{{.YSTDLIB_OUTPUT_DIR}}\" )" > "{{.G_DEPS_CORE_CMAKE_SETTINGS_DIR}}/{{.LIB_NAME}}.cmake" + zlib: + internal: true + vars: + LIB_NAME: "zlib" + run: "once" + cmds: + - task: "utils:install-remote-cmake-lib" + vars: + CMAKE_GEN_ARGS: + - "-DBUILD_SHARED_LIBS=ON" + - "-DCMAKE_BUILD_TYPE=Release" + - "-DCMAKE_INSTALL_MESSAGE=LAZY" + - "-DCMAKE_INSTALL_PREFIX={{.G_DEPS_CORE_DIR}}/{{.LIB_NAME}}-install" + - "-DZLIB_BUILD_EXAMPLES=OFF" + LIB_NAME: "{{.LIB_NAME}}" + TARBALL_SHA256: "9a93b2b7dfdac77ceba5a558a580e74667dd6fede4585b91eefb60f03b72df23" + TARBALL_URL: "https://github.com/madler/zlib/releases/download/v1.3.1/zlib-1.3.1.tar.gz" + zstd: internal: true run: "once"