Gentoo Archives: gentoo-commits

From: "Michał Górny" <mgorny@g.o>
To: gentoo-commits@l.g.o
Subject: [gentoo-commits] repo/gentoo:master commit in: dev-libs/libclc/
Date: Wed, 02 Feb 2022 21:16:39
Message-Id: 1643836574.46729fe9eb4cb941d27b6ec4887d21c2dd1b5720.mgorny@gentoo
1 commit: 46729fe9eb4cb941d27b6ec4887d21c2dd1b5720
2 Author: Michał Górny <mgorny <AT> gentoo <DOT> org>
3 AuthorDate: Wed Feb 2 16:45:08 2022 +0000
4 Commit: Michał Górny <mgorny <AT> gentoo <DOT> org>
5 CommitDate: Wed Feb 2 21:16:14 2022 +0000
6 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=46729fe9
7
8 dev-libs/libclc: Remove 13.0.1_rc3
9
10 Signed-off-by: Michał Górny <mgorny <AT> gentoo.org>
11
12 dev-libs/libclc/Manifest | 1 -
13 dev-libs/libclc/libclc-13.0.1_rc3.ebuild | 67 --------------------------------
14 2 files changed, 68 deletions(-)
15
16 diff --git a/dev-libs/libclc/Manifest b/dev-libs/libclc/Manifest
17 index a40d3918fa33..88d04cb62ba3 100644
18 --- a/dev-libs/libclc/Manifest
19 +++ b/dev-libs/libclc/Manifest
20 @@ -1,3 +1,2 @@
21 DIST llvmorg-13.0.0.tar.gz 147270176 BLAKE2B 628f316b580e1edf3a58d4825b724df759e6ed2a4116802470c04562caefc392fa325c91f388036365a2e45a9595cca6d3557fab12984fc8bcfef29c9116d822 SHA512 8004c05d32b9720fb3391783621690c1df9bd1e97e72cbff9192ed88a84b0acd303b61432145fa917b5b5e548c8cee29b24ef8547dcc8677adf4816e7a8a0eb2
22 -DIST llvmorg-13.0.1-rc3.tar.gz 147302323 BLAKE2B 9ac2f97568062d7dd618295a68d6e14898fcd69e2bb66290b999ceb8c12132371f4e9b59d8ba2b252e5e5cb249045676b24fc50c117b2afae20abab98f426582 SHA512 88a04ad02af2d41ec21c7a62bad21ee0e627b7276a16795875afd062ed29ac7fb4aadec5b5e48785a6502c9fd797a4b67d648a21f193c9f7602112870b10a3d1
23 DIST llvmorg-13.0.1.tar.gz 147290251 BLAKE2B 2a44b012a672501761d0c27c6b3a315b69bfef0cd13b078a7e7d2fccc4a9c8c0f2bee0f164c4271c9106b0a99cb06e8b64986f66253b613336719fb86b82541b SHA512 9a8cb5d11964ba88b7624f19ec861fb28701f23956ea3c92f6ac644332d5f41fde97bd8933dd3ee70ed378058c252fa3a3887c8d1af90d219970c2b27691166f
24
25 diff --git a/dev-libs/libclc/libclc-13.0.1_rc3.ebuild b/dev-libs/libclc/libclc-13.0.1_rc3.ebuild
26 deleted file mode 100644
27 index 1da191d1914e..000000000000
28 --- a/dev-libs/libclc/libclc-13.0.1_rc3.ebuild
29 +++ /dev/null
30 @@ -1,67 +0,0 @@
31 -# Copyright 1999-2022 Gentoo Authors
32 -# Distributed under the terms of the GNU General Public License v2
33 -
34 -EAPI=7
35 -
36 -PYTHON_COMPAT=( python3_{8..10} )
37 -inherit cmake llvm llvm.org python-any-r1
38 -
39 -DESCRIPTION="OpenCL C library"
40 -HOMEPAGE="https://libclc.llvm.org/"
41 -
42 -LICENSE="Apache-2.0-with-LLVM-exceptions || ( MIT BSD )"
43 -SLOT="0"
44 -KEYWORDS=""
45 -IUSE_VIDEO_CARDS="video_cards_nvidia video_cards_r600 video_cards_radeonsi"
46 -IUSE="${IUSE_VIDEO_CARDS}"
47 -REQUIRED_USE="|| ( ${IUSE_VIDEO_CARDS} )"
48 -
49 -LLVM_MAX_SLOT=13
50 -BDEPEND="
51 - || (
52 - sys-devel/clang:13
53 - sys-devel/clang:12
54 - sys-devel/clang:11
55 - sys-devel/clang:10
56 - )
57 - ${PYTHON_DEPS}"
58 -
59 -LLVM_COMPONENTS=( libclc )
60 -llvm.org_set_globals
61 -
62 -llvm_check_deps() {
63 - has_version -b "sys-devel/clang:${LLVM_SLOT}"
64 -}
65 -
66 -pkg_setup() {
67 - # we do not need llvm_pkg_setup
68 - python-any-r1_pkg_setup
69 -}
70 -
71 -src_configure() {
72 - local libclc_targets=()
73 -
74 - use video_cards_nvidia && libclc_targets+=(
75 - "nvptx--"
76 - "nvptx64--"
77 - "nvptx--nvidiacl"
78 - "nvptx64--nvidiacl"
79 - )
80 - use video_cards_r600 && libclc_targets+=(
81 - "r600--"
82 - )
83 - use video_cards_radeonsi && libclc_targets+=(
84 - "amdgcn--"
85 - "amdgcn-mesa-mesa3d"
86 - "amdgcn--amdhsa"
87 - )
88 - # TODO: spirv
89 - [[ ${#libclc_targets[@]} ]] || die "libclc target missing!"
90 -
91 - libclc_targets=${libclc_targets[*]}
92 - local mycmakeargs=(
93 - -DLIBCLC_TARGETS_TO_BUILD="${libclc_targets// /;}"
94 - -DLLVM_CONFIG="$(get_llvm_prefix "${LLVM_MAX_SLOT}")/bin/llvm-config"
95 - )
96 - cmake_src_configure
97 -}