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 51DAB6ECE3; Wed, 6 Jul 2022 00:25:22 +0300 (MSK) DKIM-Filter: OpenDKIM Filter v2.11.0 dev.tarantool.org 51DAB6ECE3 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=tarantool.org; s=dev; t=1657056322; bh=qw8t9NbgeXu5iefIWUbZ1TafyRqq1xoQNoiAlPa609M=; 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=J+btc33VVaWE/Hn2BAniFNobbe88bPUZ0C0Yk7XDYQglFyc1bFh+ahcTArdComMjO gKphUcLqSphk/6VcKuGqZaPnlgwxMmATohQVftPItUT6axPhkWTn/6ADkCEsNvjdFV 0y+sNDTbr7Eaipfvb5KmXu0wZcgN8T4yO5VNr9Go= 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 E152D6ECE3 for ; Wed, 6 Jul 2022 00:25:19 +0300 (MSK) DKIM-Filter: OpenDKIM Filter v2.11.0 dev.tarantool.org E152D6ECE3 Received: by smtpng2.m.smailru.net with esmtpa (envelope-from ) id 1o8q2p-0001sz-28; Wed, 06 Jul 2022 00:25:19 +0300 Date: Wed, 6 Jul 2022 00:25:17 +0300 To: Sergey Bronnikov Message-ID: References: <024281fade12f71b734aece21637ea09c11bc759.1655911291.git.imun@tarantool.org> <973f58ca-bcad-cc1b-7e8c-5536008d7fc1@tarantool.org> MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Disposition: inline In-Reply-To: <973f58ca-bcad-cc1b-7e8c-5536008d7fc1@tarantool.org> X-Clacks-Overhead: GNU Terry Pratchett X-Mailru-Src: smtp X-4EC0790: 10 X-7564579A: B8F34718100C35BD X-77F55803: 4F1203BC0FB41BD987C0EE6E7F0A597DE8DF41BCBBF099100D095FC9B0989D88CD62213F67905E7AE4D9FDF1DEB37646A445E17EC385737BFD8B23D07726F13F22E3706512C1278F X-7FA49CB5: FF5795518A3D127A4AD6D5ED66289B5278DA827A17800CE774A7370C81A54524EA1F7E6F0F101C67BD4B6F7A4D31EC0BCC500DACC3FED6E28638F802B75D45FF8AA50765F790063764345650F0BBEB0B8638F802B75D45FF36EB9D2243A4F8B5A6FCA7DBDB1FC311F39EFFDF887939037866D6147AF826D83C873C2A8627C815277B23AABA61E688117882F4460429724CE54428C33FAD305F5C1EE8F4F765FC1BE95B8C87527B4BA471835C12D1D9774AD6D5ED66289B52BA9C0B312567BB23117882F44604297287769387670735201E561CDFBCA1751F28451B159A507268D2E47CDBA5A96583BA9C0B312567BB231DD303D21008E29813377AFFFEAFD269A417C69337E82CC2E827F84554CEF50127C277FBC8AE2E8BA83251EDC214901ED5E8D9A59859A8B6D0C9BB9AE6BD5D69089D37D7C0E48F6C5571747095F342E88FB05168BE4CE3AF X-8FC586DF: 6EFBBC1D9D64D975 X-C1DE0DAB: 9604B64F49C60606AD91A466A1DEF99B296C473AB1E142185AC9E3593CE4B31AB1881A6453793CE9274300E5CE05BD4401A9E91200F654B0671AA518CC42EA90699E857C12730288D99CF7E08D2BF5E5445398BF1851F66D9C2B6934AE262D3EE7EAB7254005DCED8DA55E71E02F9FC08E8E86DC7131B365E7726E8460B7C23C X-C8649E89: 4E36BF7865823D7055A7F0CF078B5EC49A30900B95165D340B06C327CE4A70E878B911BAB79337ABFEA8DE8FAF23CF4CFB4E541DC0B6CEA611A08E680171FB5C1D7E09C32AA3244CC77824DF6FBE1615300C90F21D61DC223C6EB905E3A8056B927AC6DF5659F194 X-D57D3AED: 3ZO7eAau8CL7WIMRKs4sN3D3tLDjz0dLbV79QFUyzQ2Ujvy7cMT6pYYqY16iZVKkSc3dCLJ7zSJH7+u4VD18S7Vl4ZUrpaVfd2+vE6kuoey4m4VkSEu530nj6fImhcD4MUrOEAnl0W826KZ9Q+tr5ycPtXkTV4k65bRjmOUUP8cvGozZ33TWg5HZplvhhXbhDGzqmQDTd6OAevLeAnq3Ra9uf7zvY2zzsIhlcp/Y7m53TZgf2aB4JOg4gkr2biojDSjrPsecpvorMcuAkUvuPQ== X-Mailru-Sender: 689FA8AB762F7393CC2E0F076E87284EDAE277E7408D23C16C8BB8C12915D8BCA7C8D0F45F857DBFE9F1EFEE2F478337FB559BB5D741EB964C8C2C849690F8E70A04DAD6CC59E3365FEEDEB644C299C0ED14614B50AE0675 X-Mras: Ok Subject: Re: [Tarantool-patches] [PATCH luajit 1/3] ci: fix --parallel argument for MacOS runners 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, On 05.07.22, Sergey Bronnikov wrote: > Igor, > > I found that hw.ncpu sysctl setting is deprecated and it is recommended > to use > > hw.logicalcpu, hw.logicalcpu_max, hw.physicalcpu, or hw.physicalcpu_max. > > I believe hw.logicalcpu is the best choice for our case. > > macOS manual pages are unavailable on apple.com [1], but there are other > places: > [2], [3], [4]. > Ouch... I've pushed this series yesterday, so I guess we can do a follow up commit with s/hw.ncpu/hw.logicalcpu/g. > > 1. > https://developer.apple.com/library/mac/documentation/Darwin/Reference/ManPages/man3/sysctlbyname.3.html > 2. https://www.unix.com/man-page/mojave/3/sysctlbyname/ > 3. Use of deprecated hw.ncpu https://github.com/ziglang/zig/issues/1252 > 4. sysctl name "hw.ncpu" (HW_NCPU) is deprecated in Mac OS X > https://gitlab.haskell.org/ghc/ghc/-/issues/8594 > > > Sergey > -- Best regards, IM