FreeBSD Bugzilla – Attachment 249271 Details for
Bug 277789
devel/opencl-clang - fix broken build for llvm16 and llvm17
Home
|
New
|
Browse
|
Search
|
[?]
|
Reports
|
Help
|
New Account
|
Log In
Remember
[x]
|
Forgot Password
Login:
[x]
[patch]
Fix build for llvm16 and llvm17 flavors
devel-opencl-clang-Fix-build-for-llvm16-and-llvm17.patch (text/plain), 1.57 KB, created by
Thierry Dussuet
on 2024-03-18 17:01:36 UTC
(
hide
)
Description:
Fix build for llvm16 and llvm17 flavors
Filename:
MIME Type:
Creator:
Thierry Dussuet
Created:
2024-03-18 17:01:36 UTC
Size:
1.57 KB
patch
obsolete
>From ba448341719c9a1b3c456d41d34c779d92b4b353 Mon Sep 17 00:00:00 2001 >From: Thierry Dussuet <thierry.dussuet@protonmail.com> >Date: Mon, 18 Mar 2024 17:17:07 +0100 >Subject: [PATCH] devel/opencl-clang: Fix build for llvm16 and llvm17 > >--- > devel/opencl-clang/Makefile | 2 ++ > .../files/extra-patch-opencl__clang.map | 13 +++++++++++++ > 2 files changed, 15 insertions(+) > create mode 100644 devel/opencl-clang/files/extra-patch-opencl__clang.map > >diff --git a/devel/opencl-clang/Makefile b/devel/opencl-clang/Makefile >index 961bc8ddce36..fa898a5799ea 100644 >--- a/devel/opencl-clang/Makefile >+++ b/devel/opencl-clang/Makefile >@@ -53,6 +53,8 @@ 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 >+.else >+EXTRA_PATCHES= ${PATCHDIR}/extra-patch-opencl__clang.map > .endif > > .if !defined(DEFAULT_MAKESUM) >diff --git a/devel/opencl-clang/files/extra-patch-opencl__clang.map b/devel/opencl-clang/files/extra-patch-opencl__clang.map >new file mode 100644 >index 000000000000..5b29c04dfddb >--- /dev/null >+++ b/devel/opencl-clang/files/extra-patch-opencl__clang.map >@@ -0,0 +1,13 @@ >+--- opencl_clang.map.orig 2024-03-18 14:55:35 UTC >++++ opencl_clang.map >+@@ -2,10 +2,7 @@ global: >+ global: >+ extern "C" { >+ CheckCompileOptions; >+- CheckLinkOptions; >+ Compile; >+- Link; >+- GetKernelArgInfo; >+ PCM_OPENCL_C_H*; >+ PCM_OPENCL_C_BASE_H*; >+ PCM_OPENCL_C_12_SPIR_PCM*; >-- >2.44.0 >
You cannot view the attachment while viewing its details because your browser does not support IFRAMEs.
View the attachment on a separate page
.
View Attachment As Diff
View Attachment As Raw
Actions:
View
|
Diff
Attachments on
bug 277789
: 249271