diff options
author | V3n3RiX <venerix@redcorelinux.org> | 2018-03-23 04:19:44 +0000 |
---|---|---|
committer | V3n3RiX <venerix@redcorelinux.org> | 2018-03-23 04:19:44 +0000 |
commit | c5283d322accc6097afec74eab24550829788bab (patch) | |
tree | b99ce668128d82a026eaa31461643f9173f9b77b /dev-libs/libclc | |
parent | 5510d9d7d1c93c2ea71a2bd6f0666168808d5dd6 (diff) |
gentoo resync : 23.03.2018
Diffstat (limited to 'dev-libs/libclc')
-rw-r--r-- | dev-libs/libclc/Manifest | 2 | ||||
-rw-r--r-- | dev-libs/libclc/libclc-0.2.0_pre20180319.ebuild | 72 |
2 files changed, 74 insertions, 0 deletions
diff --git a/dev-libs/libclc/Manifest b/dev-libs/libclc/Manifest index e0df376a07a6..68625fbc15d0 100644 --- a/dev-libs/libclc/Manifest +++ b/dev-libs/libclc/Manifest @@ -2,8 +2,10 @@ DIST libclc-0.2.0_pre20160209.tar.xz 75756 BLAKE2B 9f093e67feecfb75caaaf4f53ec07 DIST libclc-0.2.0_pre20160921.tar.gz 127817 BLAKE2B 831bdc4a82d50ec33eb3199ef707fd84951b2b07cc8f6b1f166834240eab533d5f69dbe1d5d6c47cecd9f3c51618b96ad868c724e758fce2ec9d5f0915989f38 SHA512 5aae6010f32935c0b8fa510fc27cfd0be2df3d58d73cb5fb280d6758aafe54bd63a0137e59053aa81dca01ad2c5a0591ee1d4a83e3ef9a590a009a1a19062373 DIST libclc-0.2.0_pre20170118.tar.gz 130793 BLAKE2B 5083e821c5a0e481d3b6b638ac93c8c936972dcdb78e20a86de5f6873f300d7065e8aba242b332d4a91d494bb3a9e67f1f60a566bfbef78891d7c438bebbf41c SHA512 d94a58ebcafb7bbdbcded84574676537ae7b4ba86c7c2270cc1cd7aa3113104e018e53396b570e821c2fd473b6dd63677f59d990e36e15a7cdb43cdb96cd058c DIST libclc-0.2.0_pre20170929.tar.gz 138719 BLAKE2B 05a3d47626a5e1918f32510b1254f846c88c642f60920377dda73568d34656fecd53872ebc01114b2cc8b2161b196c89efe119bfd785875f723fcee4c1ce3662 SHA512 08f3a21fb1dc103a3b33980c420506fd142294b2d8b4a3eeb100ea55036fb87b9740a2489a0a9a5793d71ebb157e6f3ad7854d1916fc1fa472de72374cdeaea3 +DIST libclc-0.2.0_pre20180319.tar.gz 161608 BLAKE2B b8e4f2d475c0425cbe5b41a5ba3b7b40d14c045f5c23d007e87cdfedc7a01a8317218e5f3b881e944256f04b9fb68a130bff2a137e51cb961b3d5bb7f2e2261d SHA512 5a4130eeb416f90901b66708adc17c825baa757d00d983a12e217f36503e4ed5d208f3a49cc26d7f9b71134ee3d258748153bf52cf7769bcbc06ec0510087a36 EBUILD libclc-0.2.0_pre20160209.ebuild 961 BLAKE2B e0e55a356fbad605fd2c4375b92dbf7c9bdada246a492e8234635b502d24c993925f6f7e37686d970d0f279b44b8d5c94af59decc7777f3b3e4f9f73d53b4d08 SHA512 cc1b3e82c1f074ce3079f4752cb3319d2ad213d1629005b962637c295a4c862086685d0650d067bb92f95b9f63154bfc47de894d63b1ae13e61ce3577cb783e3 EBUILD libclc-0.2.0_pre20160921.ebuild 988 BLAKE2B 206c8e5c6b19d0e0b6a18c4ebc2a5ba8d102492366650900f9ee725e888c3c39175238eb1c37f23152f4d932a4325b9b39c77fe672848a907727e22a2c04f127 SHA512 eb5a022ca76cd80bacacd7c538326df3b25cb5f29fdd5d9d5774e223c69ba1b087f7704d1ad660eef6ac3c6a4b32fac29c4ae64040da43eeebfdb01514f34907 EBUILD libclc-0.2.0_pre20170118.ebuild 1207 BLAKE2B 9fea7ead38a05076b4d93813f9bcdbd9069ccc55e5932a01499f17eeeef2304fd1da2718cc85a785d348d81f9c5bd29bfcf9defddf8c067bce0ca6c5949b9610 SHA512 f0d7c5c773b6fd9ed2fe5e703f2270612a68aa3f5c868825de241396c64f444b7673dcff8540733f2cc2256e310579f392333b155adc35a8d9e41c586e3ec5f3 EBUILD libclc-0.2.0_pre20170929.ebuild 1391 BLAKE2B 45569e8b40dee2c80bf035bc719becde88dfdf3dac19eec45563c35d0edcf565bfe2ececece4285b0cb20c0f45fbbd424c7526c9eb376443f645c92f9ca04aed SHA512 d97c5ad240eacb62d73fa079c48b30ef2af61fce5e06a833f1e857605e6ff02f7a9e7cf90ae6f4386151a044df16077bd0e98346af87c410b1df88cfb0ffba27 +EBUILD libclc-0.2.0_pre20180319.ebuild 1413 BLAKE2B 02e15202a649d4ba2561d08514f6798fbfe341e9d90db5da56c4e682ba4f8d1fa0368074cea4687c7a532f21e4279a3e7600f462d4bcc4c1c62394a2a4d5a108 SHA512 ce24da1a6499919398a7479ea4c32a0289ec7e962c18e3babc54b30c0aafe2d5320f0c2f45f02ef0c6e88798088a6fb5aad3a33ba35b311a504643a9b04c974e MISC metadata.xml 394 BLAKE2B 13254b650b3c915b7eccc5e646d7ed6065c514d8f5619f276be3526be68bde4ad2310491f18a6a92ae621022a009ab7248eb788e500c96012f3d27236da16cba SHA512 ed84a49ef1e6da5f133895d82632d81c5333ae0fa21eb222e993c2e3136c802350193555fd8f98ee23d7b4d55695ca186a8e4d5dc04c3d7aa072dc229905011d diff --git a/dev-libs/libclc/libclc-0.2.0_pre20180319.ebuild b/dev-libs/libclc/libclc-0.2.0_pre20180319.ebuild new file mode 100644 index 000000000000..8f8f1a0ec232 --- /dev/null +++ b/dev-libs/libclc/libclc-0.2.0_pre20180319.ebuild @@ -0,0 +1,72 @@ +# 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="http://llvm.org/git/${PN}.git + https://github.com/llvm-mirror/${PN}.git" +EGIT_COMMIT="96d10f2e9ec4c87d6b8d91e01d4d061915413f3e" + +if [[ ${PV} = 9999* ]]; then + GIT_ECLASS="git-r3" + EXPERIMENTAL="true" +else + GIT_ECLASS="vcs-snapshot" +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 ~arm64 ~x86" +IUSE="" + +RDEPEND=" + || ( + sys-devel/clang:6 + sys-devel/clang:5 + sys-devel/clang:4 + >=sys-devel/clang-3.9:0 + )" +DEPEND="${RDEPEND} + ${PYTHON_DEPS}" + +LLVM_MAX_SLOT=6 + +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() { + ./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 +} |