From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mp0.migadu.com ([2001:41d0:403:4876::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by ms13.migadu.com with LMTPS id YGF+Ff93EmehawAAqHPOHw:P1 (envelope-from ) for ; Fri, 18 Oct 2024 15:00:15 +0000 Received: from aspmx1.migadu.com ([2001:41d0:403:4876::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by mp0.migadu.com with LMTPS id YGF+Ff93EmehawAAqHPOHw (envelope-from ) for ; Fri, 18 Oct 2024 17:00:15 +0200 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=T1QyDuyQ; dkim=fail ("headers rsa verify failed") header.d=systemreboot.net header.s=default header.b=ZqJBbtk+; dmarc=fail reason="SPF not aligned (relaxed), DKIM not aligned (relaxed)" header.from=systemreboot.net (policy=none); 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" ARC-Seal: i=1; s=key1; d=yhetil.org; t=1729263615; a=rsa-sha256; cv=none; b=nUgatgBSXJv4m1c+sCj/rupWLoG4sl62ZgvJyCMS2uyczB/6xbLG8PQZxpAizc2+9FUTKQ e57mO6Ij8YkW6rYYWscKPKOQAcD4doJAjG8VnAFVgKfeUQvGEW1c5R6xiZwNzRA39kXzyf +TP7Y3Gns/LOBIRFzjx8G4A5opMZ2Tu+11afKz8UGFFipWdAe8JAqpeH4clRihdWYnulJP ORBw60AKtS3AlkdPndz8QQDTzOc6z5lWU0kjcAserlATs702kb8tsm5ds4uE7T2RtQSKNN uCSe1JSPXXxvzFQo7xkgSGKYRd0dboOBi4kN5CSFmndCTmHUAMZk14wbuGNOfQ== ARC-Authentication-Results: i=1; aspmx1.migadu.com; dkim=pass header.d=debbugs.gnu.org header.s=debbugs-gnu-org header.b=T1QyDuyQ; dkim=fail ("headers rsa verify failed") header.d=systemreboot.net header.s=default header.b=ZqJBbtk+; dmarc=fail reason="SPF not aligned (relaxed), DKIM not aligned (relaxed)" header.from=systemreboot.net (policy=none); 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" ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=yhetil.org; s=key1; t=1729263615; h=from:from:sender:sender:reply-to:subject:subject:date:date: message-id:message-id:to:to:cc:cc:mime-version:mime-version: 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=fTQMQnjPARMm/8t7kqo++wX/Z3fQ4yv1cbtyuAGlKgo=; b=JSD1WcjHLY0oEjFjE7r8zIV+DzPK8Aqq/N4W+vZtxFtmx5cQju62/EeoGrzI9ZVwuBdkHs 1kJCNIuwnqRs5WIZRNxvv05nC3hyykrO456jMhV5E028XT7JhKSTM33r9vKyC4TVvNi3r3 tv9Md/HqiZtWG2Yn61crIM/tUxGSVoie89TfAN6UjnoluNpYPkUPaIQGdk8d0IQY8QGkN/ 51n21uNQ5emwYH81kOV7+Jss5Cix/tcXvRwEt7kdHbxsdXc70Z44x+EWCVt54lNT6qJzo2 MOTAPi8NNLhAMA3Ze8T2mIOk0P4WwLYLG3zHLs1Np4MTW85UChf8n6eNZhNVgA== 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 0E60673375 for ; Fri, 18 Oct 2024 17:00:13 +0200 (CEST) Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1t1oSN-0006Pr-Qq; Fri, 18 Oct 2024 10:59:59 -0400 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 1t1oS6-0006NC-Oq for guix-patches@gnu.org; Fri, 18 Oct 2024 10:59:43 -0400 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 1t1oS6-00046L-A5; Fri, 18 Oct 2024 10:59:42 -0400 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=fTQMQnjPARMm/8t7kqo++wX/Z3fQ4yv1cbtyuAGlKgo=; b=T1QyDuyQmGDNCOzldI07UMkxST7RTqFrkRhX2q244RI8z6XU8x9yUuZ7nsQFa0ZWdTLmd43HiQzbAbR++Is/Tb5b66R192VpXhcZDinM+9hwX1k9ZZc+R/xCFKZyaNrAJFE0QATQH5g/5Mu6QEBak97PWtfeW30aQvT3RGcmxxWN4nHiRgXojzBzRoEjrCEyPYxmqs2pzJIKoJklVM6LAHZRHtAzEmuVxmylvKxVsCS5uyA6NNnyD4iwfNKzz16kI3CdBHVwTF5aLmu9STEsXQfU/EaUn2CaXH4QQNuB8V41qHcPPVJbEwH4xs6Y3LAdvYKTchvoYJtLTaAj4NEqVA==; Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1t1oSR-0004BR-FG; Fri, 18 Oct 2024 11:00:03 -0400 X-Loop: help-debbugs@gnu.org Subject: [bug#72766] [PATCH v3 2/2] gnu: slurm: Move client executables into separate output. Resent-From: Arun Isaac Original-Sender: "Debbugs-submit" Resent-CC: arunisaac@systemreboot.net, ludovic.courtes@inria.fr, ludo@gnu.org, guix-patches@gnu.org Resent-Date: Fri, 18 Oct 2024 15:00:03 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 72766 X-GNU-PR-Package: guix-patches X-GNU-PR-Keywords: patch To: 72766@debbugs.gnu.org Cc: Arun Isaac , Arun Isaac , Ludovic =?UTF-8?Q?Court=C3=A8s?= , Ludovic =?UTF-8?Q?Court=C3=A8s?= X-Debbugs-Original-Xcc: Arun Isaac , Ludovic =?UTF-8?Q?Court=C3=A8s?= , Ludovic =?UTF-8?Q?Court=C3=A8s?= Received: via spool by 72766-submit@debbugs.gnu.org id=B72766.172926355115980 (code B ref 72766); Fri, 18 Oct 2024 15:00:03 +0000 Received: (at 72766) by debbugs.gnu.org; 18 Oct 2024 14:59:11 +0000 Received: from localhost ([127.0.0.1]:39707 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1t1oRb-00049a-9u for submit@debbugs.gnu.org; Fri, 18 Oct 2024 10:59:11 -0400 Received: from mugam.systemreboot.net ([139.59.75.54]:39022) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1t1oRX-00049D-Ck for 72766@debbugs.gnu.org; Fri, 18 Oct 2024 10:59:09 -0400 DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=systemreboot.net; s=default; h=Content-Transfer-Encoding:MIME-Version: References:In-Reply-To:Message-ID:Date:Subject:Cc:To:From:Sender:Reply-To: Content-Type:Content-ID:Content-Description:Resent-Date:Resent-From: Resent-Sender:Resent-To:Resent-Cc:Resent-Message-ID:List-Id:List-Help: List-Unsubscribe:List-Subscribe:List-Post:List-Owner:List-Archive; bh=fTQMQnjPARMm/8t7kqo++wX/Z3fQ4yv1cbtyuAGlKgo=; b=ZqJBbtk+YQFw161coiSEG71vy4 zM1txrGvbklkrKwZAD9rtGu7zKex5l5e9OStgQtjBzeDmm97vQ6GX7oEV6FhxDBgkX2zhv2iEkfwY ucLT6Z2Prs11rsnDBRN63/YnhxOuoqD+t10OlnMTsyBIk7GrkWkKUZSSFaBOWHxYz96jAUaF+hkt1 /WVBLsWwxsexbCmrkF1RGdJRSeE77SgnPWr25X484IAUEwBruEoNPL/8BFd7eUNBBI0NYzWxNuqK8 WBpF6BZUVyuQqHp30VNbGYuzlCp0bg4UILPRtH4dUn9Miy15iIce7BcRXRy2er7hWuUjBVUA+tdwh xDnwDY0Q==; Received: from [192.168.2.1] (port=47248 helo=localhost.localdomain) by systemreboot.net with esmtpsa (TLS1.3) tls TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384 (Exim 4.98) (envelope-from ) id 1t1oLF-000000002pT-2S4J; Fri, 18 Oct 2024 15:52:38 +0100 From: Arun Isaac Date: Fri, 18 Oct 2024 15:58:12 +0100 Message-ID: X-Mailer: git-send-email 2.45.2 In-Reply-To: References: MIME-Version: 1.0 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-Spam-Score: 0.63 X-Spam-Score: 0.63 X-Migadu-Queue-Id: 0E60673375 X-Migadu-Scanner: mx10.migadu.com X-TUID: m1osNbHcyB5r * gnu/packages/parallel.scm (slurm)[outputs]: Add client. [arguments]: Add move-client-executables phase. Change-Id: Id7441b0b34a5b8433e4c38bd5c56e4ca1fec587c --- gnu/packages/parallel.scm | 13 ++++++++++++- 1 file changed, 12 insertions(+), 1 deletion(-) diff --git a/gnu/packages/parallel.scm b/gnu/packages/parallel.scm index 522d326ef2..f27f07ca1e 100644 --- a/gnu/packages/parallel.scm +++ b/gnu/packages/parallel.scm @@ -246,6 +246,7 @@ (define-public slurm (native-inputs (list autoconf expect perl pkg-config python-wrapper)) (build-system gnu-build-system) + (outputs '("out" "client")) (arguments (list #:configure-flags #~(list "--enable-pam" @@ -291,7 +292,17 @@ (define-public slurm (invoke "make" "install" "-C" "contribs/pmi") ;; Others expect pmi2. - (invoke "make" "install" "-C" "contribs/pmi2")))))) + (invoke "make" "install" "-C" "contribs/pmi2"))) + (add-after 'install 'move-client-executables + (lambda _ + (let ((client-bin (string-append #$output:client "/bin"))) + (mkdir-p client-bin) + (for-each (lambda (executable) + (rename-file executable + (string-append client-bin + "/" + (basename executable)))) + (find-files (string-append #$output "/bin"))))))))) (home-page "https://slurm.schedmd.com/") (synopsis "Workload manager for cluster computing") (description -- 2.45.2