From nobody Wed Aug 28 09:22:27 2024 X-Original-To: dev-commits-ports-all@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 4WtzTV4H69z5St1q; Wed, 28 Aug 2024 09:22:38 +0000 (UTC) (envelope-from pkubaj@anongoth.pl) Received: from mail.anongoth.pl (mail.anongoth.pl [46.248.190.61]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X448 server-signature RSA-PSS (4096 bits) server-digest SHA256 client-signature RSA-PSS (4096 bits) client-digest SHA256) (Client CN "anongoth.pl", Issuer "R10" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 4WtzTV0r7sz4r4v; Wed, 28 Aug 2024 09:22:38 +0000 (UTC) (envelope-from pkubaj@anongoth.pl) Authentication-Results: mx1.freebsd.org; none Received: from anongoth.pl (unknown [192.168.1.2]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256) (Client did not present a certificate) (Authenticated sender: pkubaj@anongoth.pl) by mail.anongoth.pl (Postfix) with ESMTPSA id C07A4AEAA5; Wed, 28 Aug 2024 11:22:28 +0200 (CEST) DKIM-Signature: v=1; a=rsa-sha256; c=simple/simple; d=anongoth.pl; s=ANONGOTH; t=1724836948; bh=BMNdhgdZ4J+vbvBWPWBSwIxKkfk1yJchAcMXSwp3Ejs=; h=Date:From:To:Cc:Subject:References:In-Reply-To; b=cD9LRV+Df2QYB642G6V5W969ZJANGCKZJyGpgeRyCd2JI//gYaAMoraj8HvpAcLp+ wwfcGMYe2nLT2OsDFPlZkOWcmcyylvnBGF1LcmKiCIB5O7QldSnXLlNIplEO5hZKFx EkGEgo5J5oP6lqacL2VFU6w6FeDoRG+sRxmBxM+M+n0N1ssK6ZoaH1gV02sF1oEHx/ Jr5f92PJtDQjBEdeVi6qUwU9ch7uwRrICVpB2Mx6lY7hGuiGGw3aQT7KlrNMp3oLlV wHVwTo7tLorEhlS1DJAkGjKSHU5N96OqoZTL/G0s4Lw2L3krXqlBK6cbcpm3PKFoRh BlzeEH/8oQcbw== Date: Wed, 28 Aug 2024 11:22:27 +0200 From: Piotr Kubaj To: Brooks Davis Cc: ports-committers@FreeBSD.org, dev-commits-ports-all@FreeBSD.org, dev-commits-ports-main@FreeBSD.org Subject: Re: git: 58dba5b8212f - main - devel/llvm19: prune build on 32-bit archs Message-ID: References: <202408271923.47RJNbwH029293@gitrepo.freebsd.org> List-Id: Commit messages for all branches of the ports repository List-Archive: https://lists.freebsd.org/archives/dev-commits-ports-all List-Help: List-Post: List-Subscribe: List-Unsubscribe: X-BeenThere: dev-commits-ports-all@freebsd.org Sender: owner-dev-commits-ports-all@FreeBSD.org MIME-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha256; protocol="application/pgp-signature"; boundary="HqXZFkXfd0gMwKmL" Content-Disposition: inline In-Reply-To: <202408271923.47RJNbwH029293@gitrepo.freebsd.org> X-Spamd-Bar: ---- X-Rspamd-Pre-Result: action=no action; module=replies; Message is reply to one we originated X-Spamd-Result: default: False [-4.00 / 15.00]; REPLY(-4.00)[]; ASN(0.00)[asn:47544, ipnet:46.248.160.0/19, country:PL] X-Rspamd-Queue-Id: 4WtzTV0r7sz4r4v --HqXZFkXfd0gMwKmL Content-Type: text/plain; charset=utf-8 Content-Disposition: inline Content-Transfer-Encoding: quoted-printable Response inline. On 24-08-27 19:23:37, Brooks Davis wrote: > The branch main has been updated by brooks: >=20 > URL: https://cgit.FreeBSD.org/ports/commit/?id=3D58dba5b8212fd4dc77e07f58= 810ae959ae29fc6e >=20 > commit 58dba5b8212fd4dc77e07f58810ae959ae29fc6e > Author: Brooks Davis > AuthorDate: 2024-08-27 19:23:23 +0000 > Commit: Brooks Davis > CommitDate: 2024-08-27 19:23:23 +0000 >=20 > devel/llvm19: prune build on 32-bit archs > =20 > Given trends in compiler resource use, it is incresingly implausible = to > consider cross-development from a 32-bit system. As such, stop spend= ing > time building LLVM bits are are vinishingly unlikely to be used on > 32-bit systems. > =20 > Default to BE_NATIVE (no cross build support) on 32-bit plaforms. > Disable BE_AMDGPU and BE_WASM as well. BE_AMDGPU consumes enormous > amounts of memory. BE_WASM is less problematic, but no one has stood= up > to say they need it so turn it off for now. > =20 > Completely disable MLIR and POLLY on 32-bit. Just building MLIR fails > routinly on armv7 and there aren't a lot of direct users (it's used by > FLANG, but FLANG is 64-bit only). Polly is pretty niche and adds qui= te > a bit of build time. > =20 > Sponsored by: DARPA, AFRL > Differential Revision: https://reviews.freebsd.org/D46239 > --- > devel/llvm19/Makefile | 44 +++++++++++++++++++++++++++++--------------- > 1 file changed, 29 insertions(+), 15 deletions(-) >=20 > diff --git a/devel/llvm19/Makefile b/devel/llvm19/Makefile > index 61a8a9f89200..73d9cec01335 100644 > --- a/devel/llvm19/Makefile > +++ b/devel/llvm19/Makefile > @@ -65,6 +65,7 @@ SHEBANG_FILES=3D \ > =20 > SUB_FILES=3D llvm-wrapper.sh > SUB_LIST=3D LLVM_PREFIX=3D"${LLVM_PREFIX}" LLVM_SUFFIX=3D"${LLVM_SUFFIX}" > +OPTIONS_SUB=3D yes > =20 > CMAKE_INSTALL_PREFIX=3D ${LLVM_PREFIX} > CMAKE_SOURCE_PATH=3D ${WRKSRC}/llvm > @@ -85,33 +86,46 @@ CMAKE_ARGS+=3D -DLLVM_ENABLE_TERMINFO=3DOFF > CMAKE_ARGS+=3D -DLLVM_VERSION_SUFFIX=3D > =20 > OPTIONS_DEFINE=3D BE_AMDGPU BE_WASM CLANG COMPILER_RT DOCS LLD STATIC_LI= BS > -OPTIONS_DEFAULT=3D BE_AMDGPU BE_WASM CLANG LLD > OPTIONS_SINGLE=3D BACKENDS > OPTIONS_SINGLE_BACKENDS=3DBE_FREEBSD BE_NATIVE BE_STANDARD > + > +OPTIONS_DEFAULT=3D CLANG LLD > + > +# BE_NATIVE for 32-bit > +OPTIONS_DEFAULT_armv6=3D BE_NATIVE > +OPTIONS_DEFAULT_armv7=3D BE_NATIVE > +OPTIONS_DEFAULT_i386=3D BE_NATIVE > +OPTIONS_DEFAULT_power=3D BE_NATIVE Didn't you mean here OPTIONS_DEFAULT_powerpc and OPTIONS_DEFAULT_powerpcspe? > +# FLAVOR-dependent BE for 64-bit > +_BE_default=3D BE_STANDARD BE_AMDGPU BE_WASM > +_BE_lite=3D BE_FREEBSD BE_AMDGPU BE_WASM > +OPTIONS_DEFAULT_aarch64=3D ${_BE_${FLAVOR}} > +OPTIONS_DEFAULT_amd64=3D ${_BE_${FLAVOR}} > +OPTIONS_DEFAULT_powerpc64=3D ${_BE_${FLAVOR}} > +OPTIONS_DEFAULT_powerpc64le=3D ${_BE_${FLAVOR}} > + > OPTIONS_EXCLUDE_armv6=3D COMPILER_RT > OPTIONS_EXCLUDE_armv7=3D COMPILER_RT > -OPTIONS_SUB=3D yes > =20 > -.if ${FLAVOR:Mlite} > -OPTIONS_DEFAULT+=3D BE_FREEBSD > -.else > +.if ${FLAVOR:Mdefault} > OPTIONS_DEFINE+=3D EXTRAS FLANG LIT LLDB MLIR OPENMP PYCLANG POLLY > OPTIONS_DEFINE_amd64=3D GOLD > OPTIONS_DEFINE_powerpc=3D GOLD > OPTIONS_DEFINE_powerpc64=3D GOLD > OPTIONS_DEFINE_powerpc64le=3D GOLD > =20 > -OPTIONS_DEFAULT+=3D BE_STANDARD COMPILER_RT EXTRAS LIT LLDB MLIR OPENMP \ > +OPTIONS_DEFAULT+=3D COMPILER_RT EXTRAS LIT LLDB MLIR OPENMP \ > PYCLANG POLLY STATIC_LIBS > -OPTIONS_DEFAULT_amd64=3D GOLD > -OPTIONS_DEFAULT_powerpc=3D GOLD > -OPTIONS_DEFAULT_powerpc64=3D GOLD > -OPTIONS_DEFAULT_powerpc64le=3D GOLD > - > -OPTIONS_EXCLUDE_armv6+=3D FLANG OPENMP > -OPTIONS_EXCLUDE_armv7+=3D FLANG OPENMP > -OPTIONS_EXCLUDE_i386=3D FLANG OPENMP > -OPTIONS_EXCLUDE_powerpc=3D FLANG OPENMP > +OPTIONS_DEFAULT_amd64+=3D GOLD > +OPTIONS_DEFAULT_powerpc+=3D GOLD > +OPTIONS_DEFAULT_powerpc64+=3D GOLD > +OPTIONS_DEFAULT_powerpc64le+=3D GOLD > + > +_OPTIONS_EXCLUDE_ptr32=3D FLANG MLIR OPENMP POLLY > +OPTIONS_EXCLUDE_armv6+=3D ${_OPTIONS_EXCLUDE_ptr32} > +OPTIONS_EXCLUDE_armv7+=3D ${_OPTIONS_EXCLUDE_ptr32} > +OPTIONS_EXCLUDE_i386=3D ${_OPTIONS_EXCLUDE_ptr32} > +OPTIONS_EXCLUDE_powerpc=3D ${_OPTIONS_EXCLUDE_ptr32} > OPTIONS_EXCLUDE_riscv64=3D LLDB > .endif > =20 --HqXZFkXfd0gMwKmL Content-Type: application/pgp-signature; name="signature.asc" -----BEGIN PGP SIGNATURE----- iQIzBAABCAAdFiEEycyIeNkkgohzsoorelmbhSCDnJ0FAmbO7FMACgkQelmbhSCD nJ2f1xAAsF8pOHG+EGkTMhcDjwwKEqwS/O9B9WVTO4EJ0C3opnny9l5Id67Abg2o A297euiIfuPFwi8jzQR093GqKFN/T72GpwvfLlq1M9XKPEeea5IGOdKm3PAR/R87 s23fX38+TPJAEuSP6CMNceiI3YVhVuXMqXAYchZskmpenkXILFf0w8b2v516sGOL j/VjnkJNTY3nRS9S4QhzXWiuwIMqhTVTxnVHkT/s6ZHzWhG9J1Pf6IuXAa+8eAz2 6hyXeZdKSD70DWjwoJVUXzwXXXwKKxPRXEmiCJKBQDdHVnlblZJYMQDaBzP/QkFD I6hnl2J3N1U8LwIjhrn2dMD6RbFf+5eCkDLUy/HMBmKfRdnHtAjBc+/TcY01I5Tb ChLhtbA6rRweefWO0imi9JICrYK3r296dtfYqHhgkOEP5u8j9hS+O/LWjIWq33Iv oNV0RyGzkqiKgrZ4mk7Id/9r1wo4AolQeKw/+QxyshpBwRHdMovS9yVhxg8oJXDY 63kBi70/x2mytc2xCSUf1SaniqGicgBI9V21fEla4+xDXNw2cd4h0yiTLLvG/Tcy 9HwSTmemhq2v7WVtIkaoy9K69yuJj7LLqCJbMdoQ7cphEvCohtkLAqbF2uFhqEQ9 A6K+NAUsljIpa0T4BsyOdt8n6iTKzLDGjlZiC4twiKpbWQcPdcE= =tPiE -----END PGP SIGNATURE----- --HqXZFkXfd0gMwKmL--