summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorConrad Kostecki <conikost@gentoo.org>2021-02-27 15:41:41 +0100
committerConrad Kostecki <conikost@gentoo.org>2021-02-27 15:42:34 +0100
commit395c374cc45a22367320c704400fb649d532492d (patch)
tree7926d3cde0cb3f646ac7673595e933614966f7fe /dev-libs/opencl-clang
parentRevert "dev-util/spirv-llvm-translator: Add support for llvm 11.1" (diff)
downloadgentoo-395c374cc45a22367320c704400fb649d532492d.tar.gz
gentoo-395c374cc45a22367320c704400fb649d532492d.tar.bz2
gentoo-395c374cc45a22367320c704400fb649d532492d.zip
Revert "dev-libs/opencl-clang: Add support for llvm 11.1"
This reverts commit 0d4f19d02396b2449a59b1fd57201fcdaa44a7ad. Signed-off-by: Conrad Kostecki <conikost@gentoo.org>
Diffstat (limited to 'dev-libs/opencl-clang')
-rw-r--r--dev-libs/opencl-clang/files/llvm-11.1.0.patch11
-rw-r--r--dev-libs/opencl-clang/opencl-clang-11.0.0-r1.ebuild44
2 files changed, 0 insertions, 55 deletions
diff --git a/dev-libs/opencl-clang/files/llvm-11.1.0.patch b/dev-libs/opencl-clang/files/llvm-11.1.0.patch
deleted file mode 100644
index cd9cb0c2813e..000000000000
--- a/dev-libs/opencl-clang/files/llvm-11.1.0.patch
+++ /dev/null
@@ -1,11 +0,0 @@
---- a/CMakeLists.txt 2021-02-18 14:52:20.079691789 +0000
-+++ b/CMakeLists.txt 2021-02-18 14:47:43.773873042 +0000
-@@ -20,7 +20,7 @@
- add_definitions(-DUSE_PREBUILT_LLVM)
-
- if(NOT PREFERRED_LLVM_VERSION)
-- set(PREFERRED_LLVM_VERSION "11.0.0")
-+ set(PREFERRED_LLVM_VERSION "11.1.0")
- endif(NOT PREFERRED_LLVM_VERSION)
- message(STATUS "Looking for LLVM version ${PREFERRED_LLVM_VERSION}")
- find_package(LLVM ${PREFERRED_LLVM_VERSION} REQUIRED)
diff --git a/dev-libs/opencl-clang/opencl-clang-11.0.0-r1.ebuild b/dev-libs/opencl-clang/opencl-clang-11.0.0-r1.ebuild
deleted file mode 100644
index 7b4a21d88d10..000000000000
--- a/dev-libs/opencl-clang/opencl-clang-11.0.0-r1.ebuild
+++ /dev/null
@@ -1,44 +0,0 @@
-# Copyright 1999-2021 Gentoo Authors
-# Distributed under the terms of the GNU General Public License v2
-
-EAPI=7
-
-CMAKE_ECLASS=cmake
-
-inherit cmake-multilib llvm
-
-MY_PV="$(ver_rs 3 -)"
-MY_P="${PN}-${MY_PV}"
-
-DESCRIPTION="OpenCL-oriented thin wrapper library around clang"
-HOMEPAGE="https://github.com/intel/opencl-clang"
-SRC_URI="https://github.com/intel/${PN}/archive/v${MY_PV}.tar.gz -> ${P}.tar.gz"
-
-LICENSE="UoI-NCSA"
-SLOT="11"
-KEYWORDS="~amd64"
-
-S="${WORKDIR}/${MY_P}"
-
-# Force a rebuild of this package once clang has been updated from 10.0.0 to 10.0.1
-# in order to work around Bug #743992. Hopefully a one-time thing.
-DEPEND="~sys-devel/clang-11.1.0:11=[static-analyzer,${MULTILIB_USEDEP}]
- ~sys-devel/llvm-11.1.0:11=[${MULTILIB_USEDEP}]
- >=dev-util/spirv-llvm-translator-11.0.0:11=[${MULTILIB_USEDEP}]"
-RDEPEND="${DEPEND}"
-
-LLVM_MAX_SLOT=11
-
-PATCHES=(
- "${FILESDIR}"/${PN}-8.0.0-clang_library_dir.patch
- "${FILESDIR}"/${PN}-10.0.0.1_find-llvm-tblgen.patch
- "${FILESDIR}"/llvm-11.1.0.patch
-)
-
-multilib_src_configure() {
- local mycmakeargs=(
- -DCMAKE_INSTALL_PREFIX="$(get_llvm_prefix ${LLVM_MAX_SLOT})"
- -DCLANG_LIBRARY_DIRS="${EPREFIX}"/usr/lib/clang
- )
- cmake_src_configure
-}