git: fe28e931e325 - main - devel/spirv-llvm-translator: simplify SPIRV-Headers conditional
- Go to: [ bottom of page ] [ top of archives ] [ this month ]
Date: Thu, 06 Mar 2025 00:53:15 UTC
The branch main has been updated by jbeich: URL: https://cgit.FreeBSD.org/ports/commit/?id=fe28e931e325b5aa54debba6cbc298e464ac8c91 commit fe28e931e325b5aa54debba6cbc298e464ac8c91 Author: Jan Beich <jbeich@FreeBSD.org> AuthorDate: 2025-03-05 15:54:01 +0000 Commit: Jan Beich <jbeich@FreeBSD.org> CommitDate: 2025-03-06 00:52:35 +0000 devel/spirv-llvm-translator: simplify SPIRV-Headers conditional --- devel/spirv-llvm-translator/Makefile | 11 ++++++----- 1 file changed, 6 insertions(+), 5 deletions(-) diff --git a/devel/spirv-llvm-translator/Makefile b/devel/spirv-llvm-translator/Makefile index 90ec5720807e..1514edd88abb 100644 --- a/devel/spirv-llvm-translator/Makefile +++ b/devel/spirv-llvm-translator/Makefile @@ -30,13 +30,14 @@ 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 +.if ${FLAVOR:U:Mllvm1[12]} +# empty +.elif ${FLAVOR:U:Mllvm1[378]} +GH_TUPLE= KhronosGroup:SPIRV-Headers:1.5.4.raytracing.fixed-332-g1c6bb27:headers/projects/SPIRV-Headers +.elif ${FLAVOR:U} == llvm19 GH_TUPLE= KhronosGroup:SPIRV-Headers:1.5.4.raytracing.fixed-350-gb73e168:headers/projects/SPIRV-Headers -.elif ${FLAVOR:Mllvm1[4-6]} -GH_TUPLE= KhronosGroup:SPIRV-Headers:1.5.4.raytracing.fixed-390-g2b2e05e: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} +GH_TUPLE= KhronosGroup:SPIRV-Headers:1.5.4.raytracing.fixed-390-g2b2e05e:headers/projects/SPIRV-Headers .endif DISTINFO_FILE= ${.CURDIR}/distinfo.${FLAVOR} CXXFLAGS+= ${${FLAVOR:S/llvm//} < 16 && ${COMPILER_TYPE} == clang:?-Wno-enum-constexpr-conversion:}