mirror of
https://git.FreeBSD.org/ports.git
synced 2024-11-24 00:45:52 +00:00
Update Mesa to 10.4.3.
Move LLVM version selection to bsd.mesalib.mk so the clover port can use it. Clover isn't included yet because it is a work in progress and doesn't work yet.
This commit is contained in:
parent
978f07dbce
commit
b7b8559409
Notes:
svn2git
2021-03-31 03:12:20 +00:00
svn path=/head/; revision=378134
@ -60,19 +60,10 @@ DRIREVISION= 6
|
||||
PLIST= ${.CURDIR}/pkg-plist-old
|
||||
.endif
|
||||
|
||||
DRI_LLVM_VER= 0
|
||||
|
||||
.if ${PORT_OPTIONS:MGALLIUM}
|
||||
. if defined(WITH_NEW_MESA)
|
||||
# keep in sync with libopencl please
|
||||
DRI_LLVM_VER= 34
|
||||
. else
|
||||
DRI_LLVM_VER= 33
|
||||
. endif
|
||||
|
||||
BUILD_DEPENDS+= llvm${DRI_LLVM_VER}>=0:${PORTSDIR}/devel/llvm${DRI_LLVM_VER}
|
||||
RUN_DEPENDS+= llvm${DRI_LLVM_VER}>=0:${PORTSDIR}/devel/llvm${DRI_LLVM_VER}
|
||||
CONFIGURE_ENV+= LLVM_CONFIG=${LOCALBASE}/bin/llvm-config${DRI_LLVM_VER}
|
||||
BUILD_DEPENDS+= llvm${MESA_LLVM_VER}>=0:${PORTSDIR}/devel/llvm${MESA_LLVM_VER}
|
||||
RUN_DEPENDS+= llvm${MESA_LLVM_VER}>=0:${PORTSDIR}/devel/llvm${MESA_LLVM_VER}
|
||||
CONFIGURE_ENV+= LLVM_CONFIG=${LOCALBASE}/bin/llvm-config${MESA_LLVM_VER}
|
||||
|
||||
CONFIGURE_ARGS+=--enable-gallium-llvm \
|
||||
--enable-xvmc \
|
||||
|
@ -11,6 +11,7 @@
|
||||
# - graphics/libglapi
|
||||
# - graphics/libglesv2
|
||||
# - graphics/libosmesa
|
||||
# - lang/clover
|
||||
#
|
||||
# $FreeBSD$
|
||||
|
||||
@ -29,7 +30,7 @@ MESAVERSION= ${MESABASEVERSION}${MESASUBVERSION:C/^(.)/.\1/}
|
||||
MESADISTVERSION=${MESABASEVERSION}${MESASUBVERSION:C/^(.)/-\1/}
|
||||
|
||||
.if defined(WITH_NEW_MESA)
|
||||
MESABASEVERSION= 10.4.0
|
||||
MESABASEVERSION= 10.4.3
|
||||
# if there is a subversion, don't include the '-' between 7.11-rc2.
|
||||
MESASUBVERSION=
|
||||
|
||||
@ -95,6 +96,12 @@ INSTALL_TARGET= install-strip
|
||||
|
||||
COMPONENT= ${PORTNAME:tl:C/^lib//:C/mesa-//}
|
||||
|
||||
.if defined(WITH_NEW_MESA)
|
||||
MESA_LLVM_VER=34
|
||||
.else
|
||||
MESA_LLVM_VER=33
|
||||
.endif
|
||||
|
||||
.if ${COMPONENT:Mglesv2} == ""
|
||||
CONFIGURE_ARGS+= --disable-gles2
|
||||
.else
|
||||
@ -107,13 +114,13 @@ CONFIGURE_ARGS+= --disable-egl
|
||||
CONFIGURE_ARGS+= --enable-egl
|
||||
.endif
|
||||
|
||||
.if ${COMPONENT:Mopencl} == ""
|
||||
.if ${COMPONENT:Mclover} == ""
|
||||
CONFIGURE_ARGS+= --disable-opencl
|
||||
.else
|
||||
CONFIGURE_ARGS+= --enable-opencl
|
||||
.endif
|
||||
|
||||
.if ${COMPONENT:Mdri} == ""
|
||||
.if ${COMPONENT:Mdri} == "" && ${COMPONENT:Mclover} == ""
|
||||
CONFIGURE_ARGS+=--with-dri-drivers=no
|
||||
CONFIGURE_ARGS+=--enable-gallium-llvm=no --without-gallium-drivers
|
||||
.else
|
||||
|
@ -1,4 +1,4 @@
|
||||
SHA256 (MesaLib-9.1.7.tar.bz2) = 30e6b878b457c716221a9730b179b2846c38cfd5aa1b02d54aff685f50b844a0
|
||||
SIZE (MesaLib-9.1.7.tar.bz2) = 6134393
|
||||
SHA256 (MesaLib-10.4.0.tar.bz2) = 98a7dff3a1a6708c79789de8b9a05d8042e867067f70e8f30387c15026233219
|
||||
SIZE (MesaLib-10.4.0.tar.bz2) = 7479710
|
||||
SHA256 (MesaLib-10.4.3.tar.bz2) = ef6ecc9c2f36c9f78d1662382a69ae961f38f03af3a0c3268e53f351aa1978ad
|
||||
SIZE (MesaLib-10.4.3.tar.bz2) = 7504749
|
||||
|
Loading…
Reference in New Issue
Block a user