diff options
author | V3n3RiX <venerix@redcorelinux.org> | 2018-09-21 18:00:10 +0100 |
---|---|---|
committer | V3n3RiX <venerix@redcorelinux.org> | 2018-09-21 18:00:10 +0100 |
commit | 265dbe5dbc14c199299496c6db8fce3f76647015 (patch) | |
tree | ab18b5617d138f6684566b619405090989d55a2c /dev-libs/libclc | |
parent | 586819755b4dbfdffdc8a725ab7c0f86095b8489 (diff) |
gentoo resync : 21.09.2018
Diffstat (limited to 'dev-libs/libclc')
-rw-r--r-- | dev-libs/libclc/Manifest | 4 | ||||
-rw-r--r-- | dev-libs/libclc/libclc-0.2.0_pre20180915.ebuild (renamed from dev-libs/libclc/libclc-0.2.0_pre20180319.ebuild) | 28 |
2 files changed, 21 insertions, 11 deletions
diff --git a/dev-libs/libclc/Manifest b/dev-libs/libclc/Manifest index 1dbe02e1c3fc..d139c9035ebc 100644 --- a/dev-libs/libclc/Manifest +++ b/dev-libs/libclc/Manifest @@ -1,5 +1,5 @@ -DIST libclc-0.2.0_pre20180319.tar.gz 161608 BLAKE2B b8e4f2d475c0425cbe5b41a5ba3b7b40d14c045f5c23d007e87cdfedc7a01a8317218e5f3b881e944256f04b9fb68a130bff2a137e51cb961b3d5bb7f2e2261d SHA512 5a4130eeb416f90901b66708adc17c825baa757d00d983a12e217f36503e4ed5d208f3a49cc26d7f9b71134ee3d258748153bf52cf7769bcbc06ec0510087a36 DIST libclc-0.2.0_pre20180610.tar.gz 170102 BLAKE2B 3f8c33a9961db34e68cebc328a88a71173000972b5540d099fa79fe89fd186b7f2f8791a86b45b1be135383d26a92fd4ccdc2827b5620b5f86f0b48467fc092f SHA512 0c75c3e7b81754c175c5c43614ad313cda2fa09a1865794c904675b8d2527f78ffa357178f7d4a471b52ac3d7d96b0184303439b69060df4bf482a01871fcb95 -EBUILD libclc-0.2.0_pre20180319.ebuild 1433 BLAKE2B 3fa277010d42c6398ffa618c06397df166d2e37c38d9d9932813a979ec8a57ba57893dc67cbbacefa2fd47fad5aeac2799eefceadfbfa20a7096d53a571e3715 SHA512 ce2cdc8905a750c428a4a706cc2e4eeccabb27b800c37997414586fc3c43588b37b15b05f5e8c81a87199c9727c8f8de1b2af4bc37629f88f129aaeea54f3fdf +DIST libclc-0.2.0_pre20180915.tar.gz 170385 BLAKE2B 43a90347936be5ad383fe4e4b06523aac455596d6cb1fc58038811ea19b4f6ab2091ffc345e68ff2ad7f7f1615713085000711b31b9d1ad3911a85bc0db93d5b SHA512 5b8e68f7683d72390d8f9c263e15a54b4b4613b73eff2bf3881d7a35d6480468693a62dcaed159fd8421ae80768d6aaebcd6c33163b082c0a2cf15581d37dcab EBUILD libclc-0.2.0_pre20180610.ebuild 1932 BLAKE2B 9eb087a81ddd16613022bac2322113b6ba2545fbe9dddd5b7bbc481eb4b41d02468d0f1cead297760ca2cd435dbbfde539668ad0fc9b9d8554afdfa6874fe1a1 SHA512 b46cdb18fb0a0559f11d09d6005940eb644da63f4501613c604f549f470617e1f28f31db243872642474ce8b4f645c85954dd001c59b213c7d0a4058ec657fce +EBUILD libclc-0.2.0_pre20180915.ebuild 1934 BLAKE2B 254e28d334ee7fbe5b10363185d8893d743face3945cd22bfe670dd8c5434ef1f2079c416eb07decff3d940cd2566564cb1c333b7252d21e3cadf39dcd2c7ea6 SHA512 73d0771b24f2a673afb0a1c1fd4c9ad457ced57f6fb93ffd6902e367f61fd9b89eb6f67229c270d13c68a264d8b9536ba16ec6a86fbb42d898cf165773063c01 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_pre20180915.ebuild index b754b5694bd5..014415e28503 100644 --- a/dev-libs/libclc/libclc-0.2.0_pre20180319.ebuild +++ b/dev-libs/libclc/libclc-0.2.0_pre20180915.ebuild @@ -4,15 +4,16 @@ EAPI=6 PYTHON_COMPAT=( python2_7 python3_4 python3_5 python3_6 ) -EGIT_REPO_URI="http://llvm.org/git/${PN}.git +EGIT_REPO_URI="https://llvm.org/git/${PN}.git https://github.com/llvm-mirror/${PN}.git" -EGIT_COMMIT="96d10f2e9ec4c87d6b8d91e01d4d061915413f3e" +EGIT_COMMIT="dabae5a2afb78cba0320a86e3f5f0b5dc83e077c" if [[ ${PV} = 9999* ]]; then GIT_ECLASS="git-r3" EXPERIMENTAL="true" else - GIT_ECLASS="vcs-snapshot" + GIT_ECLASS="" + S="${WORKDIR}/libclc-${EGIT_COMMIT}" fi inherit llvm prefix python-any-r1 toolchain-funcs ${GIT_ECLASS} @@ -29,18 +30,19 @@ fi LICENSE="|| ( MIT BSD )" SLOT="0" -KEYWORDS="~amd64 ~arm64 ~x86" -IUSE="" +KEYWORDS="~amd64 ~x86" +IUSE_VIDEO_CARDS="video_cards_nvidia video_cards_r600 video_cards_radeonsi" +IUSE="${IUSE_VIDEO_CARDS}" +REQUIRED_USE="|| ( ${IUSE_VIDEO_CARDS} )" -RDEPEND=" +DEPEND=" || ( sys-devel/clang:7 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=7 @@ -62,10 +64,18 @@ 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" || die + --prefix="${EPREFIX}/usr" "${libclc_targets[@]}" || die } src_compile() { |