From nobody Sat Mar 26 15:30:07 2022 X-Original-To: dev-commits-ports-main@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 230A11A40C65; Sat, 26 Mar 2022 15:30:15 +0000 (UTC) (envelope-from ashish@FreeBSD.ORG) Received: from smtp.freebsd.org (smtp.freebsd.org [96.47.72.83]) (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-signature RSA-PSS (4096 bits) client-digest SHA256) (Client CN "smtp.freebsd.org", Issuer "R3" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 4KQjZb0RChz3r0t; Sat, 26 Mar 2022 15:30:15 +0000 (UTC) (envelope-from ashish@FreeBSD.ORG) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1648308615; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:cc:mime-version:mime-version:content-type:content-type: in-reply-to:in-reply-to:references:references; bh=HTB48YR4iEO7GND94NdgJdMXZMzMrij3NxopSq9RLDc=; b=QnweJbzK1rTVTLBHdeHw3VVjnq4hdwZP8RNJ0BfYCKP6wrTlV0Oq/GZ5t//vqfjN95tfNH Ic/vFzeO27KyW52TJauIqOGCFTSF8nQfrhySbRdOtz3a8PnUS7IIMWjR7vI4LwwkJpTrm4 y5Yj43EnqsLvtqRtHtklw8UpLxm2s7EsKOhqEdglls/r8siHl30uuZeLGaIx+FHKYme4ih 2CG6h5y6KpPsqLmRihRbgADdRFpn1FUloJsIih0JujIcP7auzRH9f8jEoeDD3gkEj4zjUe yIk/oAbk3EpnKxVfIvp1dsQOitt/XG1nBGsLSjqmmUb0ms0au/v2rjpzBhyAMg== Received: from chateau.d.if (unknown [IPv6:2401:4900:1c47:5680:4b3d:6696:36d4:7ee5]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client did not present a certificate) (Authenticated sender: ashish) by smtp.freebsd.org (Postfix) with ESMTPSA id 827012BCAE; Sat, 26 Mar 2022 15:30:13 +0000 (UTC) (envelope-from ashish@FreeBSD.ORG) Date: Sat, 26 Mar 2022 15:30:07 +0000 From: Ashish SHUKLA To: Brooks Davis Cc: ports-committers@FreeBSD.org, dev-commits-ports-all@FreeBSD.org, dev-commits-ports-main@FreeBSD.org Subject: Re: git: 04e074c6fd45 - main - devel/llvm14: Update to 14.0.0 release Message-ID: <20220326153007.gf3ukh5kurmiepuq@chateau.d.if> Organization: The FreeBSD Project References: <202203252250.22PMoRbO071007@gitrepo.freebsd.org> List-Id: Commits to the main branch of the FreeBSD ports repository List-Archive: https://lists.freebsd.org/archives/dev-commits-ports-main List-Help: List-Post: List-Subscribe: List-Unsubscribe: Sender: owner-dev-commits-ports-main@freebsd.org X-BeenThere: dev-commits-ports-main@freebsd.org MIME-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha512; protocol="application/pgp-signature"; boundary="q4c5euovel7vd5ip" Content-Disposition: inline In-Reply-To: <202203252250.22PMoRbO071007@gitrepo.freebsd.org> User-Agent: NeoMutt/20211029 ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1648308615; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:cc:mime-version:mime-version:content-type:content-type: in-reply-to:in-reply-to:references:references; bh=HTB48YR4iEO7GND94NdgJdMXZMzMrij3NxopSq9RLDc=; b=xI+Ecb4FhXZRo1tw/ZXvpsv7JQjgVAmfV3n5JMwH5JcvbRuGOAwTvbyJaJGag0IodCS4RG BcrTPwNhtUaeHTK1w2GJFUmasfstMz/81EIprAtlD3YgOo+0DaD/5lCV5r6oEmyh5x2zQa hP6lZkUUpcyH98sUxCqEfCN6qgMFgdz+T25quOspmz4FQ/zsbKIE1hHf6mRhbd+iR0W1IQ lsDYl+vslfRTZh2QLB/udEU3uoIMDGFUwJ5OIZqCGAzWgsl0cRYRo0Pp9G07f4/ZRdk+qK 0lCFnPwVYckS+8MfiISI+oIhqBphCpc9c8YmrwiaYJFKt9hSSesMfuBLOTVxMw== ARC-Seal: i=1; s=dkim; d=freebsd.org; t=1648308615; a=rsa-sha256; cv=none; b=mJ1bDQEk00GORHVbJ/5Nv4ff+WEAcEigXD6N5UuhW6tLJzerhALhlqrxukKAtueCgLg9Sb +Q0kVgL7j/ywhAlfrStpgfhs/s9Lo2lUw9gw9vM0Dxwc/Rcy6xUDV1FGfCmZ4BqKab96a8 Jai+PU6a7de66aKOYbYX1LFdV/+lNHVkxD4NCXqs7r08j15ZeXPX/+nj6znur6UmvNDmCN sxxWTdb95VPisV24yBmq1R/V0yxj1M2XYpv1qYNkNQbs/cJUS3/b6TgHZ16hbaSwoFOkD/ rzs3Y+m0QRSh1N2sVd/IYTljppFNiMwsXcXTUrY3hdnriJGeH8abI3gLNB3IBA== ARC-Authentication-Results: i=1; mx1.freebsd.org; none X-ThisMailContainsUnwantedMimeParts: N --q4c5euovel7vd5ip Content-Type: text/plain; charset=us-ascii Content-Disposition: inline Content-Transfer-Encoding: quoted-printable On Fri, Mar 25, 2022 at 10:50:27PM +0000, Brooks Davis wrote: > The branch main has been updated by brooks: >=20 > URL: https://cgit.FreeBSD.org/ports/commit/?id=3D04e074c6fd452983ccfd931d= e0c43263d27fe1f3 >=20 > commit 04e074c6fd452983ccfd931de0c43263d27fe1f3 > Author: Brooks Davis > AuthorDate: 2022-03-25 22:49:58 +0000 > Commit: Brooks Davis > CommitDate: 2022-03-25 22:49:58 +0000 >=20 > devel/llvm14: Update to 14.0.0 release > =20 > Avoid a dependency of libunwind on sufficently recent systems where > the installed unwind.h can be found. > =20 > PR: 262707 > Reported by: pkubaj > --- > devel/llvm14/Makefile | 11 +++++++---- > devel/llvm14/distinfo | 6 +++--- > 2 files changed, 10 insertions(+), 7 deletions(-) >=20 > diff --git a/devel/llvm14/Makefile b/devel/llvm14/Makefile > index 73d459cc20f6..a62a794187db 100644 > --- a/devel/llvm14/Makefile > +++ b/devel/llvm14/Makefile > @@ -1,5 +1,5 @@ > PORTNAME=3D llvm > -DISTVERSION=3D 14.0.0rc4 > +DISTVERSION=3D 14.0.0 > PORTREVISION=3D 0 > CATEGORIES=3D devel lang > MASTER_SITES=3D https://github.com/llvm/llvm-project/releases/download/l= lvmorg-${DISTVERSION:S/rc/-rc/}/ \ > @@ -134,9 +134,6 @@ CLANG_SUB_LIST=3D XCC=3Dclang${LLVM_SUFFIX} \ > X_COMPILER_TYPE=3Dclang > CLANG_USE=3D GNOME=3Dlibxml2 > COMPILER_RT_DESC=3D Sanitizer libraries > -# An unwind.h is require to build. I think an in-tree one should be used > -# but this seems to work as a workaround... > -COMPILER_RT_BUILD_DEPENDS=3D libunwind>0:devel/libunwind > COMPILER_RT_CMAKE_ON=3D -DCOMPILER_RT_INSTALL_PATH=3D${LLVM_PREFIX}/lib/= clang/${LLVM_RELEASE} > # Allow unwind.h to be found reliably > COMPILER_RT_USES=3D localbase > @@ -273,6 +270,12 @@ MLIR_PATTERN=3D ${MLIR_COMMANDS:S/^/bin./:tW:C/ */|= /g}|mlir|libMLIR|obj.MLIRCAP > =20 > .include > =20 > +.if ${OSVERSION} < 1300525 > +# An unwind.h is require to build. I think an in-tree one should be used > +# but this seems to work as a workaround... > +COMPILER_RT_BUILD_DEPENDS=3D libunwind>0:devel/libunwind > +.endif > + This is ineffective as the evaluation/processing of `${OPTION_NAME}_BUILD_D= EPENDS` variables happen in the bsd.port.options.mk, which is already inclu= ded before this gets defined, and so it results in a build error on 13-RELE= ASE: =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D /usr/local/libexec/ccache/c++ -DHAVE_RPC_XDR_H=3D0 -D__STDC_CONSTANT_MACROS= -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/wrkdirs/usr/ports/devel/ll= vm14/work/.build/projects/compiler-rt/lib/sanitizer_common -I/wrkdirs/usr/p= orts/devel/llvm14/work/llvm-project-14.0.0.src/compiler-rt/lib/sanitizer_co= mmon -I/wrkdirs/usr/ports/devel/llvm14/work/.build/include -I/wrkdirs/usr/p= orts/devel/llvm14/work/llvm-project-14.0.0.src/llvm/include -I/wrkdirs/usr/= ports/devel/llvm14/work/llvm-project-14.0.0.src/compiler-rt/lib/sanitizer_c= ommon/.. -O2 -pipe -DNDEBUG -fstack-protector-strong -isystem /usr/local/in= clude -fno-strict-aliasing -DNDEBUG -isystem /usr/local/include -fPIC -fvi= sibility-inlines-hidden -Werror=3Ddate-time -Werror=3Dunguarded-availabilit= y-new -Wall -Wextra -Wno-unused-parameter -Wwrite-strings -Wcast-qual -Wmis= sing-field-initializers -pedantic -Wno-long-long -Wc++98-compat-extra-semi = -Wimplicit-fallthrough -Wcovered-switch-default -Wno-noexcept-type -Wnon-vi= rtual-dtor -Wdelete-non-virtual-dtor -Wsuggest-override -Wstring-conversion= -Wmisleading-indentation -fdiagnostics-color -ffunction-sections -fdata-se= ctions -Wall -std=3Dc++14 -Wno-unused-parameter -O2 -pipe -DNDEBUG -fstack-= protector-strong -isystem /usr/local/include -fno-strict-aliasing -DNDEBUG= -isystem /usr/local/include -m32 -fPIC -fno-builtin -fno-exceptions -fomi= t-frame-pointer -funwind-tables -fno-stack-protector -fno-sanitize=3Dsafe-s= tack -fvisibility=3Dhidden -fno-lto -Wthread-safety -Wthread-safety-referen= ce -Wthread-safety-beta -O3 -gline-tables-only -Wno-gnu -Wno-variadic-macro= s -Wno-c99-extensions -nostdinc++ -Wno-format -fno-rtti -Wframe-larger-than= =3D570 -Wglobal-constructors -std=3Dc++14 -MD -MT projects/compiler-rt/lib/= sanitizer_common/CMakeFiles/RTSanitizerCommonSymbolizer.i386.dir/sanitizer_= unwind_linux_libcdep.cpp.o -MF projects/compiler-rt/lib/sanitizer_common/CM= akeFiles/RTSanitizerCommonSymbolizer.i386.dir/sanitizer_unwind_linux_libcde= p.cpp.o.d -o projects/compiler-rt/lib/sanitizer_common/CMakeFiles/RTSanitiz= erCommonSymbolizer.i386.dir/sanitizer_unwind_linux_libcdep.cpp.o -c /wrkdir= s/usr/ports/devel/llvm14/work/llvm-project-14.0.0.src/compiler-rt/lib/sanit= izer_common/sanitizer_unwind_linux_libcdep.cpp /wrkdirs/usr/ports/devel/llvm14/work/llvm-project-14.0.0.src/compiler-rt/li= b/sanitizer_common/sanitizer_unwind_linux_libcdep.cpp:26:10: fatal error: '= unwind.h' file not found #include ^~~~~~~~~~ 1 error generated. = = = =20 =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D Following should fix this: =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D diff --git a/devel/llvm14/Makefile b/devel/llvm14/Makefile index 8e3bb67aa2b8..9527e359961e 100644 --- a/devel/llvm14/Makefile +++ b/devel/llvm14/Makefile @@ -273,7 +273,9 @@ MLIR_PATTERN=3D ${MLIR_COMMANDS:S/^/bin./:tW:C/ */|/g}= |mlir|libMLIR|obj.MLIRCAP .if ${OSVERSION} < 1300525 # An unwind.h is require to build. I think an in-tree one should be used # but this seems to work as a workaround... -COMPILER_RT_BUILD_DEPENDS=3D libunwind>0:devel/libunwind +.if ${PORT_OPTIONS:MCOMPILER_RT} +BUILD_DEPENDS+=3D libunwind>0:devel/libunwind +.endif .endif =20 .if defined(PPC_ABI) && ${PPC_ABI} =3D=3D ELFv2 =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D Before diff: =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D # make -C devel/llvm14 -V PORT_OPTIONS BE_AMDGPU BE_STANDARD BE_WASM CLANG COMPILER_RT DOCS EXTRAS FLANG GOLD LIT= LLD LLDB MLIR OPENMP PYCLANG # make -C /usr/ports/devel/llvm14 -V BUILD_DEPENDS py38-sphinx-markdown-tables>=3D0:textproc/py-sphinx-markdown-tables@py38 p= y38-recommonmark>=3D0.0.20180530:textproc/py-recommonmark@py38 /usr/local/b= in/ld.gold:devel/binutils swig:devel/swig /usr/local/bin/cmake:devel/cmake = ninja:devel/ninja /usr/local/bin/python3.8:lang/python38 perl5>=3D5.32.r0<5= =2E33:lang/perl5.32 =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D After diff: =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D # make -C /usr/ports/devel/llvm14 -V BUILD_DEPENDS py38-sphinx-markdown-tables>=3D0:textproc/py-sphinx-markdown-tables@py38 p= y38-recommonmark>=3D0.0.20180530:textproc/py-recommonmark@py38 /usr/local/b= in/ld.gold:devel/binutils swig:devel/swig libunwind>0:devel/libunwind /usr/= local/bin/cmake:devel/cmake ninja:devel/ninja /usr/local/bin/python3.8:lang= /python38 perl5>=3D5.32.r0<5.33:lang/perl5.32 =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D HTH --=20 Ashish SHUKLA | GPG: F682 CDCC 39DC 0FEA E116 20B6 C746 CFA9 E74F A4B0 "If I destroy you, what business is it of yours ?" (Dark Forest, Liu Cixin) --q4c5euovel7vd5ip Content-Type: application/pgp-signature; name="signature.asc" -----BEGIN PGP SIGNATURE----- iQKTBAABCgB9FiEE9oLNzDncD+rhFiC2x0bPqedPpLAFAmI/MX9fFIAAAAAALgAo aXNzdWVyLWZwckBub3RhdGlvbnMub3BlbnBncC5maWZ0aGhvcnNlbWFuLm5ldEY2 ODJDRENDMzlEQzBGRUFFMTE2MjBCNkM3NDZDRkE5RTc0RkE0QjAACgkQx0bPqedP pLBbiA//eoDyqNcUlkSd4rixSW9esyqY8/IDu8yX8YoS+6WGeASobBucG4RLsKsV 93KADU/9cYXnffOxop2k4oG6pm8CEI5U+new+23HreTShm3xoYAe8Eo+QSKVwLhC WI53BK062TJKy+LtNaBrZ7kTe/uKZtIXLxWmjQI4rx1nbw9z3gmQdCU07sDsbzBH hpPHgKtHDBtUhX3snt0V0GIqnEZjnbDcCpE4gekhVGpZ+3RoQkXhgIMBrnAsSGxv 0MSkR144gFdeB4sFNZFqrAMgxnpplLEU1iljZ2ZvNTyW6IukWEUymJ0Q8ka2bCjs JLEtN688CBr/vKaDT2OanPRqUZ6jI4oiMVJhhlNGsy4xWc/Ymaz7fNkvrU5uO5VD yugSn2IVbnef2xCQq7aTId7kC0+SH93kwOVEhOOSdy7uSq/y5m728SY9Rx502g1P H5nnbJXFdfB59nYz+eiFH8hr7NgVdZombGGvJSMpSqvtcNKpX8pI8bWzM1sStany 1S99pWGQNpj3+sH+1db8dR3an6qUgDlYSlYgkDsrQj8JjAvp9GzrvGYNs4//yx0+ eoYX5H1cqQzHtxtHjkJkEePt8q1pmeHKR64o7cyCICMpnn9Kc3Z07X7klXqsD1Gr kbluwNGEQFshjVfFLQ1KR/DLe7kPfCgV9vCLc5hRdYD2d0udKKA= =HvOU -----END PGP SIGNATURE----- --q4c5euovel7vd5ip--