summaryrefslogtreecommitdiff
path: root/devel
diff options
context:
space:
mode:
Diffstat (limited to 'devel')
-rw-r--r--devel/libclc/Makefile8
-rw-r--r--devel/libclc/distinfo6
-rw-r--r--devel/libclc/files/patch-CMakeLists.txt11
-rw-r--r--devel/libclc/files/patch-libclc_CMakeLists.txt11
-rw-r--r--devel/libclc/pkg-plist1
5 files changed, 19 insertions, 18 deletions
diff --git a/devel/libclc/Makefile b/devel/libclc/Makefile
index d9141924494e..2276bfb75bff 100644
--- a/devel/libclc/Makefile
+++ b/devel/libclc/Makefile
@@ -1,5 +1,5 @@
PORTNAME= libclc
-DISTVERSION= 13.0.1
+DISTVERSION= 15.0.4
CATEGORIES= devel
MASTER_SITES= https://github.com/llvm/llvm-project/releases/download/llvmorg-${DISTVERSION:S/rc/-rc/}/
DISTNAME= libclc-${DISTVERSION}.src
@@ -13,14 +13,14 @@ 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= llvm13>=13.0:devel/llvm13 \
- spirv-llvm-translator-llvm13>0:devel/spirv-llvm-translator@llvm13 \
+BUILD_DEPENDS= llvm15>=15.0:devel/llvm15 \
+ spirv-llvm-translator-llvm15>0:devel/spirv-llvm-translator@llvm15 \
libedit>=0:devel/libedit
USES= cmake compiler:c++11-lib python:3.6+,build tar:xz
USE_LDCONFIG= yes
BINARY_ALIAS= python=${PYTHON_CMD}
-CMAKE_ARGS+= -DLLVM_CONFIG=${LOCALBASE}/bin/llvm-config13
+CMAKE_ARGS+= -DLLVM_CONFIG=${LOCALBASE}/bin/llvm-config15
.include <bsd.port.mk>
diff --git a/devel/libclc/distinfo b/devel/libclc/distinfo
index 6649e632ac42..aefd19a50653 100644
--- a/devel/libclc/distinfo
+++ b/devel/libclc/distinfo
@@ -1,3 +1,3 @@
-TIMESTAMP = 1666253590
-SHA256 (libclc-13.0.1.src.tar.xz) = 8f0213e52e2fcaca3dfcc438f05d0e15e9b3c96fd6b0994a802b267dc1047a1d
-SIZE (libclc-13.0.1.src.tar.xz) = 125852
+TIMESTAMP = 1670152889
+SHA256 (libclc-15.0.4.src.tar.xz) = 00cc092947ef533999db42d18a4134f6ee1d74a60f5c84387ef28ca9e02e2a16
+SIZE (libclc-15.0.4.src.tar.xz) = 125840
diff --git a/devel/libclc/files/patch-CMakeLists.txt b/devel/libclc/files/patch-CMakeLists.txt
new file mode 100644
index 000000000000..0f80a7dc0993
--- /dev/null
+++ b/devel/libclc/files/patch-CMakeLists.txt
@@ -0,0 +1,11 @@
+--- CMakeLists.txt.orig 2022-12-04 11:23:21 UTC
++++ CMakeLists.txt
+@@ -186,7 +186,7 @@ configure_file( libclc.pc.in libclc.pc @ONLY )
+
+ # pkg-config file
+ configure_file( libclc.pc.in libclc.pc @ONLY )
+-install( FILES ${CMAKE_CURRENT_BINARY_DIR}/libclc.pc DESTINATION "${CMAKE_INSTALL_DATADIR}/pkgconfig" )
++install( FILES ${CMAKE_CURRENT_BINARY_DIR}/libclc.pc DESTINATION "${CMAKE_INSTALL_PREFIX}/libdata/pkgconfig" )
+ install( DIRECTORY generic/include/clc DESTINATION "${CMAKE_INSTALL_INCLUDEDIR}" )
+
+ if( ENABLE_RUNTIME_SUBNORMAL )
diff --git a/devel/libclc/files/patch-libclc_CMakeLists.txt b/devel/libclc/files/patch-libclc_CMakeLists.txt
deleted file mode 100644
index bf7c5f77e0e1..000000000000
--- a/devel/libclc/files/patch-libclc_CMakeLists.txt
+++ /dev/null
@@ -1,11 +0,0 @@
---- CMakeLists.txt.orig 2020-10-16 16:09:32 UTC
-+++ CMakeLists.txt
-@@ -158,7 +158,7 @@ endif()
-
- # pkg-config file
- configure_file( libclc.pc.in libclc.pc @ONLY )
--install( FILES ${CMAKE_CURRENT_BINARY_DIR}/libclc.pc DESTINATION ${CMAKE_INSTALL_DATADIR}/pkgconfig )
-+install( FILES ${CMAKE_CURRENT_BINARY_DIR}/libclc.pc DESTINATION ${CMAKE_INSTALL_PREFIX}/libdata/pkgconfig )
- install( DIRECTORY generic/include/clc DESTINATION ${CMAKE_INSTALL_INCLUDEDIR} )
-
- if( ENABLE_RUNTIME_SUBNORMAL )
diff --git a/devel/libclc/pkg-plist b/devel/libclc/pkg-plist
index b7a73ae9389e..60121044550b 100644
--- a/devel/libclc/pkg-plist
+++ b/devel/libclc/pkg-plist
@@ -287,6 +287,7 @@ share/clc/carrizo-amdgcn-mesa-mesa3d.bc
share/clc/cayman-r600--.bc
share/clc/cedar-r600--.bc
share/clc/clspv--.bc
+share/clc/clspv64--.bc
share/clc/cypress-r600--.bc
share/clc/fiji-amdgcn--.bc
share/clc/fiji-amdgcn-mesa-mesa3d.bc