Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 1 Oct 2021 02:32:53 GMT
From:      Jan Beich <jbeich@FreeBSD.org>
To:        ports-committers@FreeBSD.org, dev-commits-ports-all@FreeBSD.org, dev-commits-ports-main@FreeBSD.org
Subject:   git: 1347956c0cc6 - main - devel/opencl-clang: drop unused flavors after 070200f93538
Message-ID:  <202110010232.1912Wro6055778@gitrepo.freebsd.org>

next in thread | raw e-mail | index | archive | help
The branch main has been updated by jbeich:

URL: https://cgit.FreeBSD.org/ports/commit/?id=1347956c0cc64e1340ceeb265740a36cc0b51f2a

commit 1347956c0cc64e1340ceeb265740a36cc0b51f2a
Author:     Jan Beich <jbeich@FreeBSD.org>
AuthorDate: 2021-08-11 20:33:22 +0000
Commit:     Jan Beich <jbeich@FreeBSD.org>
CommitDate: 2021-10-01 02:25:55 +0000

    devel/opencl-clang: drop unused flavors after 070200f93538
    
    IGC with LLVM < 10 requires a lot of care while LLVM 10 needs to be
    patched for NEO to work. No other consumers.
---
 devel/opencl-clang/Makefile        | 16 +---------------
 devel/opencl-clang/distinfo.llvm10 |  3 ---
 devel/opencl-clang/distinfo.llvm70 |  7 -------
 devel/opencl-clang/distinfo.llvm80 |  7 -------
 devel/opencl-clang/distinfo.llvm90 |  7 -------
 5 files changed, 1 insertion(+), 39 deletions(-)

diff --git a/devel/opencl-clang/Makefile b/devel/opencl-clang/Makefile
index a74e7d890605..60257f04c50f 100644
--- a/devel/opencl-clang/Makefile
+++ b/devel/opencl-clang/Makefile
@@ -3,20 +3,9 @@ DISTVERSIONPREFIX=	v
 DISTVERSION=	${DISTVERSION_${FLAVOR}}
 DISTVERSION_llvm12=	12.0.0
 DISTVERSION_llvm11=	11.0.0
-DISTVERSION_llvm10=	10.0.0-1
-DISTVERSION_llvm90=	9.0.1
-DISTVERSION_llvm80=	8.0.1-1
-DISTVERSION_llvm70=	7.0.1
 CATEGORIES=	devel
 PKGNAMESUFFIX=	-${FLAVOR}
 
-PATCH_SITES=	https://github.com/${GH_ACCOUNT}/${GH_PROJECT}/commit/
-PATCHFILES+=	${PATCHFILES_${FLAVOR}}
-PATCHFILES_llvm90+=	3e753ba0cb0f.patch:-p1 # https://github.com/intel/opencl-clang/pull/96
-PATCHFILES_llvm90+=	b28f74f9789f.patch:-p1 # https://github.com/intel/opencl-clang/pull/97
-PATCHFILES_llvm80+=	${PATCHFILES_llvm90}
-PATCHFILES_llvm70+=	${PATCHFILES_llvm90}
-
 MAINTAINER=	jbeich@FreeBSD.org
 COMMENT=	Clang wrapper to compile OpenCL C kernels to SPIR-V modules
 
@@ -26,7 +15,7 @@ LICENSE_FILE=	${WRKSRC}/LICENSE
 LIB_DEPENDS=	libLLVM-${DISTVERSION:R:R}.so:devel/${FLAVOR} \
 		libLLVMSPIRVLib.so.${DISTVERSION:R:R}:devel/spirv-llvm-translator@${FLAVOR}
 
-FLAVORS=	${12 11 10 90 80 70:L:S/^/llvm/}
+FLAVORS=	${12 11:L:S/^/llvm/}
 
 USES=		cmake compiler:c++11-lib
 USE_GITHUB=	yes
@@ -37,9 +26,6 @@ CMAKE_INSTALL_PREFIX=		${PREFIX}/${FLAVOR}
 _PLIST_FILES=	include/cclang/common_clang.h \
 		lib/libopencl-clang.so \
 		lib/libopencl-clang.so.${DISTVERSION:R:R}
-.if ${FLAVOR:U:Mllvm70}
-_PLIST_FILES:=	${_PLIST_FILES:S/libopencl-/libcommon_/}
-.endif
 PLIST_FILES=	${_PLIST_FILES:S,^,${FLAVOR}/,}
 
 .if !defined(DEFAULT_MAKESUM)
diff --git a/devel/opencl-clang/distinfo.llvm10 b/devel/opencl-clang/distinfo.llvm10
deleted file mode 100644
index dc01174a28e6..000000000000
--- a/devel/opencl-clang/distinfo.llvm10
+++ /dev/null
@@ -1,3 +0,0 @@
-TIMESTAMP = 1586267327
-SHA256 (intel-opencl-clang-v10.0.0-1_GH0.tar.gz) = 815005b6fb7fd8fd2f08b9036035d3aa9543f5ce8464e41ef2f2ed08a816f507
-SIZE (intel-opencl-clang-v10.0.0-1_GH0.tar.gz) = 23549
diff --git a/devel/opencl-clang/distinfo.llvm70 b/devel/opencl-clang/distinfo.llvm70
deleted file mode 100644
index 891208dfc11f..000000000000
--- a/devel/opencl-clang/distinfo.llvm70
+++ /dev/null
@@ -1,7 +0,0 @@
-TIMESTAMP = 1553516241
-SHA256 (intel-opencl-clang-v7.0.1_GH0.tar.gz) = 407800aceebebef8deaa1428d4b730a0f74329e0336a96fa1f1dd30a34b952e2
-SIZE (intel-opencl-clang-v7.0.1_GH0.tar.gz) = 49606
-SHA256 (3e753ba0cb0f.patch) = 805fbf620916e5efbfbd6c5160392ca88d43e2270e6d70539c767a6f9f6baacd
-SIZE (3e753ba0cb0f.patch) = 1211
-SHA256 (b28f74f9789f.patch) = 4a0ecba33d3b92ffa72a157330ab71aa20b93a6dede4336a03b09ae141e14057
-SIZE (b28f74f9789f.patch) = 1336
diff --git a/devel/opencl-clang/distinfo.llvm80 b/devel/opencl-clang/distinfo.llvm80
deleted file mode 100644
index db95983fb646..000000000000
--- a/devel/opencl-clang/distinfo.llvm80
+++ /dev/null
@@ -1,7 +0,0 @@
-TIMESTAMP = 1582898359
-SHA256 (intel-opencl-clang-v8.0.1-1_GH0.tar.gz) = 00dd5d9606f916a935005ae1e13dd4f25a57ce89571b70a7ace7d3ec0fbaf550
-SIZE (intel-opencl-clang-v8.0.1-1_GH0.tar.gz) = 42534
-SHA256 (3e753ba0cb0f.patch) = 805fbf620916e5efbfbd6c5160392ca88d43e2270e6d70539c767a6f9f6baacd
-SIZE (3e753ba0cb0f.patch) = 1211
-SHA256 (b28f74f9789f.patch) = 4a0ecba33d3b92ffa72a157330ab71aa20b93a6dede4336a03b09ae141e14057
-SIZE (b28f74f9789f.patch) = 1336
diff --git a/devel/opencl-clang/distinfo.llvm90 b/devel/opencl-clang/distinfo.llvm90
deleted file mode 100644
index db233c1e6ccb..000000000000
--- a/devel/opencl-clang/distinfo.llvm90
+++ /dev/null
@@ -1,7 +0,0 @@
-TIMESTAMP = 1583140288
-SHA256 (intel-opencl-clang-v9.0.1_GH0.tar.gz) = 058d51e88cdb018fd3016d1ee2042018bd1c3d131037d4ff2cb3f08d79a8fe6d
-SIZE (intel-opencl-clang-v9.0.1_GH0.tar.gz) = 24574
-SHA256 (3e753ba0cb0f.patch) = 805fbf620916e5efbfbd6c5160392ca88d43e2270e6d70539c767a6f9f6baacd
-SIZE (3e753ba0cb0f.patch) = 1211
-SHA256 (b28f74f9789f.patch) = 4a0ecba33d3b92ffa72a157330ab71aa20b93a6dede4336a03b09ae141e14057
-SIZE (b28f74f9789f.patch) = 1336



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?202110010232.1912Wro6055778>