Authentication-Results: name.execsw.org; dkim=pass (1024-bit key) header.d=netbsd.org header.i=@netbsd.org header.b=ImKbeMcj; dkim=pass (1024-bit key) header.d=netbsd.org header.i=@netbsd.org header.b=YbKfGqWH Received: by mail.netbsd.org (Postfix, from userid 605) id 5DE0784D44; Sun, 10 Mar 2024 21:24:38 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=netbsd.org; s=20240131; t=1710105878; bh=GGp4f3AcOddT/ozufgvJAAbRNZdikxiZJbURAosIMPk=; h=Date:From:Subject:To:Reply-To:List-Id:List-Unsubscribe; b=ImKbeMcjt685qmdS7x+M/e8vdpuCtfhnYHpyGoyoqyXDzO/Gic19PDt0aJ/Jvk4NR mypt3T62nXA71b0gNSYlS4EYRxARQG6EBe4gCCCZ6JJIHg7jq5cNkZevFT5uHxt/M7 Pd54ixnjtqsD5JpocAIxNu8w5EBOibEHnYlFHszQ= Received: from localhost (localhost [127.0.0.1]) by mail.netbsd.org (Postfix) with ESMTP id 4E04B84D28 for ; Sun, 10 Mar 2024 21:24:37 +0000 (UTC) X-Virus-Scanned: amavisd-new at netbsd.org Authentication-Results: mail.netbsd.org (amavisd-new); dkim=pass (1024-bit key) header.d=netbsd.org Received: from mail.netbsd.org ([127.0.0.1]) by localhost (mail.netbsd.org [127.0.0.1]) (amavisd-new, port 10025) with ESMTP id rfO8zCjlX5DX for ; Sun, 10 Mar 2024 21:24:36 +0000 (UTC) Received: from cvs.NetBSD.org (ivanova.NetBSD.org [IPv6:2001:470:a085:999:28c:faff:fe03:5984]) by mail.netbsd.org (Postfix) with ESMTP id BB57384D27 for ; Sun, 10 Mar 2024 21:24:36 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=netbsd.org; s=20240131; t=1710105876; bh=GGp4f3AcOddT/ozufgvJAAbRNZdikxiZJbURAosIMPk=; h=Date:From:Subject:To:Reply-To; b=YbKfGqWH9oc30M6BIRHxdlZxPvMDoGg7XXOwW38ffie+wulYTHgfrAO/7Sz1T49Df 6liNotiysSCc040AjPdyWO5QJKUq5Cu56+RF/V+rp1oy5OPKFX5C1cMT/s56pveKqZ SkuaAbG5lq51Wxf/5FVY/AAu7X41MxFA1S4rkSQw= Received: by cvs.NetBSD.org (Postfix, from userid 500) id A91E1FA2A; Sun, 10 Mar 2024 21:24:36 +0000 (UTC) Content-Transfer-Encoding: 7bit Content-Type: multipart/mixed; boundary="_----------=_1710105876106030" MIME-Version: 1.0 Date: Sun, 10 Mar 2024 21:24:36 +0000 From: "Havard Eidnes" Subject: CVS commit: pkgsrc/lang/rust To: pkgsrc-changes@NetBSD.org Reply-To: he@netbsd.org X-Mailer: log_accum Message-Id: <20240310212436.A91E1FA2A@cvs.NetBSD.org> Sender: pkgsrc-changes-owner@NetBSD.org List-Id: Precedence: bulk List-Unsubscribe: This is a multi-part message in MIME format. --_----------=_1710105876106030 Content-Disposition: inline Content-Transfer-Encoding: 8bit Content-Type: text/plain; charset="US-ASCII" Module Name: pkgsrc Committed By: he Date: Sun Mar 10 21:24:36 UTC 2024 Modified Files: pkgsrc/lang/rust: options.mk Log Message: lang/rust: move conditional for sparc64 to after when options are known. To generate a diff of this commit: cvs rdiff -u -r1.36 -r1.37 pkgsrc/lang/rust/options.mk Please note that diffs are not public domain; they are subject to the copyright notices on the relevant files. --_----------=_1710105876106030 Content-Disposition: inline Content-Length: 1806 Content-Transfer-Encoding: binary Content-Type: text/x-diff; charset=us-ascii Modified files: Index: pkgsrc/lang/rust/options.mk diff -u pkgsrc/lang/rust/options.mk:1.36 pkgsrc/lang/rust/options.mk:1.37 --- pkgsrc/lang/rust/options.mk:1.36 Mon Mar 4 16:01:07 2024 +++ pkgsrc/lang/rust/options.mk Sun Mar 10 21:24:36 2024 @@ -1,4 +1,4 @@ -# $NetBSD: options.mk,v 1.36 2024/03/04 16:01:07 he Exp $ +# $NetBSD: options.mk,v 1.37 2024/03/10 21:24:36 he Exp $ PKG_OPTIONS_VAR= PKG_OPTIONS.rust PKG_SUPPORTED_OPTIONS+= rust-cargo-static rust-docs @@ -19,17 +19,6 @@ PKG_SUGGESTED_OPTIONS+= rust-internal-l PKG_SUGGESTED_OPTIONS+= rust-internal-llvm .endif -# NetBSD/sparc64 when using the internal LLVM needs -# to not use gcc 10.4 or 10.5 (as found in 10.0_BETA or 10.0), ref. -# https://github.com/rust-lang/rust/issues/117231 -# (however, gcc from 9.x produces a working LLVM). -.if ${MACHINE_PLATFORM:MNetBSD-10.*-sparc64} -. if !empty(PKG_OPTIONS:Mrust-internal-llvm) -# Require GCC 12 (from pkgsrc) to correctly build the embedded LLVM (17.x). -GCC_REQD+= 12 -. endif -.endif - # Bundle OpenSSL and curl into the cargo binary when producing # bootstraps on NetBSD. .if ${OPSYS} == "NetBSD" && ${BUILD_TARGET} == "dist" @@ -53,6 +42,17 @@ CONFIGURE_ARGS+= --llvm-libunwind=system CONFIGURE_ARGS+= --llvm-root=${BUILDLINK_PREFIX.llvm} .endif +# NetBSD/sparc64 when using the internal LLVM needs +# to not use gcc 10.4 or 10.5 (as found in 10.0_BETA or 10.0), ref. +# https://github.com/rust-lang/rust/issues/117231 +# (however, gcc from 9.x produces a working LLVM). +.if ${MACHINE_PLATFORM:MNetBSD-10.*-sparc64} +. if !empty(PKG_OPTIONS:Mrust-internal-llvm) +# Require GCC 12 (from pkgsrc) to correctly build the embedded LLVM (17.x). +GCC_REQD+= 12 +. endif +.endif + # # Link cargo statically against "native" libraries. # (openssl and curl specifically). --_----------=_1710105876106030--