Skip to content

Commit

Permalink
devel/opencl-clang: Fix build for llvm16 and llvm17
Browse files Browse the repository at this point in the history
  • Loading branch information
5u623l20 committed Feb 17, 2024
1 parent 8afe520 commit f395ed6
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions devel/opencl-clang/Makefile
Expand Up @@ -51,6 +51,10 @@ _PLIST_FILES+= lib/libopencl-clang.so \
lib/libopencl-clang.so.${DISTVERSION:R:R}
PLIST_FILES= ${_PLIST_FILES:S,^,${FLAVOR}/,}

.if ${FLAVOR:U} == llvm11 || ${FLAVOR:U} == llvm12 || ${FLAVOR:U} == llvm13 || ${FLAVOR:U} == llvm14 || ${FLAVOR:U} == llvm15
EXTRA_PATCHES= ${PATCHDIR}/extra-patch-common__clang.map
.endif

.if !defined(DEFAULT_MAKESUM)
makesum:
. for f in ${FLAVORS}
Expand Down

0 comments on commit f395ed6

Please sign in to comment.