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 3B6F86C7D3; Thu, 4 Feb 2021 02:22:24 +0300 (MSK) DKIM-Filter: OpenDKIM Filter v2.11.0 dev.tarantool.org 3B6F86C7D3 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=tarantool.org; s=dev; t=1612394544; bh=YzTqW+j1m01KxkpDJqW60BxUWGvWirkkB2bhxG4E7uI=; h=To:Date:Subject:List-Id:List-Unsubscribe:List-Archive:List-Post: List-Help:List-Subscribe:From:Reply-To:Cc:From; b=bHtz0jUjlOs0PDsNpqpxtJohiIvs8r+UdilnGXqV2kAiVv300t+3O9bBbiDCb5NO/ 1/ev0LgmsCAOTj/VlrZBVzQwq0NFOqmqQ+Z4jjMziJ3oEmQkmXGqaXrfQvBcOyLtDe 4ve9UwunlpvmC/yd9v4K71atoxBmxwgZTgG1RpM8= Received: from smtpng1.m.smailru.net (smtpng1.m.smailru.net [94.100.181.251]) (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 EE9B36C7D3 for ; Thu, 4 Feb 2021 02:22:22 +0300 (MSK) DKIM-Filter: OpenDKIM Filter v2.11.0 dev.tarantool.org EE9B36C7D3 Received: by smtpng1.m.smailru.net with esmtpa (envelope-from ) id 1l7RTZ-0008Pr-C9; Thu, 04 Feb 2021 02:22:21 +0300 To: Sergey Kaplun , Timur Safin Date: Thu, 4 Feb 2021 02:22:14 +0300 Message-Id: X-Mailer: git-send-email 2.25.0 MIME-Version: 1.0 Content-Transfer-Encoding: 8bit X-7564579A: 646B95376F6C166E X-77F55803: 4F1203BC0FB41BD953AC099BC0052A9C4647521586BE7E6324520D2A088600D8182A05F53808504070EAC082888D1F1AF440DF2049687577D5C33B63EB8FB6C27B1631F87F284D1B X-7FA49CB5: FF5795518A3D127A4AD6D5ED66289B5278DA827A17800CE79145AB6E9E75F07EEA1F7E6F0F101C67BD4B6F7A4D31EC0BCC500DACC3FED6E28638F802B75D45FF8AA50765F7900637FACF2191C0719DEE8638F802B75D45FF5571747095F342E8C7A0BC55FA0FE5FC5A75D8C6D2262C88299A80B840086502DC0E4101CE360B65389733CBF5DBD5E913377AFFFEAFD269176DF2183F8FC7C04CF195F1528592878941B15DA834481FCF19DD082D7633A0EF3E4896CB9E6436389733CBF5DBD5E9D5E8D9A59859A8B6A70DDFFB3186CBC5CC7F00164DA146DA6F5DAA56C3B73B23C77107234E2CFBA567F23339F89546C55F5C1EE8F4F765FC3BBA039523A4428275ECD9A6C639B01BBD4B6F7A4D31EC0BC0CAF46E325F83A522CA9DD8327EE4931B544F03EFBC4D5725A4AB119743A3B3C4224003CC836476C0CAF46E325F83A50BF2EBBBDD9D6B0F05F538519369F3743B503F486389A921A5CC5B56E945C8DA X-C1DE0DAB: C20DE7B7AB408E4181F030C43753B8186998911F362727C414F749A5E30D975C823F58AE0C7795A95347F0DDCC5F916A71D91BF702BBA71D9C2B6934AE262D3EE7EAB7254005DCED263A3F48722EB2C01E0A4E2319210D9B64D260DF9561598F01A9E91200F654B0CCA28C6D779E2CD78E8E86DC7131B365E7726E8460B7C23C X-C8649E89: 4E36BF7865823D7055A7F0CF078B5EC49A30900B95165D348F9E8EBB46231487BC1CC710986B8789C9E7D3A72B49EFCF6D5367E1C5E53CF6CE221B4039FD16AC1D7E09C32AA3244CE37DCB21DD2A97FCF31C5AAB4B704EFE5595C85A795C7BAE927AC6DF5659F194 X-D57D3AED: 3ZO7eAau8CL7WIMRKs4sN3D3tLDjz0dLbV79QFUyzQ2Ujvy7cMT6pYYqY16iZVKkSc3dCLJ7zSJH7+u4VD18S7Vl4ZUrpaVfd2+vE6kuoey4m4VkSEu530nj6fImhcD4MUrOEAnl0W826KZ9Q+tr5ycPtXkTV4k65bRjmOUUP8cvGozZ33TWg5HZplvhhXbhDGzqmQDTd6OAevLeAnq3Ra9uf7zvY2zzsIhlcp/Y7m53TZgf2aB4JOg4gkr2biojSeaWuhK039IsKv9UIFRJhw== X-Mailru-Sender: 689FA8AB762F73936BC43F508A06382236E2E792597412C9D58B727FC0498A8AA7C8D0F45F857DBFE9F1EFEE2F478337FB559BB5D741EB964C8C2C849690F8E70A04DAD6CC59E33667EA787935ED9F1B X-Mras: Ok Subject: [Tarantool-patches] [PATCH 0/3] Adjust LuaJIT build system 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: Igor Munkin via Tarantool-patches Reply-To: Igor Munkin Cc: tarantool-patches@dev.tarantool.org Errors-To: tarantool-patches-bounces@dev.tarantool.org Sender: "Tarantool-patches" The first patch of this series fixes the inaccuracy for out of source build type. If Lua source path given to function is relative, the output file is generated in the binary directory. At the same time if the given path to be compiled to *.lua.c is absolute, the output file is generated in source directory instead of the binary one. In scope of the second patch the module for building the bundled LuaJIT is completely reworked considering the changes made in LuaJIT repo[1]. The last patch adds LuaJIT tests to every CI job type except the one for static build testing routine on OSX: there is no way to run LuaJIT tests for out of source build on OSX due to SIP[2]. [1]: https://lists.tarantool.org/tarantool-patches/cover.1612291495.git.imun@tarantool.org/T/#t [2]: https://developer.apple.com/library/archive/documentation/Security/Conceptual/System_Integrity_Protection_Guide/FileSystemProtections/FileSystemProtections.html Branch: https://github.com/tarantool/tarantool/tree/imun/gh-4862-cmake-full-ci Issues: * https://github.com/tarantool/tarantool/issues/4862 * https://github.com/tarantool/tarantool/issues/5470 CI is not green since OSX 11 is pretty stormy today. Hope it will be fine the day when the changeset is merged into the trunk. @ChangeLog: * Port LuaJIT build system to CMake and make its testing environment self-sufficient (gh-4862, gh-5470). Igor Munkin (3): build: fix lua.c file generation build: adjust LuaJIT build system ci: enable LuaJIT tests in CI .luacheckrc | 1 - .travis.mk | 20 +++ CMakeLists.txt | 2 +- cmake/luajit.cmake | 375 ++++++++++++-------------------------------- cmake/luatest.cpp | 80 ---------- cmake/utils.cmake | 6 +- debian/control | 2 + rpm/tarantool.spec | 2 + src/CMakeLists.txt | 28 ++-- test/CMakeLists.txt | 18 +-- third_party/luajit | 2 +- 11 files changed, 143 insertions(+), 393 deletions(-) delete mode 100644 cmake/luatest.cpp -- 2.25.0