From patchwork Fri Nov 17 12:16:01 2023 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Sharlatan Hellseher X-Patchwork-Id: 56568 Return-Path: X-Original-To: patchwork@mira.cbaines.net Delivered-To: patchwork@mira.cbaines.net Received: by mira.cbaines.net (Postfix, from userid 113) id 6241527BBE2; Fri, 17 Nov 2023 10:22:14 +0000 (GMT) X-Spam-Checker-Version: SpamAssassin 3.4.6 (2021-04-09) on mira.cbaines.net X-Spam-Level: X-Spam-Status: No, score=-2.7 required=5.0 tests=BAYES_00,DKIM_ADSP_CUSTOM_MED, DKIM_INVALID,DKIM_SIGNED,FREEMAIL_FROM,MAILING_LIST_MULTI, SPF_HELO_PASS autolearn=unavailable autolearn_force=no version=3.4.6 Received: from lists.gnu.org (lists.gnu.org [209.51.188.17]) by mira.cbaines.net (Postfix) with ESMTPS id B4D1027BBEC for ; Fri, 17 Nov 2023 10:22:12 +0000 (GMT) Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1r3vyq-0001Do-60; Fri, 17 Nov 2023 05:21:44 -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 1r3vyJ-0000vv-Bb for guix-patches@gnu.org; Fri, 17 Nov 2023 05:21:12 -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 1r3vyH-0004ws-63 for guix-patches@gnu.org; Fri, 17 Nov 2023 05:21:10 -0500 Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1r3vyE-0001Fu-VR; Fri, 17 Nov 2023 05:21:07 -0500 X-Loop: help-debbugs@gnu.org Subject: [bug#67237] [PATCH 12/32] gnu: python-pynbody: Prepare for cross compilation. Resent-From: Sharlatan Hellseher Original-Sender: "Debbugs-submit" Resent-CC: andreas@enge.fr, efraim@flashner.co.il, bavier@posteo.net, guix-patches@gnu.org Resent-Date: Fri, 17 Nov 2023 10:21:06 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 67237 X-GNU-PR-Package: guix-patches X-GNU-PR-Keywords: patch To: 67237@debbugs.gnu.org Cc: Sharlatan Hellseher , Andreas Enge , Efraim Flashner , Eric Bavier X-Debbugs-Original-Xcc: Andreas Enge , Efraim Flashner , Eric Bavier Received: via spool by 67237-submit@debbugs.gnu.org id=B67237.17002164484534 (code B ref 67237); Fri, 17 Nov 2023 10:21:06 +0000 Received: (at 67237) by debbugs.gnu.org; 17 Nov 2023 10:20:48 +0000 Received: from localhost ([127.0.0.1]:45206 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1r3vxv-0001B2-5H for submit@debbugs.gnu.org; Fri, 17 Nov 2023 05:20:47 -0500 Received: from mail-wr1-x42a.google.com ([2a00:1450:4864:20::42a]:51590) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1r3vxb-00016l-W1 for 67237@debbugs.gnu.org; Fri, 17 Nov 2023 05:20:28 -0500 Received: by mail-wr1-x42a.google.com with SMTP id ffacd0b85a97d-32d9effe314so1275540f8f.3 for <67237@debbugs.gnu.org>; Fri, 17 Nov 2023 02:20:27 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20230601; t=1700216422; x=1700821222; 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=b9iQVq9zXXOnGp4+25ZEMqe4xOvkFKKEBqy5lkK72+I=; b=jLW0OsKavJ9Venu4068hUTVHfhI5aoW1f2BxUoIEavMa++BhPeTHGqYRYibSz12qK7 +x+OnNDCkxk8yswvM/Y/0oKNQAIuHEaSiHfGmk6sH3AYlKezXexSDoco90BMBGbfJz8O njXDAAWGTVBWnKdfC8ZUFc4wNR9sdeIy+NLW+CKykSDi9id2Fuv6gk4JbHufkEHZYFXG Csiozql2Scvd1UhsYb0z28RUgsft0dJbTOCvbUm2XFYEUCaSKMGpWcpsI2SjamNq6umt zkEC/+CTHfuA0fwDbsVYXSvks32NrI1gQaMpGs9EtrKX6Z8POiA15lMN/8/lFSRroqkX yWbw== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1700216422; x=1700821222; 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=b9iQVq9zXXOnGp4+25ZEMqe4xOvkFKKEBqy5lkK72+I=; b=DHijl46sJ3osGuAfhnX1rD9CFmH6Dr1X+nUleu+aKvzMqWGD8n97Jw/k5ztSRlHopG G2A/gWuXrktZ0EtPJuIEuJ/t3QYGtP4zIC6sUya7yxwP9P74nRlWj7NMns7L8Yc7ZWtB oedmjrLHj+O6XLCBP3Vr5SpB/iQ803eRFkdo6Tmvi/TqSgzodq+TpN1jaeAcl/s0o0uQ YLEtj778SXTUrlREZzlmr3uQ+No3KLZlUlW7tRO+LruPWdTjOYjXrfaIKE3KGGbnrygn KA+AXVHHONBdg/SDEGPAXg87QPmI87+Dc92dOW/cHvK30LBS/mnk4xjj+o1SlBhYZwK5 3QPA== X-Gm-Message-State: AOJu0YzcFH+JsRK4pnZHy723BmJo+tbkvmi/RTA3OxNcdakYMkQhoaDm niWs1N3l/Bo71XDgtf0TGyAoMYE/tbF/MA== X-Google-Smtp-Source: AGHT+IGPJVRf8aIqHw33HVJfg16Pp/ogAulhlq9sVdPs7G3K8zu8vKimqgKn/+L3P2kQO/YQL/aqzg== X-Received: by 2002:a05:6000:1acc:b0:331:338c:c74d with SMTP id i12-20020a0560001acc00b00331338cc74dmr14032834wry.70.1700216422064; Fri, 17 Nov 2023 02:20:22 -0800 (PST) Received: from localhost.localdomain (cpc100856-bagu15-2-0-cust368.1-3.cable.virginm.net. [82.25.93.113]) by smtp.gmail.com with ESMTPSA id t4-20020a5d4604000000b0032fbd0c7d04sm1858856wrq.55.2023.11.17.02.20.21 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Fri, 17 Nov 2023 02:20:21 -0800 (PST) From: Sharlatan Hellseher Date: Fri, 17 Nov 2023 12:16:01 +0000 Message-ID: X-Mailer: git-send-email 2.41.0 In-Reply-To: References: MIME-Version: 1.0 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+patchwork=mira.cbaines.net@gnu.org Sender: guix-patches-bounces+patchwork=mira.cbaines.net@gnu.org X-getmail-retrieved-from-mailbox: Patches * gnu/packages/astronomy.scm (python-pynbody)[arguments]{phases}: Add 'set-compiler phase. Change-Id: I64feabbdd76679d5a86a85a9f50cd0be90f60c1c --- gnu/packages/astronomy.scm | 7 ++++++- 1 file changed, 6 insertions(+), 1 deletion(-) diff --git a/gnu/packages/astronomy.scm b/gnu/packages/astronomy.scm index 85180e40ad..e42b87144c 100644 --- a/gnu/packages/astronomy.scm +++ b/gnu/packages/astronomy.scm @@ -3575,7 +3575,12 @@ (define-public python-pynbody "--ignore=tests/sph_smooth_test.py" "--ignore=tests/subfind_test.py" "--ignore=tests/subfindhdf_gadget4_test.py" - "--ignore=tests/tipsy_test.py"))) + "--ignore=tests/tipsy_test.py") + #:phases + #~(modify-phases %standard-phases + (add-before 'build 'set-compiler + (lambda _ + (setenv "CC" #$(cc-for-target))))))) (native-inputs (list python-cython python-pandas