[Bug 280943] graphics/mesa-dri: unconditionally depends on LLVM 15 again

From: <bugzilla-noreply_at_freebsd.org>
Date: Tue, 20 Aug 2024 13:58:37 UTC
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=280943

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âl from comment #0)
I use default llvm 17 and changed devel/libclc/Makefile to (hack):
PORTNAME=       libclc
DISTVERSION=    17.0.6
CATEGORIES=     devel
MASTER_SITES=  
https://github.com/llvm/llvm-project/releases/download/llvmorg-${DISTVERSION:S/rc/-rc/}/
DISTNAME=       libclc-${DISTVERSION}.src

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

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

BUILD_DEPENDS=  \
               
spirv-llvm-translator-llvm${LLVM_VERSION}>0:devel/spirv-llvm-translator@llvm${LLVM_VERSION}
\
                libedit>=0:devel/libedit

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

BINARY_ALIAS=   python=${PYTHON_CMD}
CMAKE_ARGS+=    -DLLVM_CONFIG=${LOCALBASE}/bin/llvm-config${LLVM_VERSION}

.include <bsd.port.mk>

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

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