Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 28 Jun 2018 16:18:59 +0000
From:      bugzilla-noreply@freebsd.org
To:        x11@FreeBSD.org
Subject:   [Bug 229385] graphics/mesa-libs requires devel/llvm60 from ports, should use base on 11.2-RELEASE?
Message-ID:  <bug-229385-7141-EfUJys4Kyi@https.bugs.freebsd.org/bugzilla/>
In-Reply-To: <bug-229385-7141@https.bugs.freebsd.org/bugzilla/>
References:  <bug-229385-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=3D229385

--- Comment #4 from Marko Cupa=C4=87 <marko.cupac@mimar.rs> ---
Perhaps it would be worth to try if mesa-libs can be built with base llvm60
instead of port. It is not even on freshports' list of ports that need llvm=
60,
for either build, run, or libraries.

I took a look at www/chromium Makefile, llvm check is different there:

.if ${OPSYS} =3D=3D FreeBSD && ${OSVERSION} < 1101513
BUILD_DEPENDS+=3D clang60:devel/llvm60
CC=3D             clang60
CXX=3D            clang++60
EXTRA_PATCHES+=3D ${FILESDIR}/extra-patch-llvm-port
.else
BUILD_DEPENDS+=3D ${LOCALBASE}/bin/ar:devel/binutils
EXTRA_PATCHES+=3D ${FILESDIR}/extra-patch-llvm-base
.endif

Perhaps something like that could be tried for mesa-libs instead of:

# libEGL needs gallium enabled which depends on llvm
.if "${MESA_LLVM_VER}" !=3D ""
.if ${PORT_OPTIONS:MWAYLAND}
CONFIGURE_ARGS+=3D        --with-platforms=3Dx11,drm,wayland
.else
CONFIGURE_ARGS+=3D        --with-platforms=3Dx11,drm
.endif
PLIST_SUB+=3D             EGL=3D""
.else
CONFIGURE_ARGS+=3D        --disable-egl
PLIST_SUB+=3D             EGL=3D"@comment "
.if ${PORT_OPTIONS:MWAYLAND}
IGNORE=3D option WAYLAND is only valid on platforms with LLVM
.endif
.endif

--=20
You are receiving this mail because:
You are on the CC list for the bug.=



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