Received: (at 68366) by debbugs.gnu.org; 10 Jan 2024 11:40:47 +0000 From debbugs-submit-bounces <at> debbugs.gnu.org Wed Jan 10 06:40:46 2024 Received: from localhost ([127.0.0.1]:42305 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from <debbugs-submit-bounces <at> debbugs.gnu.org>) id 1rNWww-0006CM-Hy for submit <at> debbugs.gnu.org; Wed, 10 Jan 2024 06:40:46 -0500 Received: from mail-wm1-x329.google.com ([2a00:1450:4864:20::329]:51279) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from <jean@HIDDEN>) id 1rNWwu-0006C3-Di for 68366 <at> debbugs.gnu.org; Wed, 10 Jan 2024 06:40:45 -0500 Received: by mail-wm1-x329.google.com with SMTP id 5b1f17b1804b1-40e4d64a3fbso22018195e9.2 for <68366 <at> debbugs.gnu.org>; Wed, 10 Jan 2024 03:40:36 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=foundationdevices.com; s=google; t=1704886831; x=1705491631; 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=nk2CENPb63+yWkz4YV7O++JeGj3b0OF1oaNipwqr2Po=; b=izsCR29zkCvXYPY75IctDRENhPxx1VzPZ/v+EARWYiJhZaUYUIaBm4pwZx4etJDvS/ vWiTHU48uQCGQSw4lYtSk8ev/aY1xP9o4a2zCjD8sFdcwfUd0qyqYj4zlkeTJNYB/0Rw bNXOOFOCpGwnP99QRY5ExVBfc2zNBxoKpwGaB2FwOnjt63fyk53RiHhXr3/xd1MSP8Jn khs2LB4C+bnL30EzG99ANyWIN/LTvR2QUXOgcPfnX0946EN8EkvHQsn0u72IreQkzBKM fRcVwmnTcy6fx8qvOD+rHA06VC1k7R7LSWqtUZ1UOgpuleilDKgab7vPQHpwy3PrQ6ZO 63vg== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1704886831; x=1705491631; 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=nk2CENPb63+yWkz4YV7O++JeGj3b0OF1oaNipwqr2Po=; b=hQr35Pgc4xaaw14e1c8grbcO95Iaj8H9XNFYXE8pe85MngH3ZRwN1yp1mH/q5DklPZ 1fF2giV2bjbqidAuLHC3mXCquoaHKuzAQaX8kchNcXqE/YRxNm8kr20I97ANTK3BhL1B npgYt2hKw3B44268JVKziZ/zXTmtugbuzrSV3j1jNbJaGw+BFQXxj+v1Cc2MXxbutEVG BIIBfCc3bzMAaO7JtMnDQaxASkXzYa0Aj46blQRroHUMvFuSmWKQqphvPzioNFgLagIp IYo8npkuetUtqqCIRk/C2dnW0FS4ipvLPbvhTt7QlT6h6fRTN0uBG2n4V24uvSzyrt9H oRvg== X-Gm-Message-State: AOJu0YxlefJc6v5ysD37qvXUi4L8AWqv5HpF0fHLTTD16zXZvoEWCwCc akPLUFfxfcXqpKPAukE8eeIGRLhIOzn9jqs/aTuQOyYF6EcLGg== X-Google-Smtp-Source: AGHT+IHNKVrqU3duq63Vj9+cCuUvt2c7LBA14sjLEkziPOGy9xfFPECefPU8Bwm704m9hvckgieNzQ== X-Received: by 2002:a05:600c:228c:b0:40e:43f2:4f83 with SMTP id 12-20020a05600c228c00b0040e43f24f83mr455962wmf.67.1704886830813; Wed, 10 Jan 2024 03:40:30 -0800 (PST) Received: from jeandudey.home ([89.131.29.87]) by smtp.gmail.com with ESMTPSA id ek10-20020a05600c3eca00b0040d81ca11casm1849195wmb.28.2024.01.10.03.40.30 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Wed, 10 Jan 2024 03:40:30 -0800 (PST) From: Jean-Pierre De Jesus DIAZ <jean@HIDDEN> To: 68366 <at> debbugs.gnu.org Subject: [PATCH 1/1] guix: cmake-build-system: Handle unknown systems. Date: Wed, 10 Jan 2024 12:40:28 +0100 Message-ID: <faf954c7dce37b0fab0251e54d0bbaf651677c83.1704886539.git.jean@HIDDEN> X-Mailer: git-send-email 2.41.0 In-Reply-To: <cover.1704886539.git.jean@HIDDEN> References: <cover.1704886539.git.jean@HIDDEN> MIME-Version: 1.0 Content-Transfer-Encoding: 8bit X-Spam-Score: -0.0 (/) X-Debbugs-Envelope-To: 68366 Cc: Jean-Pierre De Jesus DIAZ <me@HIDDEN> X-BeenThere: debbugs-submit <at> debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: <debbugs-submit.debbugs.gnu.org> List-Unsubscribe: <https://debbugs.gnu.org/cgi-bin/mailman/options/debbugs-submit>, <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=unsubscribe> List-Archive: <https://debbugs.gnu.org/cgi-bin/mailman/private/debbugs-submit/> List-Post: <mailto:debbugs-submit <at> debbugs.gnu.org> List-Help: <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=help> List-Subscribe: <https://debbugs.gnu.org/cgi-bin/mailman/listinfo/debbugs-submit>, <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=subscribe> Errors-To: debbugs-submit-bounces <at> debbugs.gnu.org Sender: "Debbugs-submit" <debbugs-submit-bounces <at> debbugs.gnu.org> X-Spam-Score: -1.0 (-) From: Jean-Pierre De Jesus DIAZ <me@HIDDEN> * guix/build/cmake-build-system.scm (configure): Use Generic as the system name if the system is unknown. Change-Id: Ifd4a618ef67eb420b02d48f05291571aea44e46e --- guix/build/cmake-build-system.scm | 9 ++++++--- 1 file changed, 6 insertions(+), 3 deletions(-) diff --git a/guix/build/cmake-build-system.scm b/guix/build/cmake-build-system.scm index d1ff5071be..6790e1db2b 100644 --- a/guix/build/cmake-build-system.scm +++ b/guix/build/cmake-build-system.scm @@ -69,9 +69,12 @@ (define* (configure #:key outputs (configure-flags '()) (out-of-source? #t) target "-gcc") (string-append "-DCMAKE_CXX_COMPILER=" target "-g++") - (if (string-contains target "mingw") - "-DCMAKE_SYSTEM_NAME=Windows" - "-DCMAKE_SYSTEM_NAME=Linux")) + (cond ((string-contains target "mingw") + "-DCMAKE_SYSTEM_NAME=Windows") + ((string-contains target "linux") + "-DCMAKE_SYSTEM_NAME=Linux") + (else + "-DCMAKE_SYSTEM_NAME=Generic"))) '()) ,@configure-flags))) (format #t "running 'cmake' with arguments ~s~%" args) -- 2.41.0
guix-patches@HIDDEN
:bug#68366
; Package guix-patches
.
Full text available.Received: (at submit) by debbugs.gnu.org; 10 Jan 2024 11:39:50 +0000 From debbugs-submit-bounces <at> debbugs.gnu.org Wed Jan 10 06:39:50 2024 Received: from localhost ([127.0.0.1]:42294 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from <debbugs-submit-bounces <at> debbugs.gnu.org>) id 1rNWw1-00069V-Rn for submit <at> debbugs.gnu.org; Wed, 10 Jan 2024 06:39:50 -0500 Received: from lists.gnu.org ([2001:470:142::17]:33650) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from <jean@HIDDEN>) id 1rNWvy-00069C-Uz for submit <at> debbugs.gnu.org; Wed, 10 Jan 2024 06:39:47 -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 <jean@HIDDEN>) id 1rNWvj-00048E-Vf for guix-patches@HIDDEN; Wed, 10 Jan 2024 06:39:32 -0500 Received: from mail-wr1-x42e.google.com ([2a00:1450:4864:20::42e]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from <jean@HIDDEN>) id 1rNWvi-0001F2-73 for guix-patches@HIDDEN; Wed, 10 Jan 2024 06:39:31 -0500 Received: by mail-wr1-x42e.google.com with SMTP id ffacd0b85a97d-3368abe1093so3425285f8f.2 for <guix-patches@HIDDEN>; Wed, 10 Jan 2024 03:39:29 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=foundationdevices.com; s=google; t=1704886768; x=1705491568; darn=gnu.org; h=content-transfer-encoding:mime-version:message-id:date:subject:cc :to:from:from:to:cc:subject:date:message-id:reply-to; bh=PWdZWLvZG5OZJoW+GevrLWocA1SAIcTTlqHYv5IPIIQ=; b=IHKIEZ6/CdW+2vkuSL6h7OcNpGG3iIWBpCHka1CHzl8qdxTuJ50WllxspI8qx45KXA JaBmNTCZy7AAF74p30rV9kEbwK8CxfU47eboVGwkzEXcy5FeuGXl8MBjIvKt1rt7/x62 MtgOJBdQwrrli9sMMk5VYewQ+okl7nTqswdhswr7KYBODGEd+CXwoCUsCLVciGYbp38g 4gbbvRV1ci2Jb+RFwjq8xIsopjygLTE4gc+MwEqtjIILkxy5t6VlUfduOjzggiIpuwVe ZCjdMv6Bi2IUqyECmaq+gVflZ+Y0/qbUeeTxFGH781BH0xr4iP6DUywVEjKDKzCIL9f+ +osA== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1704886768; x=1705491568; h=content-transfer-encoding:mime-version:message-id:date:subject:cc :to:from:x-gm-message-state:from:to:cc:subject:date:message-id :reply-to; bh=PWdZWLvZG5OZJoW+GevrLWocA1SAIcTTlqHYv5IPIIQ=; b=afNSofjKHQZLOQr9PE43AajPcvoqtOychyBrHkMTvCmVUrrwS4prBg2eJ5YO5fK5VZ 9XWJ9Rzv9WdQ9YrLmKaSSCCxVp/rDrVSl6ycua1txso0sT4n8aq4qa2CNsG6Z4cFnADJ HbbuUTmBrb7exINkZNvzWyUfHdzHCsgOhr/turSAHhWhhIzxqORdVFU0cNRJc6CDX/hi o2tu+fIa0uZTCv5epHDYJT0ZsWQHtzXHorkwNpHnDyvlAs458d5oI/tns9b58iMaatUE Qt+FrIE6PviKOfx6lbabASvXbe2ccxN0cohB2a5lNOdN+LdhttTT2ks3A9+1T2XNriYt H+iA== X-Gm-Message-State: AOJu0YykTGEFUNNmdErZ4c4iOO5HGRi3uOfOdMhzDEfFnB0G9yznJ6s1 WLXgU4rdMIeSKjXI8zZf5e4OQE4M/kJ9F0OgziClYiGB7S6t2Q== X-Google-Smtp-Source: AGHT+IHYOQaxtBzgY7gEEnsdc6SdqCis4Txixuoqzg2UJYYCPoyynsRMfAwM/AC0491YWHc/bt8VxQ== X-Received: by 2002:adf:f003:0:b0:337:2994:15b1 with SMTP id j3-20020adff003000000b00337299415b1mr518657wro.135.1704886768227; Wed, 10 Jan 2024 03:39:28 -0800 (PST) Received: from jeandudey.home ([89.131.29.87]) by smtp.gmail.com with ESMTPSA id j1-20020a5d4481000000b00333359b522dsm4701265wrq.77.2024.01.10.03.39.27 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Wed, 10 Jan 2024 03:39:27 -0800 (PST) From: Jean-Pierre De Jesus DIAZ <jean@HIDDEN> To: guix-patches@HIDDEN Subject: [PATCH 0/1] guix: cmake-build-system: Handle unknown systems. Date: Wed, 10 Jan 2024 12:39:21 +0100 Message-ID: <cover.1704886539.git.jean@HIDDEN> X-Mailer: git-send-email 2.41.0 MIME-Version: 1.0 Content-Transfer-Encoding: 8bit Received-SPF: pass client-ip=2a00:1450:4864:20::42e; envelope-from=jean@HIDDEN; helo=mail-wr1-x42e.google.com X-Spam_score_int: -20 X-Spam_score: -2.1 X-Spam_bar: -- X-Spam_report: (-2.1 / 5.0 requ) BAYES_00=-1.9, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1, DKIM_VALID_EF=-0.1, RCVD_IN_DNSWL_NONE=-0.0001, SPF_HELO_NONE=0.001, SPF_PASS=-0.001, T_SCC_BODY_TEXT_LINE=-0.01 autolearn=ham autolearn_force=no X-Spam_action: no action X-Spam-Score: 1.0 (+) X-Debbugs-Envelope-To: submit Cc: Jean-Pierre De Jesus DIAZ <jean@HIDDEN> X-BeenThere: debbugs-submit <at> debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: <debbugs-submit.debbugs.gnu.org> List-Unsubscribe: <https://debbugs.gnu.org/cgi-bin/mailman/options/debbugs-submit>, <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=unsubscribe> List-Archive: <https://debbugs.gnu.org/cgi-bin/mailman/private/debbugs-submit/> List-Post: <mailto:debbugs-submit <at> debbugs.gnu.org> List-Help: <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=help> List-Subscribe: <https://debbugs.gnu.org/cgi-bin/mailman/listinfo/debbugs-submit>, <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=subscribe> Errors-To: debbugs-submit-bounces <at> debbugs.gnu.org Sender: "Debbugs-submit" <debbugs-submit-bounces <at> debbugs.gnu.org> X-Spam-Score: -0.0 (/) Hello, This patch series sets `-DCMAKE_SYSTEM_NAME=Generic' when the system name is not known, else set it to Linux or Windows when applicable. Causes a rebuild of all packages depending on CMAKE-BUILD-SYSTEM as a result, but this is necessary to build packages for bare-metal architectures, e.g. for `avr' or `or1k-elf'. Cheers, Jean-Pierre De Jesus DIAZ (1): guix: cmake-build-system: Handle unknown systems. guix/build/cmake-build-system.scm | 9 ++++++--- 1 file changed, 6 insertions(+), 3 deletions(-) base-commit: 537768018ee03a6a9a5562022a16b47ac287d131 -- 2.41.0
Jean-Pierre De Jesus DIAZ <jean@HIDDEN>
:guix-patches@HIDDEN
.
Full text available.guix-patches@HIDDEN
:bug#68366
; Package guix-patches
.
Full text available.
GNU bug tracking system
Copyright (C) 1999 Darren O. Benham,
1997 nCipher Corporation Ltd,
1994-97 Ian Jackson.