Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 20 Aug 2024 13:58:37 +0000
From:      bugzilla-noreply@freebsd.org
To:        x11@FreeBSD.org
Subject:   [Bug 280943] graphics/mesa-dri: unconditionally depends on LLVM 15 again
Message-ID:  <bug-280943-7141-tNJfxScqKE@https.bugs.freebsd.org/bugzilla/>
In-Reply-To: <bug-280943-7141@https.bugs.freebsd.org/bugzilla/>
References:  <bug-280943-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=3D280943

Vladimir Druzenko <vvd@FreeBSD.org> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |vvd@FreeBSD.org

--- Comment #1 from Vladimir Druzenko <vvd@FreeBSD.org> ---
(In reply to Mathieu B=C3=A2l from comment #0)
I use default llvm 17 and changed devel/libclc/Makefile to (hack):
PORTNAME=3D       libclc
DISTVERSION=3D    17.0.6
CATEGORIES=3D     devel
MASTER_SITES=3D=20=20
https://github.com/llvm/llvm-project/releases/download/llvmorg-${DISTVERSIO=
N:S/rc/-rc/}/
DISTNAME=3D       libclc-${DISTVERSION}.src

MAINTAINER=3D     x11@FreeBSD.org
COMMENT=3D        Required library functions for OpenCL C programming langu=
age
WWW=3D            https://libclc.llvm.org/

LICENSE=3D        LLVM
LICENSE_FILE=3D   ${WRKSRC}/LICENSE.TXT
LICENSE_NAME=3D   Apache License 2.0 with LLVM Exceptions
LICENSE_PERMS=3D  dist-mirror dist-sell pkg-mirror pkg-sell auto-accept

BUILD_DEPENDS=3D  \
=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20
spirv-llvm-translator-llvm${LLVM_VERSION}>0:devel/spirv-llvm-translator@llv=
m${LLVM_VERSION}
\
                libedit>=3D0:devel/libedit

USES=3D           cmake compiler:c++11-lib llvm:build python:build tar:xz
USE_LDCONFIG=3D   yes

BINARY_ALIAS=3D   python=3D${PYTHON_CMD}
CMAKE_ARGS+=3D    -DLLVM_CONFIG=3D${LOCALBASE}/bin/llvm-config${LLVM_VERSIO=
N}

.include <bsd.port.mk>

But IMHO make flavors is better - like in devel/spirv-llvm-translator.

--=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-280943-7141-tNJfxScqKE>