Skip site navigation (1)Skip section navigation (2)
Date:      Sat, 20 Jul 2019 01:37:43 +0000
From:      bugzilla-noreply@freebsd.org
To:        x11@FreeBSD.org
Subject:   [Bug 239313] graphics/mesa-dri could use a test for the installed llvm
Message-ID:  <bug-239313-7141-KZ8ShlMBR3@https.bugs.freebsd.org/bugzilla/>
In-Reply-To: <bug-239313-7141@https.bugs.freebsd.org/bugzilla/>
References:  <bug-239313-7141@https.bugs.freebsd.org/bugzilla/>

next in thread | previous in thread | raw e-mail | index | archive | help
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=3D239313

dewayne@heuristicsystems.com.au changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |dewayne@heuristicsystems.co
                   |                            |m.au
           Severity|Affects Only Me             |Affects Some People

--- Comment #1 from dewayne@heuristicsystems.com.au ---
As I have clang 8.0.0 from the base os and gcc9 for those tricky ports, I f=
ind
that mesa-dri requires a build of llvm8.  Can I suggest that a test for the=
 CC
be included and possibly wrapped around this segment from the Makefile.comm=
on

.if ${ARCH} =3D=3D aarch64 || ${ARCH} =3D=3D amd64 || ${ARCH:Marm*} || ${AR=
CH} =3D=3D i386
|| ${ARCH:Mmi
BUILD_DEPENDS+=3D llvm${LLVM_DEFAULT}>=3D3.9.0_4:devel/llvm${LLVM_DEFAULT}
.if ${COMPONENT} !=3D libs
RUN_DEPENDS+=3D   llvm${LLVM_DEFAULT}>=3D3.9.0_4:devel/llvm${LLVM_DEFAULT}
.endif
CONFIGURE_ENV+=3D LLVM_CONFIG=3D${LOCALBASE}/bin/llvm-config${LLVM_DEFAULT}
LDFLAGS+=3D       -Wl,-rpath=3D${LOCALBASE}/llvm${LLVM_DEFAULT}/lib
CONFIGURE_ARGS+=3D        --enable-llvm
.else
CONFIGURE_ARGS+=3D        --disable-llvm
.endif

This would reduce the unnecessary dependency and ongoing maintenance.  (as =
well
as the build time ;) )

My apologies if llvm is actually required regardless of the available compi=
ler
on the build machine, but this is pulled in due to libepoxy even though I t=
ell
qemu not to use x11.  A complex web!

--=20
You are receiving this mail because:
You are the assignee for the bug.=



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?bug-239313-7141-KZ8ShlMBR3>