From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mp10.migadu.com ([2001:41d0:2:4a6f::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by ms5.migadu.com with LMTPS id aFH5H3ki9WJ1HQEAbAwnHQ (envelope-from ) for ; Thu, 11 Aug 2022 17:38:33 +0200 Received: from aspmx1.migadu.com ([2001:41d0:2:4a6f::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by mp10.migadu.com with LMTPS id kMAcH3ki9WIYSwEAG6o9tA (envelope-from ) for ; Thu, 11 Aug 2022 17:38:33 +0200 Received: from lists.gnu.org (lists.gnu.org [209.51.188.17]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by aspmx1.migadu.com (Postfix) with ESMTPS id 2246F2209 for ; Thu, 11 Aug 2022 17:38:33 +0200 (CEST) Received: from localhost ([::1]:38206 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1oMAGW-00031I-6u for larch@yhetil.org; Thu, 11 Aug 2022 11:38:32 -0400 Received: from eggs.gnu.org ([2001:470:142:3::10]:50116) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1oMAG2-000315-6e for guix-patches@gnu.org; Thu, 11 Aug 2022 11:38:05 -0400 Received: from debbugs.gnu.org ([209.51.188.43]:36842) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1oMAG1-00023G-Sc for guix-patches@gnu.org; Thu, 11 Aug 2022 11:38:01 -0400 Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1oMAG1-0001cy-PN for guix-patches@gnu.org; Thu, 11 Aug 2022 11:38:01 -0400 X-Loop: help-debbugs@gnu.org Subject: [bug#57058] [PATCH] gnu: Add python-lief. Resent-From: Mathieu Othacehe Original-Sender: "Debbugs-submit" Resent-CC: guix-patches@gnu.org Resent-Date: Thu, 11 Aug 2022 15:38:01 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 57058 X-GNU-PR-Package: guix-patches X-GNU-PR-Keywords: patch To: Hilton Chain Cc: 57058@debbugs.gnu.org Received: via spool by 57058-submit@debbugs.gnu.org id=B57058.16602322496211 (code B ref 57058); Thu, 11 Aug 2022 15:38:01 +0000 Received: (at 57058) by debbugs.gnu.org; 11 Aug 2022 15:37:29 +0000 Received: from localhost ([127.0.0.1]:54824 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1oMAFU-0001c7-PF for submit@debbugs.gnu.org; Thu, 11 Aug 2022 11:37:28 -0400 Received: from eggs.gnu.org ([209.51.188.92]:36984) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1oMAFS-0001bu-04 for 57058@debbugs.gnu.org; Thu, 11 Aug 2022 11:37:26 -0400 Received: from fencepost.gnu.org ([2001:470:142:3::e]:54598) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1oMAFM-0001zL-Mr; Thu, 11 Aug 2022 11:37:20 -0400 DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=gnu.org; s=fencepost-gnu-org; h=MIME-Version:In-Reply-To:Date:References:Subject:To: From; bh=keC7gjji00HO4UkcKtVc2DSqQGyi0IlXnAcyFa+INnM=; b=A3EgNSmB+0950Ccq0DnW YC83gILoWcF3p6q61X7/Py/HW/A4CryTrKN06dBZ9LTjaf1EGgSeR3O9aQyW8R+WonzkUAnomL0uA /eavdt5UE5HkLksmMHIZscEOC0iG/aR6S2/+AOTBzGRBia/TGSObGLku8v+EiBk/SQ6eyHY4BDBwY pJIRwb4ucnLk+GQNaOogQTzw1/Dn+1ozcuXRIjaOdCRjapTV3nYdryfshIQye9zSizBzPWuld8ltZ OiqSYR//HNigGmdIoJks49iOkUnYcXuXtl0O/3WjSqpP9b6Vwsz2OeBlvFPhsXtfbXu6QSCPnZOUV gYBUKT7Ebvhkdg==; Received: from 2a02-8429-81d2-3d01-94c9-8097-ea5c-2775.rev.sfr.net ([2a02:8429:81d2:3d01:94c9:8097:ea5c:2775]:33904 helo=meije) by fencepost.gnu.org with esmtpsa (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1oMAFI-0000py-S8; Thu, 11 Aug 2022 11:37:20 -0400 From: Mathieu Othacehe References: Date: Thu, 11 Aug 2022 17:37:14 +0200 In-Reply-To: (Hilton Chain's message of "Mon, 08 Aug 2022 22:52:30 +0800") Message-ID: <87bksq23md.fsf@gnu.org> User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/28.1 (gnu/linux) MIME-Version: 1.0 Content-Type: text/plain X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list X-BeenThere: guix-patches@gnu.org List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: guix-patches-bounces+larch=yhetil.org@gnu.org Sender: "Guix-patches" X-Migadu-Flow: FLOW_IN X-Migadu-To: larch@yhetil.org X-Migadu-Country: US ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=yhetil.org; s=key1; t=1660232313; h=from:from:sender:sender:reply-to:subject:subject:date:date: message-id:message-id:to:to:cc:cc:mime-version:mime-version: content-type:content-type:resent-cc:resent-from:resent-sender: resent-message-id:in-reply-to:in-reply-to:references:references: list-id:list-help:list-unsubscribe:list-subscribe:list-post: dkim-signature; bh=keC7gjji00HO4UkcKtVc2DSqQGyi0IlXnAcyFa+INnM=; b=Y0PjaDshuhoIr5vJkfB0mGdAT0KadpXR0KmpgUw6U8xEJltzL+/UnJZcB9BtY1+jIW86yY 5GbZMxJpDOS8aLSs9kNGdHgG8dy4sfQkRg6BRyTIxvKL6R1SN/2zZ7tzyiZ1PC9h/HSzhh KgWB97XOFBbSQhGO8/EhzKX/BTHvs8oMHLyIqMRgJadVGa/82GRaN6/vOJTjANif8Eo1ix UIw435ztDRA7jsPutonOJLuUTKTyyuDeko+29efuLbNc/wcYNVHuN+Jf5ciCfA948QtapW IRlUSpGsyIDGh2HqXBXFaZ3h/JshUwY35hwsx15K/UGzyWiYmjLpG5HRo7jt9A== ARC-Seal: i=1; s=key1; d=yhetil.org; t=1660232313; a=rsa-sha256; cv=none; b=YpF68ZnVV4tqUG60AJj0m0gjh0wW1V4rdIbZbLg1XCO2jeaE1lxpiHISvJ68zwrdT2nw9f ssalLoEYtt0hPxsIGP/ul96+iQAnyD90kcighY2Ce5Y2j7/u7Qh7uKSwJYAqBCkKHd4WRC Z581F/1xgM3FKYzKL3TknS+Srg6Ci9EtZQRm45rmBXlZcXcIHZq1ThADLkN4kOy6Q/glHF GJckkX0x23wDrJOoO+iznNedwFfiOkhq2+hvVFnVnijGufSQtpApgZzwIbxQhk2/6SUBSn 7ZSBqRwv5h5jlaNweOdyr64BJAtOL4GR9GRY63Ky8jq/aR4ZOPUHSwBbyKbO8Q== ARC-Authentication-Results: i=1; aspmx1.migadu.com; dkim=fail ("headers rsa verify failed") header.d=gnu.org header.s=fencepost-gnu-org header.b=A3EgNSmB; dmarc=pass (policy=none) header.from=gnu.org; spf=pass (aspmx1.migadu.com: domain of "guix-patches-bounces+larch=yhetil.org@gnu.org" designates 209.51.188.17 as permitted sender) smtp.mailfrom="guix-patches-bounces+larch=yhetil.org@gnu.org" X-Migadu-Spam-Score: -3.78 Authentication-Results: aspmx1.migadu.com; dkim=fail ("headers rsa verify failed") header.d=gnu.org header.s=fencepost-gnu-org header.b=A3EgNSmB; dmarc=pass (policy=none) header.from=gnu.org; spf=pass (aspmx1.migadu.com: domain of "guix-patches-bounces+larch=yhetil.org@gnu.org" designates 209.51.188.17 as permitted sender) smtp.mailfrom="guix-patches-bounces+larch=yhetil.org@gnu.org" X-Migadu-Queue-Id: 2246F2209 X-Spam-Score: -3.78 X-Migadu-Scanner: scn1.migadu.com X-TUID: VHkAW/lFPMX0 Hey, > * gnu/packages/python-xyz.scm (python-lief): New variable. This looks fine to me, but compilation takes a long time and appears to be mono-threaded. I found that nix has the following snippet: --8<---------------cut here---------------start------------->8--- substituteInPlace setup.py \ --replace 'cmake_args = []' "cmake_args = [ \"-DCMAKE_INSTALL_PREFIX=$prefix\" ]" ${pyEnv.interpreter} setup.py --sdk build --parallel=$NIX_BUILD_CORES --8<---------------cut here---------------end--------------->8--- that can maybe allow parallel compilation? Thanks, Mathieu