From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mp2.migadu.com ([2001:41d0:403:58f0::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by ms13.migadu.com with LMTPS id ePgeOc8gSGfHXgAAe85BDQ:P1 (envelope-from ) for ; Thu, 28 Nov 2024 07:50:40 +0000 Received: from aspmx1.migadu.com ([2001:41d0:403:58f0::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by mp2.migadu.com with LMTPS id ePgeOc8gSGfHXgAAe85BDQ (envelope-from ) for ; Thu, 28 Nov 2024 08:50:40 +0100 X-Envelope-To: larch@yhetil.org Authentication-Results: aspmx1.migadu.com; dkim=pass header.d=debbugs.gnu.org header.s=debbugs-gnu-org header.b=oTx4YFUB; dkim=fail ("headers rsa verify failed") header.d=gmail.com header.s=20230601 header.b=c48vRf9G; 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"; dmarc=fail reason="SPF not aligned (relaxed), DKIM not aligned (relaxed)" header.from=gmail.com (policy=none) ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=yhetil.org; s=key1; t=1732780239; 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: content-transfer-encoding:content-transfer-encoding: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=HqZBmPacOaN8i6Ds7jYUaNHgarReBIXOJxdhpyveafQ=; b=ZDtcxesG7NN/tPFr3Bew0TlmHRGJfDzHXIU45JdOvFEbR0UVpNhImZCo2RAr9zT2pW9Hlk 4KVtQ0xV0e6UiPO5JGEDKK/cl0ZI1lrsDrfAjsveO81sCyqoSpCOuLN9+L6waOxTcfDXO3 45pszw41l6xiy1NyYObiatEV1hpbsVxfHJtNselnQ5DV8COnEMFf4vzDswNHhtKovTHfzF jZ8MYbZLO1yTS/XJ4jOWyjtSCIx/xtVdWCIDHa9VAuicM7JzX+RaHSbgIM7dYOKIoZZNGz 8ZroFaw6RjH2F/3QTvfISAbw2E9+gjS2/U/U2VavOgfT+kUsOPsRM35EnLPfhA== ARC-Authentication-Results: i=1; aspmx1.migadu.com; dkim=pass header.d=debbugs.gnu.org header.s=debbugs-gnu-org header.b=oTx4YFUB; dkim=fail ("headers rsa verify failed") header.d=gmail.com header.s=20230601 header.b=c48vRf9G; 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"; dmarc=fail reason="SPF not aligned (relaxed), DKIM not aligned (relaxed)" header.from=gmail.com (policy=none) ARC-Seal: i=1; s=key1; d=yhetil.org; t=1732780239; a=rsa-sha256; cv=none; b=Z90KP6CEbzZnSRi4z1X6rCOt4UIdGaangiBTJZzmPONTYFpko1W3bMf1OkLbMSwanGUiLc QOqBR+z4OPjJblJf85cWggjxiHwTgve5fTbGA0o60T++B1Fr9MsiYr/VBtBAQo0Owhw965 WISvg9Qo2uSHRY9oVoHFCHEIyAiWOJ05HXNObP9nxUWuG/aHlG6wzFW812LOuDE0zhMvHX 0P3rdGk+xwgsoZeOP8OU9eQzkZffVsi1iY3x5NmjJOjpIGxFAZSJk0qYQ4SfmzophRI9Ww dvPtZgg30IFXPqy0TFhhwBVItdZdHCohFPaZjohxx2YPqCVMgH2adDkzHXJqeQ== 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 840F77D1F8 for ; Thu, 28 Nov 2024 08:50:39 +0100 (CET) Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1tGZHs-000771-CQ; Thu, 28 Nov 2024 02:50:08 -0500 Received: from eggs.gnu.org ([2001:470:142:3::10]) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1tGZHo-00074z-0D for guix-patches@gnu.org; Thu, 28 Nov 2024 02:50:04 -0500 Received: from debbugs.gnu.org ([2001:470:142:5::43]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1tGZHn-0000yG-NG for guix-patches@gnu.org; Thu, 28 Nov 2024 02:50:03 -0500 DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=debbugs.gnu.org; s=debbugs-gnu-org; h=MIME-Version:References:In-Reply-To:Date:From:To:Subject; bh=HqZBmPacOaN8i6Ds7jYUaNHgarReBIXOJxdhpyveafQ=; b=oTx4YFUBevTHojnURt3X1xb54hS78nbINdlZV5j++0Helavup/oXen9MuNIeHQ2MVkw5Vo7Ltaq/h+Zrr8xtvAg5WTpATO4xsi9DsINQjcawdaZvFawaGEYY21MrGzE9ySXR5YEp0PNduB0irD/9xOl67zpAxTrusiJntlY+pDn0havsMM6R5l1lxQFYKXmHVhYwkFIWS50tRv3Xb8+ubjl7ZkxYozYCjE8KkPLZiEY52n6ieSRK3c3qaoM0mGU9Srq1xSqwb59nmdRSlKzfQo8QjPsibHUoAO5vOZ9io82l+rFS4F8LAiuxyH3agn/M2FzRMnYhWTM40saWk3F1fA==; Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1tGZHn-0001Ex-Gk; Thu, 28 Nov 2024 02:50:03 -0500 X-Loop: help-debbugs@gnu.org Subject: [bug#74572] [PATCH 2/6] gnu: openpmix: Enable Python bindings. Resent-From: Maxim Cournoyer Original-Sender: "Debbugs-submit" Resent-CC: maxim.cournoyer@gmail.com, guix-patches@gnu.org Resent-Date: Thu, 28 Nov 2024 07:50:03 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 74572 X-GNU-PR-Package: guix-patches X-GNU-PR-Keywords: patch To: 74572@debbugs.gnu.org Cc: Maxim Cournoyer , Maxim Cournoyer X-Debbugs-Original-Xcc: Maxim Cournoyer Received: via spool by 74572-submit@debbugs.gnu.org id=B74572.17327801784672 (code B ref 74572); Thu, 28 Nov 2024 07:50:03 +0000 Received: (at 74572) by debbugs.gnu.org; 28 Nov 2024 07:49:38 +0000 Received: from localhost ([127.0.0.1]:36310 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1tGZHN-0001D5-4S for submit@debbugs.gnu.org; Thu, 28 Nov 2024 02:49:37 -0500 Received: from mail-pg1-f171.google.com ([209.85.215.171]:42242) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1tGZHJ-0001CQ-KN for 74572@debbugs.gnu.org; Thu, 28 Nov 2024 02:49:34 -0500 Received: by mail-pg1-f171.google.com with SMTP id 41be03b00d2f7-7e6d04f74faso373885a12.1 for <74572@debbugs.gnu.org>; Wed, 27 Nov 2024 23:49:33 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20230601; t=1732780107; x=1733384907; darn=debbugs.gnu.org; h=content-transfer-encoding:mime-version:references:in-reply-to :message-id:date:subject:cc:to:from:from:to:cc:subject:date :message-id:reply-to; bh=HqZBmPacOaN8i6Ds7jYUaNHgarReBIXOJxdhpyveafQ=; b=c48vRf9GIZfBB2vjUAbfgedPaoaLUI1WfyM9DKxt/E4Wp0IW60TSs8Z3GM4jI6l15O jWVa1FGoVCBk21YFe2JWUCOYBFZ2I9VqLBHh2in6pV9pI4Km5Cwe75zGA8OTHXZUsIH0 Voh7acb3Pv2hU13zBsFpnlMfOxMOPwXYRIdnV3H8dw7tHGKpDNis8sLkh6LOx2jE/OV6 dyjk9mBUSjTnsxYupe1rYoc3xz/AnyqP7H0CqXQ/4MAraMbc7tpRf36M81RT7C0HhvTG ArRI+E5e3spmFyq85YZu8i/8ArfvV48z8nSzzc9S1snpcW06VsIBJaamkNXYWM6jOoSJ 8xAA== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1732780107; x=1733384907; h=content-transfer-encoding:mime-version:references:in-reply-to :message-id:date:subject:cc:to:from:x-gm-message-state:from:to:cc :subject:date:message-id:reply-to; bh=HqZBmPacOaN8i6Ds7jYUaNHgarReBIXOJxdhpyveafQ=; b=Q9JNN9bdSN6Yhk5jucFDceuQ3x0WrWhjXfL9IuNKO+Il2sp8Ar7BkHFbtABWsxUhuJ Ut2HpYQyuIveBYEChvJ7AqFEaxIxkho7Tx6F5U7N/IynX8B0gtxd7krEAxaD6xLxyQvN tL3QtP4Q9S2V80GzifE565Hg4DYF5+ngkjCx95dQ+ZdTzUmsLs5CKv00s3WIM3/0f4S7 CSI2UyAj+cenq3MssBWjQsfu6VxlhAofDKV9wAg3MRHqoOZMotB8W+Pm8Kc2xcMo/bAx hHclPbfiMRkI9wkk1iPrVlfno9i/VRT4Eh4lDKCWhTVVz/9qflHhXLpsPOc3qfwCWyVK E7yw== X-Gm-Message-State: AOJu0Yx5LANkGjPG4LxqzhdAjJRbU5lG9ZORsT8puQ22jR1hCAIZDn5H QHkwKkeshlwR5X9/dZAVhfKncoc84FqnQD8NKCfE5mW5gxde/o3i0AypWA== X-Gm-Gg: ASbGncv4JXCAwXp6JAS21vTUUyvBNC/H1HTmewhgEvydP+K//Em1t+nncgWKmK+/MvF IrXZ7jKNnJP9TA41kl8EhrBJf+l/NFIxQ8Gtvr+znxwCWHfnSQnSW7dfrb2tbsHX0xSxX/y1j8W TECkGgzAPR4ENnZHrzQw4GkC/6heIOpzJL5GuHY5GqJnuRZ7rqHkq77ipZlV6rRPFKrS+puItxP OOU9B2MO6iJeOb8IUwm0lM/ogSJytew3VfkhtZizO9++cTxmRPn5ueTVTXQwg/2gtkZ X-Google-Smtp-Source: AGHT+IGnMZzkf40tPYsZ3dCv11dG7OsPrQo7Qirne8q7h2gnRW3aK5+Oe8mb7m1byjGhGvZDVY8aLw== X-Received: by 2002:a17:90b:28cb:b0:2ea:696d:732d with SMTP id 98e67ed59e1d1-2ee25b0411dmr3709795a91.13.1732780107214; Wed, 27 Nov 2024 23:48:27 -0800 (PST) Received: from localhost.localdomain ([2405:6586:be0:0:c8ff:1707:9b9:af89]) by smtp.gmail.com with ESMTPSA id 98e67ed59e1d1-2ee0fad03bcsm2822393a91.33.2024.11.27.23.48.25 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Wed, 27 Nov 2024 23:48:26 -0800 (PST) From: Maxim Cournoyer Date: Thu, 28 Nov 2024 16:47:53 +0900 Message-ID: <9b4fe0b847bd842e41fd6dc4e3c3636bee2d1141.1732774966.git.maxim.cournoyer@gmail.com> X-Mailer: git-send-email 2.46.0 In-Reply-To: References: MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 8bit 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-bounces+larch=yhetil.org@gnu.org X-Migadu-Country: US X-Migadu-Flow: FLOW_IN X-Migadu-Scanner: mx11.migadu.com X-Migadu-Spam-Score: -0.67 X-Spam-Score: -0.67 X-Migadu-Queue-Id: 840F77D1F8 X-TUID: ojiNo/UWZWzH * gnu/packages/parallel.scm (openpmix) [arguments] : Add '--enable-python-bindings'. : Add set-LDFLAGS phase. [native-inputs]: Add python-cython. Change-Id: I6910ed9c3c7b47b3a76085b95b1f251286a48077 --- gnu/packages/parallel.scm | 13 ++++++++++--- 1 file changed, 10 insertions(+), 3 deletions(-) diff --git a/gnu/packages/parallel.scm b/gnu/packages/parallel.scm index e508dc6493..6a16f0e4c0 100644 --- a/gnu/packages/parallel.scm +++ b/gnu/packages/parallel.scm @@ -16,6 +16,7 @@ ;;; Copyright © 2024 David Elsing ;;; Copyright © 2024 Romain Garbage ;;; Copyright © 2024 Arun Isaac +;;; Copyright © 2024 Maxim Cournoyer ;;; ;;; This file is part of GNU Guix. ;;; @@ -709,14 +710,20 @@ (define-public openpmix (arguments (list #:configure-flags #~(list (string-append "--with-hwloc=" - (ungexp (this-package-input "hwloc") "lib"))) + (ungexp (this-package-input "hwloc") "lib")) + "--enable-python-bindings") ;disabled by default ;; Don't keep a reference to GCC. #:disallowed-references (and (not (%current-target-system)) (list (canonical-package gcc))) - #:phases #~(modify-phases %standard-phases + (add-after 'unpack 'set-LDFLAGS + (lambda _ + ;; The Cython-compiled shared library would fail the + ;; validate-runpath phase otherwise. + (setenv "LDFLAGS" + (string-append "-Wl,-rpath=" #$output "/lib")))) (add-before 'configure 'strip-pmix-cc-absolute (lambda _ ;; The 'pmix_info' program prints the 'configure' command @@ -733,7 +740,7 @@ (define-public openpmix (("#define PMIX_CONFIGURE_CLI .*") "#define PMIX_CONFIGURE_CLI \"[scrubbed]\"\n"))))))) (inputs (list libevent `(,hwloc "lib") zlib)) - (native-inputs (list perl python)) + (native-inputs (list perl python python-cython)) (synopsis "PMIx library") (description "PMIx is an application programming interface standard that provides -- 2.46.0