Skip to content

Commit

Permalink
Revert "build: do not provide zlib as an ingredient"
Browse files Browse the repository at this point in the history
This reverts commit 03cf327.

In that commit zlib was dropped. But Protobuf still depends on it. Which will make cooking.sh error.

This commit adds zlib back.

Closes #2135
  • Loading branch information
lixin-wei authored and nyh committed Mar 12, 2024
1 parent 98c909b commit 6b7b16a
Showing 1 changed file with 8 additions and 0 deletions.
8 changes: 8 additions & 0 deletions cooking_recipe.cmake
Original file line number Diff line number Diff line change
Expand Up @@ -119,6 +119,14 @@ cooking_ingredient (numactl
BUILD_COMMAND <DISABLE>
INSTALL_COMMAND ${make_command} install)

cooking_ingredient (zlib
EXTERNAL_PROJECT_ARGS
URL https://github.com/madler/zlib/releases/download/v1.2.13/zlib-1.2.13.tar.gz
URL_MD5 9b8aa094c4e5765dabf4da391f00d15c
CONFIGURE_COMMAND <SOURCE_DIR>/configure --prefix=<INSTALL_DIR>
BUILD_COMMAND <DISABLE>
INSTALL_COMMAND ${make_command} install)

##
## Private and private/public dependencies.
##
Expand Down

0 comments on commit 6b7b16a

Please sign in to comment.