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

[email protected]
Newsgroups gmane.os.freebsd.devel.x11
Message-ID <[email protected]/bugzilla/>
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=280943

Vladimir Druzenko <[email protected]> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |[email protected]

--- Comment #1 from Vladimir Druzenko <[email protected]> ---
(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=     [email protected]
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.
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.