diff options
author | V3n3RiX <venerix@koprulu.sector> | 2023-11-27 22:51:10 +0000 |
---|---|---|
committer | V3n3RiX <venerix@koprulu.sector> | 2023-11-27 22:51:10 +0000 |
commit | ee0c4d5e506a6c64994a15c3af5cf1ca22045567 (patch) | |
tree | bdf578939023d42f04092ddb4bcd190eb391770f /sci-libs/rocSOLVER | |
parent | 161eaa4b12ca6314376288834bba20b7824d0d77 (diff) |
gentoo auto-resync : 27:11:2023 - 22:51:09
Diffstat (limited to 'sci-libs/rocSOLVER')
-rw-r--r-- | sci-libs/rocSOLVER/Manifest | 4 | ||||
-rw-r--r-- | sci-libs/rocSOLVER/metadata.xml | 3 | ||||
-rw-r--r-- | sci-libs/rocSOLVER/rocSOLVER-5.7.1.ebuild | 67 |
3 files changed, 73 insertions, 1 deletions
diff --git a/sci-libs/rocSOLVER/Manifest b/sci-libs/rocSOLVER/Manifest index 37b286436a72..0d0b02fa5a94 100644 --- a/sci-libs/rocSOLVER/Manifest +++ b/sci-libs/rocSOLVER/Manifest @@ -3,6 +3,8 @@ AUX rocSOLVER-5.0.2-libfmt8.patch 7493 BLAKE2B 0327f78dd94f0102a5c4aabf13cab2ec6 AUX rocSOLVER-5.4.2-libfmt9.patch 1478 BLAKE2B a5f3774483c38bb059873509d326d46a5ec4b476578a76045e44d4826c4f2401edd5b2e0c0d9c20d906ba4efaf539bf1aad42183b1eafcaf28aa60a16f76efc1 SHA512 061286d3f328958c7d5ffc8a54322c5e2cb9d08b71f51ac4e76bcc06804624ac8181bba6c328da58e5f6c4410fbe778db43633bbfcac1afe2f5c49d9d238fac7 DIST rocSOLVER-5.1.3.tar.gz 545627 BLAKE2B 2cca24a1310efba7f8c66d1614fb50704221ebc8aa50d6aba11083baf9a7427575642fd28218ce80f8a7b83d3406348c2dd18373fb32e533509d01d37cf06927 SHA512 38e7a4ed6b67e83960ad3416d1008f82f895d19dc85427cd6f9c76f00b1ce18f78a4dd73d1ab53ffe81588890cd5545315029e903e2e09b85d6cfb854d405753 DIST rocSOLVER-5.4.2.tar.gz 674866 BLAKE2B 0628353d567da92e3f7c3a11e19859329f3ea916184d554ee9c7172084ee4698c93408f397f493331d4dc47d833c56ead41bb4445081ba9ac73809ca0478770c SHA512 b3a60c65a18c3864568e1e0b1524850eb1b322f6005cf8a2763c9b457e43e03c8ce74be1d13f3cc3adef1f6ac979f54fb903831f4a60447a9a915a40dcbe5ff6 +DIST rocSOLVER-5.7.1.tar.gz 1859403 BLAKE2B f7a40494deda9dd66f2fb2f57e13665688e89e1f82733701ec60a520bc4b9f7d5899ada618a37e73baa3a910757be4f11d5fced5d4d2ad82c56918b34d265511 SHA512 78e0a2b5b069378696afebf5e3e023449b3d7705aa79099eb7721c142d7525255825b41bf413324c33178091315e3909980a1bf0cbb66e0891c85e757858ee1c EBUILD rocSOLVER-5.1.3-r1.ebuild 1938 BLAKE2B 05ea30e478142505bf8eb663a142400c7ecdfbc5b0264419de95611729db25813d94f11024ec38c65ab6b21e42a77d44dde278cc92c6b22592b5cfe83ad9f004 SHA512 74eec8c4f41149317fc78c14346281dd45dd0644f1c4928ae649a2a29303bcd4d4716a64fec3e8e71a33a6d2ac5e21b41fc854cf0c3b7bed3abfa15bb3b45a0d EBUILD rocSOLVER-5.4.2.ebuild 1536 BLAKE2B 73c1d562c0978c24a59bebcd30437fb1e10c4c4867710d22a297dbc59a4e88e2ab0539d13575759bcbd88278360918814d575231e56784437edb90917ba2d4b8 SHA512 fb580d76b3b99b82a423d3279a69ded1909b08c6bbb4c64c32c61bfb930538b8d18880338ce3b50ab3f426e8aca91331ae4a2a22d417b06398d5a45e13e7e12b -MISC metadata.xml 662 BLAKE2B 6dc116ac630fbd30c5f6c18d716bcd12bc994bfa0b2aea4eacf65e31507c24bb1eeed55942ee8e0b5bed8e361d28950d433c13136771673308dbf96906e270c9 SHA512 cc5cc6401303169dd423234615b748b38a58191b058befe0f40e8b8996fe50b3554b99a14f2f63c3596227aab43558f23c64ddce88172157366cc78d4aeefb56 +EBUILD rocSOLVER-5.7.1.ebuild 1535 BLAKE2B 48c8e6c01eab27ddd02b2f40ba4ca3eff33fe4775a8837e0038cb49e163e87d93d0f124ce6755a8c3a100ca049a464c689d73519f50b5ba03d94e16f2e326680 SHA512 af9470845784b9f810157c778e8ca2129b362d6e483e15fb323d2363a2bbc5780371ddb1cb55eb716c239e6056e55679123c99f87200c32b89b9b31ff26c2d44 +MISC metadata.xml 761 BLAKE2B 6247276c89fddaf929633dca9a73a6e1a07e0d1fdca8f58d55145e29822917a7fc1a0309632ed9dfe42d57b327bda743be1445f96a86cb557edc7a90f76356cb SHA512 f4eadda6ec691cb0b17969249b4dc18b0fa4f020e929a8ab982e490b1358b569d028f9d054982987d225e88cf3a97914c0557f02381f0272d008dddaed678d36 diff --git a/sci-libs/rocSOLVER/metadata.xml b/sci-libs/rocSOLVER/metadata.xml index 344dd1337031..da8fc11173b1 100644 --- a/sci-libs/rocSOLVER/metadata.xml +++ b/sci-libs/rocSOLVER/metadata.xml @@ -12,6 +12,9 @@ <email>xgreenlandforwyy@gmail.com</email> <name>Yiyang Wu</name> </maintainer> + <upstream> + <remote-id type="github">ROCmSoftwarePlatform/rocSOLVER</remote-id> + </upstream> <use> <flag name="test">Perform rocsolver-test to compare the result between rocSOLVER and system LAPACK.</flag> <flag name="benchmark">Build and install rocsolver-bench.</flag> diff --git a/sci-libs/rocSOLVER/rocSOLVER-5.7.1.ebuild b/sci-libs/rocSOLVER/rocSOLVER-5.7.1.ebuild new file mode 100644 index 000000000000..a5e339aa71ab --- /dev/null +++ b/sci-libs/rocSOLVER/rocSOLVER-5.7.1.ebuild @@ -0,0 +1,67 @@ +# Copyright 1999-2023 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=8 + +ROCM_VERSION=${PV} + +inherit cmake edo rocm + +DESCRIPTION="Implementation of a subset of LAPACK functionality on the ROCm platform" +HOMEPAGE="https://github.com/ROCmSoftwarePlatform/rocSOLVER" +SRC_URI="https://github.com/ROCmSoftwarePlatform/rocSOLVER/archive/rocm-${PV}.tar.gz -> rocSOLVER-${PV}.tar.gz" + +LICENSE="BSD" +KEYWORDS="~amd64" +SLOT="0/$(ver_cut 1-2)" + +IUSE="test benchmark" +REQUIRED_USE="${ROCM_REQUIRED_USE}" + +RDEPEND="dev-util/hip + sci-libs/rocBLAS:${SLOT}[${ROCM_USEDEP}] + sci-libs/rocSPARSE:${SLOT}[${ROCM_USEDEP}] + dev-libs/libfmt + benchmark? ( virtual/blas )" +DEPEND="${RDEPEND}" +BDEPEND="test? ( dev-cpp/gtest + >=dev-util/cmake-3.22 + virtual/blas )" + +RESTRICT="!test? ( test )" + +S=${WORKDIR}/${PN}-rocm-${PV} + +src_configure() { + # avoid sandbox violation + addpredict /dev/kfd + addpredict /dev/dri/ + + local mycmakeargs=( + -DCMAKE_SKIP_RPATH=On + -DAMDGPU_TARGETS="$(get_amdgpu_flags)" + -Wno-dev + -DBUILD_FILE_REORG_BACKWARD_COMPATIBILITY=OFF + -DROCM_SYMLINK_LIBS=OFF + -DBUILD_CLIENTS_SAMPLES=NO + -DBUILD_CLIENTS_TESTS=$(usex test ON OFF) + -DBUILD_CLIENTS_BENCHMARKS=$(usex benchmark ON OFF) + ) + + CXX=hipcc cmake_src_configure +} + +src_test() { + check_amdgpu + cd "${BUILD_DIR}"/clients/staging || die + LD_LIBRARY_PATH="${BUILD_DIR}/library/src" edob ./rocsolver-test +} + +src_install() { + cmake_src_install + + if use benchmark; then + cd "${BUILD_DIR}" || die + dobin clients/staging/rocsolver-bench + fi +} |