Date: Tue, 6 Aug 2019 19:55:16 -0700 From: Mark Millard <marklmi@yahoo.com> To: freebsd-toolchain@freebsd.org, freebsd-ports@freebsd.org Cc: freebsd-ppc@freebsd.org Subject: Re: devel/llvm90 requires math/z3 first; building math/z3 requires a c++ toolchain be in place Message-ID: <9560A66E-0EFC-4CC8-A249-398B935CB8CB@yahoo.com> In-Reply-To: <9EA047FF-6427-4F5F-B85E-E8DB18CB174C@yahoo.com> References: <8DB3EAA4-2B88-4180-8386-673524D27C64@yahoo.com> <20190806165525.GC94703@spindle.one-eyed-alien.net> <2A88AADC-8ED0-4FFD-85A8-34C0186D5D4F@yahoo.com> <9EA047FF-6427-4F5F-B85E-E8DB18CB174C@yahoo.com>
next in thread | previous in thread | raw e-mail | index | archive | help
[This note is not for Brooks and I'm not sending directly to him. It is for others that may be exploring before his "either/or" is figured out for general builds.] On 2019-Aug-6, at 19:04, Mark Millard <marklmi at yahoo.com> wrote: > On 2019-Aug-6, at 17:59, Mark Millard <marklmi at yahoo.com> wrote: >=20 >=20 >=20 >>> . . . >>=20 >> poudriere-devel automatically built math/z3 because >> I'd indicated to build devel/llvm90 . math/z3 was not >> previously built: I've never had other use of it. So >> my context was not one of an implicit autodetect. >>=20 >> It looks like that happened because of >> devel/llvm90/Makefile having: >>=20 >> LIT_DESC=3D Install lit and FileCheck test tools >> LIT_LIB_DEPENDS=3D libz3.so:math/z3 >> LIT_VARS=3D _USES_PYTHON=3Dpython:3.6+ >=20 > I tried deleting the package for math/z3 from > poudriere and using: >=20 > FBSDFHUGE# svnlite diff /usr/ports/devel/llvm90 > Index: /usr/ports/devel/llvm90/Makefile > =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=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/ports/devel/llvm90/Makefile (revision 508197) > +++ /usr/ports/devel/llvm90/Makefile (working copy) > @@ -110,7 +110,7 @@ > GOLD_CMAKE_ON=3D = -DLLVM_BINUTILS_INCDIR=3D${LOCALBASE}/include > GOLD_BUILD_DEPENDS=3D ${LOCALBASE}/bin/ld.gold:devel/binutils > LIT_DESC=3D Install lit and FileCheck test tools > -LIT_LIB_DEPENDS=3D libz3.so:math/z3 > +#LIT_LIB_DEPENDS=3D libz3.so:math/z3 > LIT_VARS=3D _USES_PYTHON=3Dpython:3.6+ > LLD_DESC=3D Install lld, the LLVM linker > LLD_DISTFILES=3D lld-${DISTVERSION}.src${EXTRACT_SUFX} >=20 > devel/llvm90 is building via poudriere-devel without > first building math/z3 . We will see if it completes > okay. >=20 > If it does I'll try a pkg delete of math/z3 and > an install of the devel/llvm90 . >=20 > . . . The above makes poudriere builds of devel/llvm90 not depend on libz3.so and does not try to build math/z3 or to put it in place during the llvm90 build. But it would apparently not help portmaster or the like avoid creating the dependency if libz3.so was in place. So poudriere users appear to have a way around the math/z3 consequences for now. One of the consequences was the messages about: OMP: Info #270: omp_set_nested routine deprecated, please use = omp_set_max_active_levels instead. Those are also gone by building and installing via poudriere with such a devel/llvm90/Makefile . It looks like portmaster or such needs to be used to see if one has successfully disabled automatic libz3.so detection in llvm90's cmake infrastructure. (I normally build via poudriere-devel .) =3D=3D=3D Mark Millard marklmi at yahoo.com ( dsl-only.net went away in early 2018-Mar)
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?9560A66E-0EFC-4CC8-A249-398B935CB8CB>