summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMichał Górny <mgorny@gentoo.org>2018-12-30 10:50:00 +0100
committerMichał Górny <mgorny@gentoo.org>2018-12-30 10:50:00 +0100
commitf57d5fb201d033306009c3dd5bf762d05a453d2f (patch)
tree9cd3774e3145da420dcfe9eb1d045bc064baa468 /dev-libs/libclc
parentdev-python/llvmlite: Bump to 0.27.0 (diff)
downloadgentoo-f57d5fb201d033306009c3dd5bf762d05a453d2f.tar.gz
gentoo-f57d5fb201d033306009c3dd5bf762d05a453d2f.tar.bz2
gentoo-f57d5fb201d033306009c3dd5bf762d05a453d2f.zip
dev-libs/libclc: Clean old up
Signed-off-by: Michał Górny <mgorny@gentoo.org>
Diffstat (limited to 'dev-libs/libclc')
-rw-r--r--dev-libs/libclc/Manifest1
-rw-r--r--dev-libs/libclc/libclc-0.2.0_pre20180610.ebuild83
2 files changed, 0 insertions, 84 deletions
diff --git a/dev-libs/libclc/Manifest b/dev-libs/libclc/Manifest
index 8f2b980b31e7..513cd2e3b588 100644
--- a/dev-libs/libclc/Manifest
+++ b/dev-libs/libclc/Manifest
@@ -1,2 +1 @@
-DIST libclc-0.2.0_pre20180610.tar.gz 170102 BLAKE2B 3f8c33a9961db34e68cebc328a88a71173000972b5540d099fa79fe89fd186b7f2f8791a86b45b1be135383d26a92fd4ccdc2827b5620b5f86f0b48467fc092f SHA512 0c75c3e7b81754c175c5c43614ad313cda2fa09a1865794c904675b8d2527f78ffa357178f7d4a471b52ac3d7d96b0184303439b69060df4bf482a01871fcb95
DIST libclc-0.2.0_pre20180915.tar.gz 170385 BLAKE2B 43a90347936be5ad383fe4e4b06523aac455596d6cb1fc58038811ea19b4f6ab2091ffc345e68ff2ad7f7f1615713085000711b31b9d1ad3911a85bc0db93d5b SHA512 5b8e68f7683d72390d8f9c263e15a54b4b4613b73eff2bf3881d7a35d6480468693a62dcaed159fd8421ae80768d6aaebcd6c33163b082c0a2cf15581d37dcab
diff --git a/dev-libs/libclc/libclc-0.2.0_pre20180610.ebuild b/dev-libs/libclc/libclc-0.2.0_pre20180610.ebuild
deleted file mode 100644
index 381fc1aed20d..000000000000
--- a/dev-libs/libclc/libclc-0.2.0_pre20180610.ebuild
+++ /dev/null
@@ -1,83 +0,0 @@
-# Copyright 1999-2018 Gentoo Foundation
-# Distributed under the terms of the GNU General Public License v2
-
-EAPI=6
-PYTHON_COMPAT=( python2_7 python3_4 python3_5 python3_6 )
-
-EGIT_REPO_URI="https://llvm.org/git/${PN}.git
- https://github.com/llvm-mirror/${PN}.git"
-EGIT_COMMIT="96627043299f52bf08f6a68aa6d00b8037a0a2b0"
-
-if [[ ${PV} = 9999* ]]; then
- GIT_ECLASS="git-r3"
- EXPERIMENTAL="true"
-else
- GIT_ECLASS=""
- S="${WORKDIR}/libclc-${EGIT_COMMIT}"
-fi
-
-inherit llvm prefix python-any-r1 toolchain-funcs ${GIT_ECLASS}
-
-DESCRIPTION="OpenCL C library"
-HOMEPAGE="http://libclc.llvm.org/"
-
-if [[ ${PV} = 9999* ]]; then
- SRC_URI="${SRC_PATCHES}"
-else
- SRC_URI="https://github.com/llvm-mirror/libclc/archive/${EGIT_COMMIT}.tar.gz -> ${P}.tar.gz
- ${SRC_PATCHES}"
-fi
-
-LICENSE="|| ( 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} )"
-
-DEPEND="
- || (
- sys-devel/clang:7
- sys-devel/clang:6
- sys-devel/clang:5
- sys-devel/clang:4
- >=sys-devel/clang-3.9:0
- )
- ${PYTHON_DEPS}"
-
-LLVM_MAX_SLOT=7
-
-llvm_check_deps() {
- has_version "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
-}