git: 24d8d27ce64c - main - devel/spirv-llvm-translator: update to 19.1.0
- Go to: [ bottom of page ] [ top of archives ] [ this month ]
Date: Wed, 18 Sep 2024 16:32:45 UTC
The branch main has been updated by jbeich: URL: https://cgit.FreeBSD.org/ports/commit/?id=24d8d27ce64c885a750a82f02a05f17f1f19220c commit 24d8d27ce64c885a750a82f02a05f17f1f19220c Author: Jan Beich <jbeich@FreeBSD.org> AuthorDate: 2024-09-04 14:27:59 +0000 Commit: Jan Beich <jbeich@FreeBSD.org> CommitDate: 2024-09-18 16:32:33 +0000 devel/spirv-llvm-translator: update to 19.1.0 Changes: https://github.com/KhronosGroup/SPIRV-LLVM-Translator/releases/tag/v19.1.0 Reported by: GitHub (watch releases) --- devel/spirv-llvm-translator/Makefile | 8 +++++++- devel/spirv-llvm-translator/distinfo.llvm19 | 5 +++++ 2 files changed, 12 insertions(+), 1 deletion(-) diff --git a/devel/spirv-llvm-translator/Makefile b/devel/spirv-llvm-translator/Makefile index db5284709019..94a25cafa22a 100644 --- a/devel/spirv-llvm-translator/Makefile +++ b/devel/spirv-llvm-translator/Makefile @@ -1,6 +1,7 @@ PORTNAME= spirv-llvm-translator DISTVERSIONPREFIX= v DISTVERSION= ${DISTVERSION_${FLAVOR}} +DISTVERSION_llvm19= 19.1.0 DISTVERSION_llvm18= 18.1.4 DISTVERSION_llvm17= 17.0.4 DISTVERSION_llvm16= 16.0.4 @@ -21,7 +22,7 @@ LICENSE_FILE= ${WRKSRC}/LICENSE.TXT LIB_DEPENDS= libLLVM-${FLAVOR:S/llvm//}.so:devel/${FLAVOR} -FLAVORS= ${18 17 16 15 14 13 12 11:L:S/^/llvm/} +FLAVORS= ${19 18 17 16 15 14 13 12 11:L:S/^/llvm/} CONFLICTS_BUILD=${FLAVOR}-lite USES= cmake compiler:c++11-lib @@ -29,7 +30,12 @@ USE_GITHUB= yes USE_LDCONFIG= ${PREFIX}/${FLAVOR}/lib GH_ACCOUNT= KhronosGroup GH_PROJECT= SPIRV-LLVM-Translator +.if !defined(FLAVOR) || ${FLAVOR} == llvm19 +# https://github.com/KhronosGroup/SPIRV-LLVM-Translator/issues/2415#issuecomment-2358890668 +GH_TUPLE= KhronosGroup:SPIRV-Headers:1.5.4.raytracing.fixed-350-gb73e168:headers/projects/SPIRV-Headers +.else GH_TUPLE= ${${FLAVOR:S/llvm//}<13:?:KhronosGroup:SPIRV-Headers:1.5.4.raytracing.fixed-332-g1c6bb27:headers/projects/SPIRV-Headers} +.endif DISTINFO_FILE= ${.CURDIR}/distinfo.${FLAVOR} CXXFLAGS+= ${${FLAVOR:S/llvm//} < 16 && ${COMPILER_TYPE} == clang:?-Wno-enum-constexpr-conversion:} CMAKE_ON= BUILD_SHARED_LIBS LLVM_BUILD_TOOLS LLVM_TOOL_SPIRV_HEADERS_BUILD diff --git a/devel/spirv-llvm-translator/distinfo.llvm19 b/devel/spirv-llvm-translator/distinfo.llvm19 new file mode 100644 index 000000000000..91086d4d206f --- /dev/null +++ b/devel/spirv-llvm-translator/distinfo.llvm19 @@ -0,0 +1,5 @@ +TIMESTAMP = 1725460079 +SHA256 (KhronosGroup-SPIRV-LLVM-Translator-v19.1.0_GH0.tar.gz) = 2e64231db8646d8c220d44136712549b5d4c4194c6ce0e57c4f5ab342beee9a2 +SIZE (KhronosGroup-SPIRV-LLVM-Translator-v19.1.0_GH0.tar.gz) = 1751496 +SHA256 (KhronosGroup-SPIRV-Headers-1.5.4.raytracing.fixed-350-gb73e168_GH0.tar.gz) = 80bfde4b932c156bc1f556f47bdca1721c0c4b3b40f550da78fe1f77ffc9cb79 +SIZE (KhronosGroup-SPIRV-Headers-1.5.4.raytracing.fixed-350-gb73e168_GH0.tar.gz) = 471476