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: Mon, 08 Nov 2021 10:52:13
Message-Id: 1636368716.0a1764080e626f8ce98ae7273d1037fb2e126767.mgorny@gentoo
1 commit: 0a1764080e626f8ce98ae7273d1037fb2e126767
2 Author: Michał Górny <mgorny <AT> gentoo <DOT> org>
3 AuthorDate: Mon Nov 8 10:51:56 2021 +0000
4 Commit: Michał Górny <mgorny <AT> gentoo <DOT> org>
5 CommitDate: Mon Nov 8 10:51:56 2021 +0000
6 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=0a176408
7
8 dev-libs/libclc: Remove old
9
10 Signed-off-by: Michał Górny <mgorny <AT> gentoo.org>
11
12 dev-libs/libclc/Manifest | 2 -
13 dev-libs/libclc/libclc-0.2.0_pre20201001.ebuild | 53 -------------------
14 dev-libs/libclc/libclc-13.0.0_rc1.ebuild | 67 -------------------------
15 3 files changed, 122 deletions(-)
16
17 diff --git a/dev-libs/libclc/Manifest b/dev-libs/libclc/Manifest
18 index 4090d2a49d3..93eba739396 100644
19 --- a/dev-libs/libclc/Manifest
20 +++ b/dev-libs/libclc/Manifest
21 @@ -1,3 +1 @@
22 -DIST libclc-0.2.0_pre20201001.tar.xz 122180 BLAKE2B 8587c5b29d517a6c54a927b529f7e5651f154785e4299ad6b90007bdbae19ffccea75ec873a308b9a025effbb6316f91e70f82af19cdcdaad87c4f1af2595f78 SHA512 1fc10fcd6163991fe3ce474351d07f892a628fbd4e4cfb9ea96f1288db421b7be87c1f818593bea7409e7a17a5fd4c84a07a88f5c3d998ef97ac0425970abf4d
23 -DIST llvmorg-13.0.0-rc1.tar.gz 147235597 BLAKE2B 089fed119dee8a16f278cebb13808bd5a95629cc87ebee3050225cc041b78fee51acacc5bcc913d4a99e830bfe5774b19a04a845293c5087dd2a8c9d94d2fde9 SHA512 6e307e2c2dcb7ff41d11ee29d69f41c0ef55f200999847a3a924a2e773fc9c2160015746789af8b723c628bd232f97fce63370209bd0065491d80b0cc0017e85
24 DIST llvmorg-13.0.0.tar.gz 147270176 BLAKE2B 628f316b580e1edf3a58d4825b724df759e6ed2a4116802470c04562caefc392fa325c91f388036365a2e45a9595cca6d3557fab12984fc8bcfef29c9116d822 SHA512 8004c05d32b9720fb3391783621690c1df9bd1e97e72cbff9192ed88a84b0acd303b61432145fa917b5b5e548c8cee29b24ef8547dcc8677adf4816e7a8a0eb2
25
26 diff --git a/dev-libs/libclc/libclc-0.2.0_pre20201001.ebuild b/dev-libs/libclc/libclc-0.2.0_pre20201001.ebuild
27 deleted file mode 100644
28 index ffc6fbd8be7..00000000000
29 --- a/dev-libs/libclc/libclc-0.2.0_pre20201001.ebuild
30 +++ /dev/null
31 @@ -1,53 +0,0 @@
32 -# Copyright 1999-2021 Gentoo Authors
33 -# Distributed under the terms of the GNU General Public License v2
34 -
35 -EAPI=7
36 -PYTHON_COMPAT=( python3_{7..9} )
37 -
38 -inherit cmake llvm prefix python-any-r1 toolchain-funcs
39 -
40 -DESCRIPTION="OpenCL C library"
41 -HOMEPAGE="https://libclc.llvm.org/"
42 -# libclc subdir of https://github.com/llvm/llvm-project.git
43 -SRC_URI="https://dev.gentoo.org/~mgorny/dist/${P}.tar.xz"
44 -
45 -LICENSE="Apache-2.0-with-LLVM-exceptions || ( MIT BSD )"
46 -SLOT="0"
47 -KEYWORDS="amd64 x86"
48 -IUSE_VIDEO_CARDS="video_cards_nvidia video_cards_r600 video_cards_radeonsi"
49 -IUSE="${IUSE_VIDEO_CARDS}"
50 -REQUIRED_USE="|| ( ${IUSE_VIDEO_CARDS} )"
51 -
52 -BDEPEND="
53 - || (
54 - sys-devel/clang:12
55 - sys-devel/clang:11
56 - sys-devel/clang:10
57 - )
58 - ${PYTHON_DEPS}"
59 -
60 -llvm_check_deps() {
61 - has_version -b "sys-devel/clang:${LLVM_SLOT}"
62 -}
63 -
64 -pkg_setup() {
65 - # we do not need llvm_pkg_setup
66 - python-any-r1_pkg_setup
67 -}
68 -
69 -src_configure() {
70 - local libclc_targets=()
71 -
72 - use video_cards_nvidia && libclc_targets+=("nvptx--" "nvptx64--" "nvptx--nvidiacl" "nvptx64--nvidiacl")
73 - use video_cards_r600 && libclc_targets+=("r600--")
74 - use video_cards_radeonsi && libclc_targets+=("amdgcn--" "amdgcn-mesa-mesa3d" "amdgcn--amdhsa")
75 - # TODO: spirv
76 - [[ ${#libclc_targets[@]} ]] || die "libclc target missing!"
77 -
78 - libclc_targets=${libclc_targets[*]}
79 - local mycmakeargs=(
80 - -DLIBCLC_TARGETS_TO_BUILD="${libclc_targets// /;}"
81 - -DLLVM_CONFIG="$(get_llvm_prefix "${LLVM_MAX_SLOT}")/bin/llvm-config"
82 - )
83 - cmake_src_configure
84 -}
85
86 diff --git a/dev-libs/libclc/libclc-13.0.0_rc1.ebuild b/dev-libs/libclc/libclc-13.0.0_rc1.ebuild
87 deleted file mode 100644
88 index eb1ed27099a..00000000000
89 --- a/dev-libs/libclc/libclc-13.0.0_rc1.ebuild
90 +++ /dev/null
91 @@ -1,67 +0,0 @@
92 -# Copyright 1999-2021 Gentoo Authors
93 -# Distributed under the terms of the GNU General Public License v2
94 -
95 -EAPI=7
96 -
97 -PYTHON_COMPAT=( python3_{8..10} )
98 -inherit cmake llvm llvm.org prefix python-any-r1 toolchain-funcs
99 -
100 -DESCRIPTION="OpenCL C library"
101 -HOMEPAGE="https://libclc.llvm.org/"
102 -
103 -LICENSE="Apache-2.0-with-LLVM-exceptions || ( MIT BSD )"
104 -SLOT="0"
105 -KEYWORDS="~amd64 ~x86"
106 -IUSE_VIDEO_CARDS="video_cards_nvidia video_cards_r600 video_cards_radeonsi"
107 -IUSE="${IUSE_VIDEO_CARDS}"
108 -REQUIRED_USE="|| ( ${IUSE_VIDEO_CARDS} )"
109 -
110 -LLVM_MAX_SLOT=13
111 -BDEPEND="
112 - || (
113 - sys-devel/clang:13
114 - sys-devel/clang:12
115 - sys-devel/clang:11
116 - sys-devel/clang:10
117 - )
118 - ${PYTHON_DEPS}"
119 -
120 -LLVM_COMPONENTS=( libclc )
121 -llvm.org_set_globals
122 -
123 -llvm_check_deps() {
124 - has_version -b "sys-devel/clang:${LLVM_SLOT}"
125 -}
126 -
127 -pkg_setup() {
128 - # we do not need llvm_pkg_setup
129 - python-any-r1_pkg_setup
130 -}
131 -
132 -src_configure() {
133 - local libclc_targets=()
134 -
135 - use video_cards_nvidia && libclc_targets+=(
136 - "nvptx--"
137 - "nvptx64--"
138 - "nvptx--nvidiacl"
139 - "nvptx64--nvidiacl"
140 - )
141 - use video_cards_r600 && libclc_targets+=(
142 - "r600--"
143 - )
144 - use video_cards_radeonsi && libclc_targets+=(
145 - "amdgcn--"
146 - "amdgcn-mesa-mesa3d"
147 - "amdgcn--amdhsa"
148 - )
149 - # TODO: spirv
150 - [[ ${#libclc_targets[@]} ]] || die "libclc target missing!"
151 -
152 - libclc_targets=${libclc_targets[*]}
153 - local mycmakeargs=(
154 - -DLIBCLC_TARGETS_TO_BUILD="${libclc_targets// /;}"
155 - -DLLVM_CONFIG="$(get_llvm_prefix "${LLVM_MAX_SLOT}")/bin/llvm-config"
156 - )
157 - cmake_src_configure
158 -}