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 15D206ECE3; Wed, 13 Jul 2022 13:10:55 +0300 (MSK) DKIM-Filter: OpenDKIM Filter v2.11.0 dev.tarantool.org 15D206ECE3 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=tarantool.org; s=dev; t=1657707055; bh=YbIcofhXrCOqMJAF/Jqzbv1QhGHRB8xJvdZiGfohF0E=; h=Date:To:References:In-Reply-To:Subject:List-Id:List-Unsubscribe: List-Archive:List-Post:List-Help:List-Subscribe:From:Reply-To:Cc: From; b=FxmBAiwhsKi2cX4Bpz6tGrg9GvLW+pmu1vU9dN93oLUe6c+zsP3IiDhGk2AAzzgIm IdlSKbun1rnUHcHU+Ken1+sY70QJN0AycshFk40lFCNfYVW4WeOxyxB3y9acs9pMYJ /QYWs32PLVgUruG2YRRkHiHWyXOnbvfQK+5TmIPg= Received: from smtpng2.i.mail.ru (smtpng2.i.mail.ru [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 4CBCD6ECE3 for ; Wed, 13 Jul 2022 13:10:54 +0300 (MSK) DKIM-Filter: OpenDKIM Filter v2.11.0 dev.tarantool.org 4CBCD6ECE3 Received: by smtpng2.m.smailru.net with esmtpa (envelope-from ) id 1oBZKX-0000EF-89; Wed, 13 Jul 2022 13:10:53 +0300 Date: Wed, 13 Jul 2022 13:10:49 +0300 To: Sergey Bronnikov Message-ID: References: <62acf609d9e1ea43d95cb27213e1b8f1331b57a7.1656685987.git.sergeyb@tarantool.org> MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Disposition: inline In-Reply-To: <62acf609d9e1ea43d95cb27213e1b8f1331b57a7.1656685987.git.sergeyb@tarantool.org> X-Clacks-Overhead: GNU Terry Pratchett X-Mailru-Src: smtp X-4EC0790: 10 X-7564579A: 646B95376F6C166E X-77F55803: 4F1203BC0FB41BD9BCA415BD41350256CA927C7DF12EC75E3214C4F6A6CB0C2E182A05F538085040C856ED3EDB3796F7F6C3A6D4724A6C23A099CE066F698D14E5D942BCDF373C0D X-7FA49CB5: FF5795518A3D127A4AD6D5ED66289B5278DA827A17800CE7F2393C4755A27B53EA1F7E6F0F101C67BD4B6F7A4D31EC0BCC500DACC3FED6E28638F802B75D45FF8AA50765F7900637F91103FA893F53AB8638F802B75D45FF36EB9D2243A4F8B5A6FCA7DBDB1FC311F39EFFDF887939037866D6147AF826D81C8E0E65E3C9B113478C39A47A8572DA117882F4460429724CE54428C33FAD305F5C1EE8F4F765FCCC99A7B061B94ED7A471835C12D1D9774AD6D5ED66289B52BA9C0B312567BB23117882F446042972877693876707352033AC447995A7AD1828451B159A507268D2E47CDBA5A96583BA9C0B312567BB231DD303D21008E29813377AFFFEAFD269A417C69337E82CC2E827F84554CEF50127C277FBC8AE2E8BA83251EDC214901ED5E8D9A59859A8B6AC294AFEFA671E80089D37D7C0E48F6C5571747095F342E88FB05168BE4CE3AF X-8FC586DF: 6EFBBC1D9D64D975 X-C1DE0DAB: 9604B64F49C60606AD91A466A1DEF99B296C473AB1E142185AC9E3593CE4B31AB1881A6453793CE9274300E5CE05BD4401A9E91200F654B08B38D1BE91256DA7EEDD2DF4914E7A12DEB266286CF2877DE872A3B6E9EA649B9C2B6934AE262D3EE7EAB7254005DCED8DA55E71E02F9FC08E8E86DC7131B365E7726E8460B7C23C X-C8649E89: 4E36BF7865823D7055A7F0CF078B5EC49A30900B95165D34AE88D5ADEBE7C9831256879B1DE8443B181E0037F477E9CF47A648A661A1A10A8ED9185DC71EB5B61D7E09C32AA3244C1B516367E84FED85231833ECD261A06C5595C85A795C7BAE83B48618A63566E0 X-D57D3AED: 3ZO7eAau8CL7WIMRKs4sN3D3tLDjz0dLbV79QFUyzQ2Ujvy7cMT6pYYqY16iZVKkSc3dCLJ7zSJH7+u4VD18S7Vl4ZUrpaVfd2+vE6kuoey4m4VkSEu530nj6fImhcD4MUrOEAnl0W826KZ9Q+tr5ycPtXkTV4k65bRjmOUUP8cvGozZ33TWg5HZplvhhXbhDGzqmQDTd6OAevLeAnq3Ra9uf7zvY2zzsIhlcp/Y7m53TZgf2aB4JOg4gkr2biojpV6+aF9js38Nrnieb7B/GQ== X-Mailru-Sender: 689FA8AB762F7393CC2E0F076E87284E2184F64327022E948B6BAA464C65038BA7C8D0F45F857DBFE9F1EFEE2F478337FB559BB5D741EB964C8C2C849690F8E70A04DAD6CC59E3365FEEDEB644C299C0ED14614B50AE0675 X-Mras: Ok Subject: Re: [Tarantool-patches] [PATCH] build: configure parallel jobs 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" Sergey, I've checked the patch into all long-term branches in tarantool/luajit and bumped a new version in master, 2.10 and 1.10. On 01.07.22, Sergey Bronnikov wrote: > lua-Harness and tarantool testsuites uses a prove(1) for running tests. > prove(1) allows to run tests in parallel with option "--jobs" [1]. > > In CMake it is not possible to get a number of parallel jobs in CMake > passed by user with option "-j", but it allows to pass a number of > parallel jobs with environment variable CMAKE_BUILD_PARALLEL_LEVEL [2] > on configuration phase. We use a value set by that environment variable > and set it to a number of CPU threads when it was not specified by user. > Number of CPU threads detected using builtin CMake function [3]. > > NOTE: CMAKE_BUILD_PARALLEL_LEVEL has been added in a version 3.12. > > 1. https://perldoc.perl.org/prove > 2. https://cmake.org/cmake/help/latest/envvar/CMAKE_BUILD_PARALLEL_LEVEL.html > 3. https://cmake.org/cmake/help/latest/module/ProcessorCount.html > --- > > Branch: https://github.com/tarantool/luajit/tree/ligurio/prove-in-parallel > CI: https://github.com/tarantool/luajit/commit/62acf609d9e1ea43d95cb27213e1b8f1331b57a7 > > test/CMakeLists.txt | 13 +++++++++++++ > test/lua-Harness-tests/CMakeLists.txt | 1 + > test/tarantool-tests/CMakeLists.txt | 1 + > 3 files changed, 15 insertions(+) > > -- > 2.25.1 > -- Best regards, IM