summaryrefslogtreecommitdiff
path: root/dev-libs/libclc
diff options
context:
space:
mode:
authorV3n3RiX <venerix@redcorelinux.org>2020-12-25 23:06:25 +0000
committerV3n3RiX <venerix@redcorelinux.org>2020-12-25 23:06:25 +0000
commit441d1370330332b7d78f238d2f5e13f7aed5e4e0 (patch)
tree6a5171dd615dfeee62a45044144c66e864738fb0 /dev-libs/libclc
parentab3da91fb6c91a9df52fff8f991570f456fd3c7a (diff)
gentoo christmass resync : 25.12.2020
Diffstat (limited to 'dev-libs/libclc')
-rw-r--r--dev-libs/libclc/Manifest4
-rw-r--r--dev-libs/libclc/libclc-0.2.0_pre20191024.ebuild65
-rw-r--r--dev-libs/libclc/libclc-0.2.0_pre20201001.ebuild2
3 files changed, 2 insertions, 69 deletions
diff --git a/dev-libs/libclc/Manifest b/dev-libs/libclc/Manifest
index 860c03c40377..23f119260729 100644
--- a/dev-libs/libclc/Manifest
+++ b/dev-libs/libclc/Manifest
@@ -1,5 +1,3 @@
-DIST libclc-0.2.0_pre20191024.tar.xz 128628 BLAKE2B dc750725ee48456e3678cb4f730cc889045ff7401c4b40ac3ae9b656da9fe429aa2094c2042a18eda4f7e87c786ff8ae121fbf726a18de03884f30dad48b3fa1 SHA512 b4c2ca980fb28b5662055bea951de844284fcf122695234d7618439234f0203baf82b5cc5cf8acddfe387f19d32be3a958e53511bb1e33e9469f6be5951dbcdb
DIST libclc-0.2.0_pre20201001.tar.xz 122180 BLAKE2B 8587c5b29d517a6c54a927b529f7e5651f154785e4299ad6b90007bdbae19ffccea75ec873a308b9a025effbb6316f91e70f82af19cdcdaad87c4f1af2595f78 SHA512 1fc10fcd6163991fe3ce474351d07f892a628fbd4e4cfb9ea96f1288db421b7be87c1f818593bea7409e7a17a5fd4c84a07a88f5c3d998ef97ac0425970abf4d
-EBUILD libclc-0.2.0_pre20191024.ebuild 1576 BLAKE2B eb9ab28009e52164890c3e99bba1c644b06c536df84f96d950ddc3171a2a6157c0a081b6a0038254176ed7964320dcc4dae0a66552e98b59e24ea5d5ff32cead SHA512 1ce5f96ecfb430f93f90e06b3ffae33e3db9e98923237649501e35376acdf7556560c7879e748da30b8b7b04ca072a274e729b7a3d0ce5be5677b6b961c78c0a
-EBUILD libclc-0.2.0_pre20201001.ebuild 1471 BLAKE2B 51a055a6ee1be3c231e3d190194316803be383434678195015dd9510fc00b7da8ece0cb3d30a483bf4c70ecf9fd00cb359e4fba6f66759c05dff5af6e439ca02 SHA512 5d4fb75d751b94a00dbf863860c34c954d9ba776e20df9f9349be4bced02d9ff224dc58c6567c8600c8486a2c8ef872ee6e0bbb7f4a87d2f2a29789df8719ee3
+EBUILD libclc-0.2.0_pre20201001.ebuild 1470 BLAKE2B 6d23398dd61293a066f481d07a287b58b03aa8058ab0bc651ad01addf51c46e44f2bf0e4233b284879d0ba467b53c491ca61347053746bd8c859e6bc6b94dccc SHA512 597617890e4d0dc60958755cccc548c54aa52ceff6d847c6a275704e9c4282a05b472f5fc65c488d826f4681b4977aee592325c58b0a38b95b97639773b588cb
MISC metadata.xml 394 BLAKE2B 13254b650b3c915b7eccc5e646d7ed6065c514d8f5619f276be3526be68bde4ad2310491f18a6a92ae621022a009ab7248eb788e500c96012f3d27236da16cba SHA512 ed84a49ef1e6da5f133895d82632d81c5333ae0fa21eb222e993c2e3136c802350193555fd8f98ee23d7b4d55695ca186a8e4d5dc04c3d7aa072dc229905011d
diff --git a/dev-libs/libclc/libclc-0.2.0_pre20191024.ebuild b/dev-libs/libclc/libclc-0.2.0_pre20191024.ebuild
deleted file mode 100644
index c2d93937f054..000000000000
--- a/dev-libs/libclc/libclc-0.2.0_pre20191024.ebuild
+++ /dev/null
@@ -1,65 +0,0 @@
-# Copyright 1999-2020 Gentoo Authors
-# Distributed under the terms of the GNU General Public License v2
-
-EAPI=7
-PYTHON_COMPAT=( python3_{6..9} )
-
-inherit llvm prefix python-any-r1 toolchain-funcs
-
-DESCRIPTION="OpenCL C library"
-HOMEPAGE="https://libclc.llvm.org/"
-# libclc subdir of https://github.com/llvm/llvm-project.git
-SRC_URI="https://dev.gentoo.org/~mgorny/dist/${P}.tar.xz"
-
-LICENSE="Apache-2.0-with-LLVM-exceptions || ( MIT BSD )"
-SLOT="0"
-KEYWORDS="amd64 x86"
-IUSE_VIDEO_CARDS="video_cards_nvidia video_cards_r600 video_cards_radeonsi"
-IUSE="${IUSE_VIDEO_CARDS}"
-REQUIRED_USE="|| ( ${IUSE_VIDEO_CARDS} )"
-
-BDEPEND="
- || (
- sys-devel/clang:12
- sys-devel/clang:11
- sys-devel/clang:10
- sys-devel/clang:9
- sys-devel/clang:8
- )
- ${PYTHON_DEPS}"
-
-llvm_check_deps() {
- has_version -b "sys-devel/clang:${LLVM_SLOT}"
-}
-
-src_prepare() {
- default
- if use prefix; then
- hprefixify configure.py
- fi
-}
-
-pkg_setup() {
- # we do not need llvm_pkg_setup
- python-any-r1_pkg_setup
-}
-
-src_configure() {
- local libclc_targets=()
-
- use video_cards_nvidia && libclc_targets+=("nvptx--" "nvptx64--" "nvptx--nvidiacl" "nvptx64--nvidiacl")
- use video_cards_r600 && libclc_targets+=("r600--")
- use video_cards_radeonsi && libclc_targets+=("amdgcn--" "amdgcn-mesa-mesa3d" "amdgcn--amdhsa")
-
- [[ ${#libclc_targets[@]} ]] || die "libclc target missing!"
-
- ./configure.py \
- --with-cxx-compiler="$(tc-getCXX)" \
- --with-llvm-config="$(get_llvm_prefix "${LLVM_MAX_SLOT}")/bin/llvm-config" \
- --prefix="${EPREFIX}/usr" \
- "${libclc_targets[@]}" || die
-}
-
-src_compile() {
- emake VERBOSE=1
-}
diff --git a/dev-libs/libclc/libclc-0.2.0_pre20201001.ebuild b/dev-libs/libclc/libclc-0.2.0_pre20201001.ebuild
index 110a3886c5dd..44bc4a4976ad 100644
--- a/dev-libs/libclc/libclc-0.2.0_pre20201001.ebuild
+++ b/dev-libs/libclc/libclc-0.2.0_pre20201001.ebuild
@@ -13,7 +13,7 @@ SRC_URI="https://dev.gentoo.org/~mgorny/dist/${P}.tar.xz"
LICENSE="Apache-2.0-with-LLVM-exceptions || ( MIT BSD )"
SLOT="0"
-KEYWORDS="amd64 ~x86"
+KEYWORDS="amd64 x86"
IUSE_VIDEO_CARDS="video_cards_nvidia video_cards_r600 video_cards_radeonsi"
IUSE="${IUSE_VIDEO_CARDS}"
REQUIRED_USE="|| ( ${IUSE_VIDEO_CARDS} )"