From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from [87.239.111.99] (localhost [127.0.0.1]) by dev.tarantool.org (Postfix) with ESMTP id 89C4170310; Wed, 27 Jan 2021 19:42:47 +0300 (MSK) DKIM-Filter: OpenDKIM Filter v2.11.0 dev.tarantool.org 89C4170310 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=tarantool.org; s=dev; t=1611765767; bh=aXlwiBKdsuAws/Pe/+snUxUF1mW3/Zx9Z5Mwif52J0E=; h=To:Date:Subject:List-Id:List-Unsubscribe:List-Archive:List-Post: List-Help:List-Subscribe:From:Reply-To:From; b=Tt10m55So9+HPAQMKFmOViB153jXrjuTnr++VhmJoa9CF/JWbxL8JXDbgpxvVjkF/ RsDfR3l06TtWzFF1WPJcz0qf+zcdUOPTyb67QHuhYoh2W8zhNk/kDROWQTNGnfUMCI UQsGlHQ8B9hCjhK92r6ZLGTBCYk5+tm2V8ELXcjI= Received: from smtpng2.m.smailru.net (smtpng2.m.smailru.net [94.100.179.3]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by dev.tarantool.org (Postfix) with ESMTPS id E7A7970310 for ; Wed, 27 Jan 2021 19:42:45 +0300 (MSK) DKIM-Filter: OpenDKIM Filter v2.11.0 dev.tarantool.org E7A7970310 Received: by smtpng2.m.smailru.net with esmtpa (envelope-from ) id 1l4nu0-00086Z-NF; Wed, 27 Jan 2021 19:42:45 +0300 To: tarantool-patches@dev.tarantool.org, alexander.turenko@tarantool.org Date: Wed, 27 Jan 2021 19:37:01 +0300 Message-Id: <4a34a0310b2529d4d85c534eb05802b0d7076c9b.1611765145.git.sergeyb@tarantool.org> X-Mailer: git-send-email 2.25.1 MIME-Version: 1.0 Content-Transfer-Encoding: 8bit X-7564579A: 646B95376F6C166E X-77F55803: 4F1203BC0FB41BD92BC6D7A73B5E1EC98EC91D74BAC48C3C5ED0B073A515FC4C00894C459B0CD1B9073548A0169D0FD8C3ABE49812146F7EA830944DF274A0438221C18B3D1622A4 X-7FA49CB5: FF5795518A3D127A4AD6D5ED66289B5278DA827A17800CE7466896EF24E80F12EA1F7E6F0F101C67BD4B6F7A4D31EC0BCC500DACC3FED6E28638F802B75D45FF8AA50765F790063776672C316918EFDB8638F802B75D45FF5571747095F342E8C7A0BC55FA0FE5FCF9A1F3F115CE12C8282A28F47EBED8685D14E22E99ACEB4D389733CBF5DBD5E913377AFFFEAFD269176DF2183F8FC7C008ED818AD11EC8E48941B15DA834481FCF19DD082D7633A0EF3E4896CB9E6436389733CBF5DBD5E9D5E8D9A59859A8B636DA1BED736F9328CC7F00164DA146DA6F5DAA56C3B73B23C77107234E2CFBA567F23339F89546C55F5C1EE8F4F765FCFBB866FF91168F3075ECD9A6C639B01BBD4B6F7A4D31EC0BC0CAF46E325F83A522CA9DD8327EE493B89ED3C7A6281781D028CC0B556B22BCC4224003CC836476C0CAF46E325F83A50BF2EBBBDD9D6B0F05F538519369F3743B503F486389A921A5CC5B56E945C8DA X-C1DE0DAB: C20DE7B7AB408E4181F030C43753B8186998911F362727C414F749A5E30D975CEC4A33FB89DC571C1DC0F16C8A3B1E97F8F7966038E8A75F9C2B6934AE262D3EE7EAB7254005DCED42F351B7DEC6346B1E0A4E2319210D9B64D260DF9561598F01A9E91200F654B0279E343DB675BB2F8E8E86DC7131B365E7726E8460B7C23C X-C8649E89: 4E36BF7865823D7055A7F0CF078B5EC49A30900B95165D34CC972AA0E2E780C4E4AD40B92A81B50376FCB4ACF7445F566E2244065542479887D8DF3D6B57786E1D7E09C32AA3244CDB8F6555E201C5DE8D1D97AA0E9B122735DA7DC5AF9B58C0FACE5A9C96DEB163 X-D57D3AED: 3ZO7eAau8CL7WIMRKs4sN3D3tLDjz0dLbV79QFUyzQ2Ujvy7cMT6pYYqY16iZVKkSc3dCLJ7zSJH7+u4VD18S7Vl4ZUrpaVfd2+vE6kuoey4m4VkSEu530nj6fImhcD4MUrOEAnl0W826KZ9Q+tr5ycPtXkTV4k65bRjmOUUP8cvGozZ33TWg5HZplvhhXbhDGzqmQDTd6OAevLeAnq3Ra9uf7zvY2zzsIhlcp/Y7m53TZgf2aB4JOg4gkr2bioj5ZUBkD5pAd++HquLRVl2HQ== X-Mailru-Sender: 689FA8AB762F73936BC43F508A0638227B08F59F0AC3E5E6CBCE211DF3FE2449DD788429FD8613638ED9BB8B05EE7B3AFB559BB5D741EB96D19CD4E7312BAA970A04DAD6CC59E33667EA787935ED9F1B X-Mras: Ok Subject: [Tarantool-patches] [PATCH v1] static-build: use hashes of downloaded files X-BeenThere: tarantool-patches@dev.tarantool.org X-Mailman-Version: 2.1.34 Precedence: list List-Id: Tarantool development patches List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , From: Sergey Bronnikov via Tarantool-patches Reply-To: sergeyb@tarantool.org Errors-To: tarantool-patches-bounces@dev.tarantool.org Sender: "Tarantool-patches" From: Sergey Bronnikov Using hashes in ExternalProject_Add() [1] allows to avoid extra downloads on rebuilds. 1. https://cmake.org/cmake/help/latest/module/ExternalProject.html Closes #5761 --- Gitlab CI: https://gitlab.com/tarantool/tarantool/-/pipelines/247666614 Branch: ligurio/gh-5761-hashes Issue: https://github.com/tarantool/tarantool/issues/5761 static-build/CMakeLists.txt | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/static-build/CMakeLists.txt b/static-build/CMakeLists.txt index 9a2f85052..39cb321d0 100644 --- a/static-build/CMakeLists.txt +++ b/static-build/CMakeLists.txt @@ -40,6 +40,7 @@ endif() # ExternalProject_Add(openssl URL https://www.openssl.org/source/openssl-${OPENSSL_VERSION}.tar.gz + URL_MD5 3f486f2f4435ef14b81814dbbc7b48bb CONFIGURE_COMMAND /config CC=${CMAKE_C_COMPILER} CXX=${CMAKE_CXX_COMPILER} @@ -84,6 +85,7 @@ ExternalProject_Add(icu # ExternalProject_Add(zlib URL https://zlib.net/zlib-${ZLIB_VERSION}.tar.gz + URL_MD5 1c9f62f0778697a09d36121ead88e08e CONFIGURE_COMMAND env CC=${CMAKE_C_COMPILER} CFLAGS=${DEPENDENCY_CFLAGS} @@ -99,6 +101,7 @@ ExternalProject_Add(zlib # ExternalProject_Add(ncurses URL https://ftp.gnu.org/gnu/ncurses/ncurses-${NCURSES_VERSION}.tar.gz + URL_MD5 e812da327b1c2214ac1aed440ea3ae8d CONFIGURE_COMMAND /configure CC=${CMAKE_C_COMPILER} CXX=${CMAKE_CXX_COMPILER} @@ -132,6 +135,7 @@ ExternalProject_Add(ncurses # ExternalProject_Add(readline URL https://ftp.gnu.org/gnu/readline/readline-${READLINE_VERSION}.tar.gz + URL_MD5 7e6c1f16aee3244a69aba6e438295ca3 CONFIGURE_COMMAND /configure CC=${CMAKE_C_COMPILER} CFLAGS=${DEPENDENCY_CFLAGS} @@ -241,6 +245,7 @@ if (APPLE) else() ExternalProject_Add(unwind URL https://download.savannah.nongnu.org/releases/libunwind/libunwind-${UNWIND_VERSION}.tar.gz + URL_MD5 f09b670de5db6430a3de666e6aed60e3 CONFIGURE_COMMAND /configure CC=${CMAKE_C_COMPILER} CXX=${CMAKE_CXX_COMPILER} -- 2.25.1