From: | Andreas Sturmlechner <asturm@g.o> |
---|---|
To: | gentoo-commits@l.g.o |
Subject: | [gentoo-commits] repo/gentoo:master commit in: sci-libs/hipSPARSE/ |
Date: | Wed, 01 Feb 2023 09:53:38 |
Message-Id: | 1675245172.b069d0b9458db220c061e2b14de7219f1065b3ca.asturm@gentoo |
1 | commit: b069d0b9458db220c061e2b14de7219f1065b3ca |
2 | Author: Andreas Sturmlechner <asturm <AT> gentoo <DOT> org> |
3 | AuthorDate: Tue Jan 24 22:21:40 2023 +0000 |
4 | Commit: Andreas Sturmlechner <asturm <AT> gentoo <DOT> org> |
5 | CommitDate: Wed Feb 1 09:52:52 2023 +0000 |
6 | URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=b069d0b9 |
7 | |
8 | sci-libs/hipSPARSE: drop 5.0.2 |
9 | |
10 | Signed-off-by: Andreas Sturmlechner <asturm <AT> gentoo.org> |
11 | |
12 | sci-libs/hipSPARSE/Manifest | 1 - |
13 | sci-libs/hipSPARSE/hipSPARSE-5.0.2.ebuild | 105 ------------------------------ |
14 | 2 files changed, 106 deletions(-) |
15 | |
16 | diff --git a/sci-libs/hipSPARSE/Manifest b/sci-libs/hipSPARSE/Manifest |
17 | index 5ed13f1453c7..6f6118e92831 100644 |
18 | --- a/sci-libs/hipSPARSE/Manifest |
19 | +++ b/sci-libs/hipSPARSE/Manifest |
20 | @@ -1,4 +1,3 @@ |
21 | -DIST hipSPARSE-5.0.tar.gz 440916 BLAKE2B 4011dda3d22b373848735bab0570421fed786bd4d9cff992d3eaaf70b84c00334cec6a8fe3bdd2b9cd5241d837522b778b3462064426195db68930af89c21984 SHA512 567c6b05844143834efbb6f5b7a97ec93f349b97ec6bea55e780cb2480cf80aafbbf15b06f83af3d73ff8ab44c51cbe26ada27b4b398b67dc428c1959c3e7222 |
22 | DIST hipSPARSE-5.1.tar.gz 449838 BLAKE2B 7727ecb9fa397e2730cfda4c9367188c37ad201d501b50129994869c6ef15b51cdf2d1f481f19f2f37cf0530f1ec3689c40a9651924f70fabe945d80732df64a SHA512 8b01c01a10b8419d14a532ebccfa5b5b5b5c3f6a6e73f3f0ecee58c7e240d2754485a9da020fe4693df3ef9fc08e5bb09b05396472ccbeebf89bc2635d94eb64 |
23 | DIST rocSPARSE_ASIC_320k.tar.gz 11301444 BLAKE2B a00cc4a3ededab3fb56339319e34e936645ddce2dee3c630153b37e337384c207b0a2829227fb7f4c2db1fe33383e97410ab7ad459d391c025f5410843d51cf2 SHA512 1db3af391c30a371c1ac0087436e266721474273a39d5b2b6d56408d950dcbbee004750e4dce4e3dbc4cb512f38f6d945676d7f29b62c52fd5a7fed0fe789e03 |
24 | DIST rocSPARSE_Chebyshev4.tar.gz 50165660 BLAKE2B f1a95554c8f38937f501488fabfd406b773eb980d7463cadac0de162529ac2f834c655cadd2b65f4c42a8487bc2d67c749601ae33bd789051f9e4d1e157196a0 SHA512 fdec4947a4af923d28b4be8d23690fd6d356c58f8344a5dcdd2e3fa61769d83e47a84d65316b527e6e82d9f988de2675a852367d406e44b44d784137a90b95c0 |
25 | |
26 | diff --git a/sci-libs/hipSPARSE/hipSPARSE-5.0.2.ebuild b/sci-libs/hipSPARSE/hipSPARSE-5.0.2.ebuild |
27 | deleted file mode 100644 |
28 | index 3b9e1f762bd7..000000000000 |
29 | --- a/sci-libs/hipSPARSE/hipSPARSE-5.0.2.ebuild |
30 | +++ /dev/null |
31 | @@ -1,105 +0,0 @@ |
32 | -# Copyright 1999-2022 Gentoo Authors |
33 | -# Distributed under the terms of the GNU General Public License v2 |
34 | - |
35 | -EAPI=7 |
36 | - |
37 | -inherit cmake toolchain-funcs |
38 | - |
39 | -DESCRIPTION="ROCm SPARSE marshalling library" |
40 | -HOMEPAGE="https://github.com/ROCmSoftwarePlatform/hipSPARSE" |
41 | -# share some test datasets with rocSPARSE |
42 | -SRC_URI="https://github.com/ROCmSoftwarePlatform/hipSPARSE/archive/rocm-${PV}.tar.gz -> hipSPARSE-$(ver_cut 1-2).tar.gz |
43 | -test? ( |
44 | -https://sparse.tamu.edu/MM/SNAP/amazon0312.tar.gz -> rocSPARSE_amazon0312.tar.gz |
45 | -https://sparse.tamu.edu/MM/Muite/Chebyshev4.tar.gz -> rocSPARSE_Chebyshev4.tar.gz |
46 | -https://sparse.tamu.edu/MM/FEMLAB/sme3Dc.tar.gz -> rocSPARSE_sme3Dc.tar.gz |
47 | -https://sparse.tamu.edu/MM/Williams/webbase-1M.tar.gz -> rocSPARSE_webbase-1M.tar.gz |
48 | -https://sparse.tamu.edu/MM/Bova/rma10.tar.gz -> rocSPARSE_rma10.tar.gz |
49 | -https://sparse.tamu.edu/MM/JGD_BIBD/bibd_22_8.tar.gz -> rocSPARSE_bibd_22_8.tar.gz |
50 | -https://sparse.tamu.edu/MM/Williams/mac_econ_fwd500.tar.gz -> rocSPARSE_mac_econ_fwd500.tar.gz |
51 | -https://sparse.tamu.edu/MM/Williams/mc2depi.tar.gz -> rocSPARSE_mc2depi.tar.gz |
52 | -https://sparse.tamu.edu/MM/Hamm/scircuit.tar.gz -> rocSPARSE_scircuit.tar.gz |
53 | -https://sparse.tamu.edu/MM/Sandia/ASIC_320k.tar.gz -> rocSPARSE_ASIC_320k.tar.gz |
54 | -https://sparse.tamu.edu/MM/GHS_psdef/bmwcra_1.tar.gz -> rocSPARSE_bmwcra_1.tar.gz |
55 | -https://sparse.tamu.edu/MM/HB/nos1.tar.gz -> rocSPARSE_nos1.tar.gz |
56 | -https://sparse.tamu.edu/MM/HB/nos2.tar.gz -> rocSPARSE_nos2.tar.gz |
57 | -https://sparse.tamu.edu/MM/HB/nos3.tar.gz -> rocSPARSE_nos3.tar.gz |
58 | -https://sparse.tamu.edu/MM/HB/nos4.tar.gz -> rocSPARSE_nos4.tar.gz |
59 | -https://sparse.tamu.edu/MM/HB/nos5.tar.gz -> rocSPARSE_nos5.tar.gz |
60 | -https://sparse.tamu.edu/MM/HB/nos6.tar.gz -> rocSPARSE_nos6.tar.gz |
61 | -https://sparse.tamu.edu/MM/HB/nos7.tar.gz -> rocSPARSE_nos7.tar.gz |
62 | -https://sparse.tamu.edu/MM/DNVS/shipsec1.tar.gz -> rocSPARSE_shipsec1.tar.gz |
63 | -)" |
64 | - |
65 | -LICENSE="MIT" |
66 | -KEYWORDS="~amd64" |
67 | -SLOT="0"/$(ver_cut 1-2) |
68 | -IUSE="test" |
69 | - |
70 | -RESTRICT="!test? ( test )" |
71 | - |
72 | -RDEPEND="dev-util/rocminfo |
73 | - dev-util/hip |
74 | - sci-libs/rocSPARSE:${SLOT}" |
75 | -DEPEND="${RDEPEND}" |
76 | -BDEPEND="dev-util/rocm-cmake |
77 | - >=dev-util/cmake-3.22 |
78 | - test? ( dev-cpp/gtest )" |
79 | - |
80 | -S="${WORKDIR}/hipSPARSE-rocm-${PV}" |
81 | - |
82 | -PATCHES=( "${FILESDIR}/${PN}-5.0.2-remove-matrices-unpacking.patch" ) |
83 | - |
84 | -src_prepare() { |
85 | - sed -e "s/PREFIX hipsparse//" \ |
86 | - -e "/<INSTALL_INTERFACE/s,include,include/hipsparse," \ |
87 | - -e "s:rocm_install_symlink_subdir(hipsparse):#rocm_install_symlink_subdir(hipsparse):" \ |
88 | - -i library/CMakeLists.txt || die |
89 | - |
90 | - # remove GIT dependency |
91 | - sed -e "/find_package(Git/d" -i cmake/Dependencies.cmake || die |
92 | - |
93 | - if use test; then |
94 | - mkdir -p "${BUILD_DIR}"/clients/matrices |
95 | - # compile and use the mtx2bin converter. Do not use any optimization flags! |
96 | - ebegin "$(tc-getCXX) deps/convert.cpp -o deps/convert" |
97 | - $(tc-getCXX) deps/convert.cpp -o deps/convert |
98 | - eend $? |
99 | - find "${WORKDIR}" -maxdepth 2 -regextype grep -E -regex ".*/(.*)/\1\.mtx" -print0 | |
100 | - while IFS= read -r -d '' mtxfile; do |
101 | - destination=${BUILD_DIR}/clients/matrices/$(basename -s '.mtx' ${mtxfile}).bin |
102 | - ebegin "Converting ${mtxfile} to ${destination}" |
103 | - deps/convert ${mtxfile} ${destination} |
104 | - eend $? |
105 | - done |
106 | - fi |
107 | - eapply_user |
108 | - cmake_src_prepare |
109 | -} |
110 | - |
111 | -src_configure() { |
112 | - # Grant access to the device |
113 | - addwrite /dev/kfd |
114 | - addpredict /dev/dri/ |
115 | - |
116 | - # Compiler to use |
117 | - export CXX=hipcc |
118 | - |
119 | - local mycmakeargs=( |
120 | - -DHIP_RUNTIME="ROCclr" |
121 | - -DBUILD_CLIENTS_TESTS=$(usex test ON OFF) |
122 | - -DBUILD_CLIENTS_SAMPLES=OFF |
123 | - -DCMAKE_SKIP_RPATH="ON" |
124 | - -DCMAKE_INSTALL_INCLUDEDIR=include/hipsparse |
125 | - ${AMDGPU_TARGETS+-DAMDGPU_TARGETS="${AMDGPU_TARGETS}"} |
126 | - ) |
127 | - |
128 | - cmake_src_configure |
129 | -} |
130 | - |
131 | -src_test() { |
132 | - addwrite /dev/kfd |
133 | - addwrite /dev/dri/ |
134 | - cd "${BUILD_DIR}/clients/staging" || die |
135 | - ./hipsparse-test || die |
136 | -} |