summaryrefslogtreecommitdiff
path: root/dev-libs/libclc
diff options
context:
space:
mode:
authorV3n3RiX <venerix@redcorelinux.org>2017-10-09 18:53:29 +0100
committerV3n3RiX <venerix@redcorelinux.org>2017-10-09 18:53:29 +0100
commit4f2d7949f03e1c198bc888f2d05f421d35c57e21 (patch)
treeba5f07bf3f9d22d82e54a462313f5d244036c768 /dev-libs/libclc
reinit the tree, so we can have metadata
Diffstat (limited to 'dev-libs/libclc')
-rw-r--r--dev-libs/libclc/Manifest11
-rw-r--r--dev-libs/libclc/libclc-0.2.0_pre20160209.ebuild55
-rw-r--r--dev-libs/libclc/libclc-0.2.0_pre20160921.ebuild49
-rw-r--r--dev-libs/libclc/libclc-0.2.0_pre20170118.ebuild59
-rw-r--r--dev-libs/libclc/libclc-0.2.0_pre20170929.ebuild64
-rw-r--r--dev-libs/libclc/metadata.xml14
6 files changed, 252 insertions, 0 deletions
diff --git a/dev-libs/libclc/Manifest b/dev-libs/libclc/Manifest
new file mode 100644
index 000000000000..fae2c73ef8bd
--- /dev/null
+++ b/dev-libs/libclc/Manifest
@@ -0,0 +1,11 @@
+DIST libclc-0.2.0_pre20160209.tar.xz 75756 SHA256 4ed3491997cc524faa0c982a29bc3b4028c1054786e6dfe929d9c43265d78ed7 SHA512 d3edff5e04dc3d34033fdccc0a0d8256ea03515bd98b32818ec181d541141acf9ea06bb7e6bb149ea5e7f5dbcbb76ba13453fb1f461b4737a15ac60c7b3fc4ca WHIRLPOOL 111f75bb89c8288ffefc7a2e1448fd79d41f47990450984537405e423cbf7ea3717e102408774667ac654650db44109c1473a25c2e84d79fa19bc3dad0f7b69c
+DIST libclc-0.2.0_pre20160921.tar.gz 127817 SHA256 82c89bb15f79eaf525d283dda82403b213ef1a11b1ea9d843799fb04e08d190d SHA512 5aae6010f32935c0b8fa510fc27cfd0be2df3d58d73cb5fb280d6758aafe54bd63a0137e59053aa81dca01ad2c5a0591ee1d4a83e3ef9a590a009a1a19062373 WHIRLPOOL 6e29280dfa585999d0aa6720a0a33b329b08be31a9f19246e23cbca723210337f834d14a8064541796b05e27dd999af1d3050f04c4fbcdc1e0fe2af574cdb243
+DIST libclc-0.2.0_pre20170118.tar.gz 130793 SHA256 a2d59b11b710468598f25b968ffd4e36125e6e9fe56e052ab09c9abc9c8fc295 SHA512 d94a58ebcafb7bbdbcded84574676537ae7b4ba86c7c2270cc1cd7aa3113104e018e53396b570e821c2fd473b6dd63677f59d990e36e15a7cdb43cdb96cd058c WHIRLPOOL 1ebddaa0b56171b755df35068bc57dcd54644ab447687bd0f5e47417834065574f614fafb495d0ae497942537474a6c36ff55a787a437f69b56d3734dd7385cf
+DIST libclc-0.2.0_pre20170929.tar.gz 138719 SHA256 b0ba08cfd2f2f0653531ec9138c0a617eaaa1b7cac6f658ba4c363fe0003a176 SHA512 08f3a21fb1dc103a3b33980c420506fd142294b2d8b4a3eeb100ea55036fb87b9740a2489a0a9a5793d71ebb157e6f3ad7854d1916fc1fa472de72374cdeaea3 WHIRLPOOL 5702c9c62ba106f2c31a5125853ad6543fddeeea40c2c38960ddd9cb54728a8c4054dbbfaa97804003815b97dc909bcf9778d8163887a179e909c4d42d52d773
+EBUILD libclc-0.2.0_pre20160209.ebuild 961 SHA256 d512ba8ade7167724814c928152d1a82a07b5bbbc51087e6e7196b68ba6d8e5f SHA512 cc1b3e82c1f074ce3079f4752cb3319d2ad213d1629005b962637c295a4c862086685d0650d067bb92f95b9f63154bfc47de894d63b1ae13e61ce3577cb783e3 WHIRLPOOL f6151a86b49048998e1216d5d08c8bd742f9f171ce677e01ac0b897afcadd8d7ef0ffc11fc964581e95013a3f6a9a475c844fd47914923925d3e9f52219daf0a
+EBUILD libclc-0.2.0_pre20160921.ebuild 988 SHA256 0814c3e8f400bcebd2ed5336bdafe2faaae9346d02aca206aeae45a78eb26835 SHA512 eb5a022ca76cd80bacacd7c538326df3b25cb5f29fdd5d9d5774e223c69ba1b087f7704d1ad660eef6ac3c6a4b32fac29c4ae64040da43eeebfdb01514f34907 WHIRLPOOL 554fb43325394b5a2edba7d88d8180bcedfe86e8b2c472cada7ab63e4b7807e633a9b9aea10f3f3692aa86fb6188fcd50fac39468fdd0a115bfff8b4674439ab
+EBUILD libclc-0.2.0_pre20170118.ebuild 1207 SHA256 323cb9263c8a401962449c7e021486ad8745ef1c7c160199e0bb82dde7bf5fac SHA512 f0d7c5c773b6fd9ed2fe5e703f2270612a68aa3f5c868825de241396c64f444b7673dcff8540733f2cc2256e310579f392333b155adc35a8d9e41c586e3ec5f3 WHIRLPOOL 97bf7bdcae133be4b0960de99009a29eae2c7121919d99283c5ac10babd7494d7c024a4978c90e57100f1c5c1b787bd9018a67b5f1632e8d6ada189511abfad8
+EBUILD libclc-0.2.0_pre20170929.ebuild 1307 SHA256 944189cfdfef3eb3c623947962b706913bb7394e776bec49c751c0a6ff927c58 SHA512 2a7dcd84c261b3415d53d587c7b4a189ac558bea014ee370cfe24086bee4e2fa9524900f682fa6acec2ac6d76ced765ae9eea50e01cb0f80cb2f35fa019090d8 WHIRLPOOL 804ca0c35e23d5264ad4caee6a313e8b7d082a7f4ce8c6da2b6d4bfc3a894ebec172e00e9a179c973b3502847fdcbe81ab229b731835e9d1f42d3474fb28406f
+MISC ChangeLog 4529 SHA256 01f7207b5ca5aee57e2956074758f60e2e05ae18b1ada1a2a72099098a2d8438 SHA512 6a0564d3949f70f59ab0ca1d9da1f301c18b6a392d107b9d482f276e1d1cca84589375bfe27fa7666782b9c5b44d01e8a076efe9cfe6de5ff3b8d0866dd77363 WHIRLPOOL 15a90551bc94456d0fc8b56f22a2c364f78642e04640307d1541e3c80f174131222dbc55fd33a0e599118df0ca3938bc86eb5e4d966a6a5550093aa63cf4c074
+MISC ChangeLog-2015 3404 SHA256 f4324683fb0e6908cdf79b8cd5f63ed51c87feee97c5caff475c1a2ed7d53a10 SHA512 750d9e4a7253e4c9e971baad2816043dbb1a11f861636451a2911e727f72d956a6dfcf91e18097dffaab3816ca7d653632a53534e8f0448ab3bdbb3396f4e1ac WHIRLPOOL 83ef070e9264f9e9375099bb60650c0c4fc81cd4bcc63b610c4875d148cc0103e69fe92a201c80e0e805e1c9364dc8a86e1808a8981769fffa114d3ac74bd446
+MISC metadata.xml 394 SHA256 fcdb3208f2564bd79a6949cd8d9fdb503b78eb7999fc7794b85ae359d5c253af SHA512 ed84a49ef1e6da5f133895d82632d81c5333ae0fa21eb222e993c2e3136c802350193555fd8f98ee23d7b4d55695ca186a8e4d5dc04c3d7aa072dc229905011d WHIRLPOOL 9656b6e4bd13dfd2eab8e0f4f6d457ecee7b876d764e6c87f26d848507809d5cb4e6eb5a9c2f263183a15e9cb240cc5a020061bff1bfeba5f15fa75c39fca2bd
diff --git a/dev-libs/libclc/libclc-0.2.0_pre20160209.ebuild b/dev-libs/libclc/libclc-0.2.0_pre20160209.ebuild
new file mode 100644
index 000000000000..550d6e55f119
--- /dev/null
+++ b/dev-libs/libclc/libclc-0.2.0_pre20160209.ebuild
@@ -0,0 +1,55 @@
+# Copyright 1999-2017 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=5
+PYTHON_COMPAT=( python2_7 )
+
+EGIT_REPO_URI="http://llvm.org/git/${PN}.git"
+
+if [[ ${PV} = 9999* ]]; then
+ GIT_ECLASS="git-r3"
+ EXPERIMENTAL="true"
+fi
+
+inherit python-any-r1 $GIT_ECLASS
+
+DESCRIPTION="OpenCL C library"
+HOMEPAGE="http://libclc.llvm.org/"
+
+if [[ $PV = 9999* ]]; then
+ SRC_URI="${SRC_PATCHES}"
+else
+ SRC_URI="mirror://gentoo/${P}.tar.xz ${SRC_PATCHES}"
+fi
+
+LICENSE="|| ( MIT BSD )"
+SLOT="0"
+KEYWORDS="amd64 x86"
+IUSE=""
+
+RDEPEND="
+ >=sys-devel/clang-3.7:0
+ >=sys-devel/llvm-3.7:0
+ <sys-devel/clang-3.9:0
+ <sys-devel/llvm-3.9:0"
+DEPEND="${RDEPEND}
+ ${PYTHON_DEPS}"
+
+src_unpack() {
+ if [[ $PV = 9999* ]]; then
+ git-r3_src_unpack
+ else
+ default
+ mv ${PN}-*/ ${P} || die
+ fi
+}
+
+src_configure() {
+ ./configure.py \
+ --with-llvm-config="$(type -P llvm-config)" \
+ --prefix="${EPREFIX}/usr" || die
+}
+
+src_compile() {
+ emake VERBOSE=1
+}
diff --git a/dev-libs/libclc/libclc-0.2.0_pre20160921.ebuild b/dev-libs/libclc/libclc-0.2.0_pre20160921.ebuild
new file mode 100644
index 000000000000..6285d2447d28
--- /dev/null
+++ b/dev-libs/libclc/libclc-0.2.0_pre20160921.ebuild
@@ -0,0 +1,49 @@
+# Copyright 1999-2017 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=6
+PYTHON_COMPAT=( python2_7 )
+
+EGIT_REPO_URI="http://llvm.org/git/${PN}.git
+ https://github.com/llvm-mirror/${PN}.git"
+EGIT_COMMIT="520743b0b72862a987ead6213dc1a5321a2010f9"
+
+if [[ ${PV} = 9999* ]]; then
+ GIT_ECLASS="git-r3"
+ EXPERIMENTAL="true"
+else
+ GIT_ECLASS="vcs-snapshot"
+fi
+
+inherit python-any-r1 ${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=""
+
+RDEPEND="
+ >=sys-devel/clang-3.9
+ >=sys-devel/llvm-3.9"
+DEPEND="${RDEPEND}
+ ${PYTHON_DEPS}"
+
+src_configure() {
+ ./configure.py \
+ --with-llvm-config="$(type -P llvm-config)" \
+ --prefix="${EPREFIX}/usr" || die
+}
+
+src_compile() {
+ emake VERBOSE=1
+}
diff --git a/dev-libs/libclc/libclc-0.2.0_pre20170118.ebuild b/dev-libs/libclc/libclc-0.2.0_pre20170118.ebuild
new file mode 100644
index 000000000000..39ad522a7e7f
--- /dev/null
+++ b/dev-libs/libclc/libclc-0.2.0_pre20170118.ebuild
@@ -0,0 +1,59 @@
+# Copyright 1999-2017 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=6
+PYTHON_COMPAT=( python2_7 )
+
+EGIT_REPO_URI="http://llvm.org/git/${PN}.git
+ https://github.com/llvm-mirror/${PN}.git"
+EGIT_COMMIT="2ec7d80d5e1c96fb85c694cc6ac0a78faf01a614"
+
+if [[ ${PV} = 9999* ]]; then
+ GIT_ECLASS="git-r3"
+ EXPERIMENTAL="true"
+else
+ GIT_ECLASS="vcs-snapshot"
+fi
+
+inherit llvm 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 ~arm64 ~x86"
+IUSE=""
+
+RDEPEND="
+ >=sys-devel/clang-4
+ >=sys-devel/llvm-4"
+DEPEND="${RDEPEND}
+ ${PYTHON_DEPS}"
+
+llvm_check_deps() {
+ has_version "sys-devel/clang:${LLVM_SLOT}"
+}
+
+pkg_setup() {
+ # we do not need llvm_pkg_setup
+ python-any-r1_pkg_setup
+}
+
+src_configure() {
+ ./configure.py \
+ --with-cxx-compiler="$(tc-getCXX)" \
+ --with-llvm-config="$(get_llvm_prefix)/bin/llvm-config" \
+ --prefix="${EPREFIX}/usr" || die
+}
+
+src_compile() {
+ emake VERBOSE=1
+}
diff --git a/dev-libs/libclc/libclc-0.2.0_pre20170929.ebuild b/dev-libs/libclc/libclc-0.2.0_pre20170929.ebuild
new file mode 100644
index 000000000000..1f8b52cf3fb8
--- /dev/null
+++ b/dev-libs/libclc/libclc-0.2.0_pre20170929.ebuild
@@ -0,0 +1,64 @@
+# Copyright 1999-2017 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="http://llvm.org/git/${PN}.git
+ https://github.com/llvm-mirror/${PN}.git"
+EGIT_COMMIT="0c31bd5e8d277bee26f34162c246a321f086ad55"
+
+if [[ ${PV} = 9999* ]]; then
+ GIT_ECLASS="git-r3"
+ EXPERIMENTAL="true"
+else
+ GIT_ECLASS="vcs-snapshot"
+fi
+
+inherit llvm 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 ~arm64 ~x86"
+IUSE=""
+
+RDEPEND="
+ || (
+ sys-devel/clang:5
+ sys-devel/clang:4
+ >=sys-devel/clang-3.9:0
+ )"
+DEPEND="${RDEPEND}
+ ${PYTHON_DEPS}"
+
+LLVM_MAX_SLOT=5
+
+llvm_check_deps() {
+ has_version "sys-devel/clang:${LLVM_SLOT}"
+}
+
+pkg_setup() {
+ # we do not need llvm_pkg_setup
+ python-any-r1_pkg_setup
+}
+
+src_configure() {
+ ./configure.py \
+ --with-cxx-compiler="$(tc-getCXX)" \
+ --with-llvm-config="$(get_llvm_prefix "${LLVM_MAX_SLOT}")/bin/llvm-config" \
+ --prefix="${EPREFIX}/usr" || die
+}
+
+src_compile() {
+ emake VERBOSE=1
+}
diff --git a/dev-libs/libclc/metadata.xml b/dev-libs/libclc/metadata.xml
new file mode 100644
index 000000000000..f5be5f9b19ad
--- /dev/null
+++ b/dev-libs/libclc/metadata.xml
@@ -0,0 +1,14 @@
+<?xml version='1.0' encoding='UTF-8'?>
+<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
+<pkgmetadata>
+ <maintainer type="project">
+ <email>x11@gentoo.org</email>
+ <name>X11</name>
+ </maintainer>
+ <maintainer type="project">
+ <email>llvm@gentoo.org</email>
+ </maintainer>
+ <upstream>
+ <remote-id type="github">llvm-mirror/libclc</remote-id>
+ </upstream>
+</pkgmetadata>