From nobody Mon Oct 09 23:06:56 2023 X-Original-To: freebsd-toolchain@mlmmj.nyi.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mlmmj.nyi.freebsd.org (Postfix) with ESMTP id 4S4F6V2flSz4wfRX for ; Mon, 9 Oct 2023 23:07:14 +0000 (UTC) (envelope-from marklmi@yahoo.com) Received: from sonic315-55.consmr.mail.gq1.yahoo.com (sonic315-55.consmr.mail.gq1.yahoo.com [98.137.65.31]) (using TLSv1.3 with cipher TLS_AES_128_GCM_SHA256 (128/128 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256) (Client did not present a certificate) by mx1.freebsd.org (Postfix) with ESMTPS id 4S4F6S4RmMz3MxC for ; Mon, 9 Oct 2023 23:07:12 +0000 (UTC) (envelope-from marklmi@yahoo.com) Authentication-Results: mx1.freebsd.org; dkim=pass header.d=yahoo.com header.s=s2048 header.b=pT6xkPlO; spf=pass (mx1.freebsd.org: domain of marklmi@yahoo.com designates 98.137.65.31 as permitted sender) smtp.mailfrom=marklmi@yahoo.com; dmarc=pass (policy=reject) header.from=yahoo.com DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=yahoo.com; s=s2048; t=1696892830; bh=8OF7qKMTsqAoUFkZdKZEbCa92oR1i0xwOBGVbbOTGhM=; h=From:Subject:Date:To:References:From:Subject:Reply-To; b=pT6xkPlOPR31/6oJkoNeozN5+qbMGfdFhUsqqYRZh2SoZRUYBsKKh3vdFSRcQKNRiFbpLPLISck83p8HZpZQkZTTYNYsGfhOarBOSvSSD+JNtnYSwKhn0JHhIaRUwzuLFiJNt9Ys4C1yHOxUq3GVY2W2NOuf2HZ54ib0q+wk187whROV7EvC22Rv8zHMQiz1SD234Vo3A7Kd/Z/4JLYSzV573z+2k49iv7v5y4jU3tnYIEVebiCRyWyb/bjCUPefA/9G26J/kd8VJ+ggm2B/H6LzxoRMOc9sntVgWSUyOJOZSxrPQMzJf5+A7N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DiLCKdkf11RqBAu8_lhhPGgTHvPQa7gmw259prN1H k9XKvXavaOSYdOKABeDQGbp8qL240lMy58qq8Bh9P2yukxZWrAuasCO4lIPlMKwRcpy_v7DQM7V5 dvrHU.4Bi4SXVe4EUdEMWSx6ObBBVXjy4neZsHv5lxCZGXTDW9hjTz03pk44pIHrF4Js8lxep16O t08gaARDDrx0pWQiEPAQ0dlNwnHq75Zzd40Qc_d0vTNh0qbOt6LW5Ad5s7QFJqxcWcfNoG_K_pZH fdxLp5.YgRg4uBhMIQKMGBOHrxkXbyRlWb1JMDjXpJd8TZKkLwc7APECsW48lW2ZHVKnmUzKDHeB Sr9_ka0UzAPkOQsZohWuarFXVIvqjCpywwrS5O38A2t2uvHKLF5hlnqcgwKqZ29ozr3NRx_ObXiJ 6vetGfYSR2MAQBxR7KUBAZnlRMdwuRqmz1Pyvga1GcnrLMI9DSzlXxMmUOfJ8cVwhJ_KGYQZ65Ah NtZDN8ZeEb70WlNPwsMKwwbzP6kmWGHTj2LgfyCC1AUrnwFefebgTqPKylpMFRExCEAGFXBdyufC MUqZ74hhXdJ9mT1bOs.iz4sjULSMner7CHe8cUYlf4Gy7xPcXq4KZIAIWOxcNdKf1ivHIvsEFI7B oFt61zhE6j7ncUFxLHduttst3skCa06u8.Sy6KDQH5IS_HVRD6UOa.manU5G_I9ww9e7wuuGkxw- - X-Sonic-MF: X-Sonic-ID: e76ebb14-b4cf-474d-8cc5-d363440a2b2f Received: from sonic.gate.mail.ne1.yahoo.com by sonic315.consmr.mail.gq1.yahoo.com with HTTP; Mon, 9 Oct 2023 23:07:10 +0000 Received: by hermes--production-ne1-57ddc4969d-h6hb9 (Yahoo Inc. Hermes SMTP Server) with ESMTPA ID 67202f90219729e6838d7d48b64071d7; Mon, 09 Oct 2023 23:07:08 +0000 (UTC) From: Mark Millard Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: quoted-printable List-Id: Maintenance of FreeBSD s integrated toolchain List-Archive: https://lists.freebsd.org/archives/freebsd-toolchain List-Help: List-Post: List-Subscribe: List-Unsubscribe: Sender: owner-freebsd-toolchain@freebsd.org X-BeenThere: freebsd-toolchain@freebsd.org Mime-Version: 1.0 (Mac OS X Mail 16.0 \(3774.100.2.1.4\)) Subject: RE: lang/rust: resurrect PORT_LLVM as a non-default OPTION Message-Id: <3DDDE8A9-0DB8-4C6E-81B5-60A1E13CECCD@yahoo.com> Date: Mon, 9 Oct 2023 16:06:56 -0700 To: "vishwin@freebsd.org" , FreeBSD Toolchain , FreeBSD Mailing List X-Mailer: Apple Mail (2.3774.100.2.1.4) References: <3DDDE8A9-0DB8-4C6E-81B5-60A1E13CECCD.ref@yahoo.com> X-Spamd-Bar: --- X-Spamd-Result: default: False [-3.50 / 15.00]; NEURAL_HAM_MEDIUM(-1.00)[-1.000]; NEURAL_HAM_LONG(-1.00)[-1.000]; NEURAL_HAM_SHORT(-1.00)[-1.000]; MV_CASE(0.50)[]; DMARC_POLICY_ALLOW(-0.50)[yahoo.com,reject]; R_SPF_ALLOW(-0.20)[+ptr:yahoo.com]; R_DKIM_ALLOW(-0.20)[yahoo.com:s=s2048]; MIME_GOOD(-0.10)[text/plain]; RCPT_COUNT_THREE(0.00)[3]; FROM_HAS_DN(0.00)[]; TO_DN_EQ_ADDR_SOME(0.00)[]; TO_MATCH_ENVRCPT_SOME(0.00)[]; ARC_NA(0.00)[]; MLMMJ_DEST(0.00)[freebsd-toolchain@freebsd.org]; RCVD_IN_DNSWL_NONE(0.00)[98.137.65.31:from]; DWL_DNSWL_NONE(0.00)[yahoo.com:dkim]; ASN(0.00)[asn:36647, ipnet:98.137.64.0/20, country:US]; RWL_MAILSPIKE_POSSIBLE(0.00)[98.137.65.31:from]; FREEMAIL_FROM(0.00)[yahoo.com]; TO_DN_SOME(0.00)[]; RCVD_VIA_SMTP_AUTH(0.00)[]; MID_RHS_MATCH_FROM(0.00)[]; DKIM_TRACE(0.00)[yahoo.com:+]; RCVD_TLS_LAST(0.00)[]; FROM_EQ_ENVFROM(0.00)[]; FREEMAIL_ENVFROM(0.00)[yahoo.com]; MIME_TRACE(0.00)[0:+]; RCVD_COUNT_TWO(0.00)[2] X-Rspamd-Queue-Id: 4S4F6S4RmMz3MxC Charlie Li wrote on 2023-10-09 15:30:33 +0000 : > lang/rust: resurrect PORT_LLVM as a non-default OPTION >=20 > Rust uses LLVM for code generation [0] and bundles their own copy of a = release that they fully support in relation to the rest of rustc. This = however adds to an already intensive build process. For the benefit of = those building from source, resurrect the PORT_LLVM option, allowing to = link with an existing devel/llvm port of the user's choosing within Rust = compatibility ranges. This remains unset by default. My understanding is that building a devel/llvm* these days requires building rust first, via needing to build python things (for documentation purposes?), that in turn need rust to have been built first. Last I knew, trying to disable the llvm* DOCS option in a normal way did not avoid the "needs rust" issue. Absent use of a workaround to avoid this, it would seem to be problematical to use PORT_LLVM for rust if the llvm* in question would itself need to be built. Note: I have used a /usr/local/etc/poudriere.d/make.conf workaround for my port->package build activity: .if ${.CURDIR:M*/devel/llvm*} OPTIONS_UNSET=3DDOCS .endif It managed to avoid the python related dependencies that lead to rust being needed by the llvm* build. May be PORT_LLVM enablement should do such automatically? May be a stronger form of guaranteed mutual exclusion between DOCS and PORT_LLVM to avoid ever being allowed to form the cycle? =3D=3D=3D Mark Millard marklmi at yahoo.com