From 6b7b16a8a329d831b94fdd4b41f6f55b260e9afd Mon Sep 17 00:00:00 2001 From: Lixin Wei Date: Mon, 11 Mar 2024 12:31:07 +0800 Subject: [PATCH] Revert "build: do not provide zlib as an ingredient" This reverts commit 03cf327720055a7d325a891d7bdc28ac7c060978. 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 --- cooking_recipe.cmake | 8 ++++++++ 1 file changed, 8 insertions(+) diff --git a/cooking_recipe.cmake b/cooking_recipe.cmake index d1ba57c568..7f0a6f8957 100644 --- a/cooking_recipe.cmake +++ b/cooking_recipe.cmake @@ -119,6 +119,14 @@ cooking_ingredient (numactl BUILD_COMMAND 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 /configure --prefix= + BUILD_COMMAND + INSTALL_COMMAND ${make_command} install) + ## ## Private and private/public dependencies. ##