public inbox for gentoo-commits@lists.gentoo.org
 help / color / mirror / Atom feed
* [gentoo-commits] repo/gentoo:master commit in: sci-libs/miopen/
@ 2022-09-04 13:03 David Seifert
  0 siblings, 0 replies; 5+ messages in thread
From: David Seifert @ 2022-09-04 13:03 UTC (permalink / raw
  To: gentoo-commits

commit:     0c5463af1530f627eea3aec6c3340205a59a9214
Author:     David Seifert <soap <AT> gentoo <DOT> org>
AuthorDate: Sun Sep  4 13:03:30 2022 +0000
Commit:     David Seifert <soap <AT> gentoo <DOT> org>
CommitDate: Sun Sep  4 13:03:30 2022 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=0c5463af

sci-libs/miopen: remove stale boost lower bounds

Signed-off-by: David Seifert <soap <AT> gentoo.org>

 sci-libs/miopen/miopen-4.3.0.ebuild | 4 ++--
 sci-libs/miopen/miopen-5.0.2.ebuild | 2 +-
 2 files changed, 3 insertions(+), 3 deletions(-)

diff --git a/sci-libs/miopen/miopen-4.3.0.ebuild b/sci-libs/miopen/miopen-4.3.0.ebuild
index 3e754480664e..41e9131d7714 100644
--- a/sci-libs/miopen/miopen-4.3.0.ebuild
+++ b/sci-libs/miopen/miopen-4.3.0.ebuild
@@ -1,4 +1,4 @@
-# Copyright 1999-2021 Gentoo Authors
+# Copyright 1999-2022 Gentoo Authors
 # Distributed under the terms of the GNU General Public License v2
 
 EAPI=7
@@ -22,7 +22,7 @@ RDEPEND="
 	dev-libs/ocl-icd
 	dev-util/rocm-clang-ocl:${SLOT}
 	sci-libs/rocBLAS:${SLOT}
-	>=dev-libs/boost-1.72
+	dev-libs/boost
 "
 
 DEPEND="${RDEPEND}"

diff --git a/sci-libs/miopen/miopen-5.0.2.ebuild b/sci-libs/miopen/miopen-5.0.2.ebuild
index 1a75457baec2..10be8feadaf5 100644
--- a/sci-libs/miopen/miopen-5.0.2.ebuild
+++ b/sci-libs/miopen/miopen-5.0.2.ebuild
@@ -22,7 +22,7 @@ RDEPEND="
 	dev-libs/ocl-icd
 	dev-util/rocm-clang-ocl:${SLOT}
 	sci-libs/rocBLAS:${SLOT}
-	>=dev-libs/boost-1.72
+	dev-libs/boost
 "
 
 DEPEND="${RDEPEND}"


^ permalink raw reply related	[flat|nested] 5+ messages in thread

* [gentoo-commits] repo/gentoo:master commit in: sci-libs/miopen/
@ 2022-11-19 11:50 Benda XU
  0 siblings, 0 replies; 5+ messages in thread
From: Benda XU @ 2022-11-19 11:50 UTC (permalink / raw
  To: gentoo-commits

commit:     dde8aeacc59377460042af95cf9891a13b7d2573
Author:     Jack de Kleuver <jackdekleuver <AT> gmail <DOT> com>
AuthorDate: Sat Nov  5 07:16:59 2022 +0000
Commit:     Benda XU <heroxbd <AT> gentoo <DOT> org>
CommitDate: Sat Nov 19 11:50:53 2022 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=dde8aeac

sci-libs/miopen:  Bump LLVM version to 15

Closes: https://github.com/gentoo/gentoo/pull/28144
Signed-off-by: Jack de Kleuver <jackdekleuver <AT> gmail.com>
Signed-off-by: Yiyang Wu <xgreenlandforwyy <AT> gmail.com>
Signed-off-by: Benda Xu <heroxbd <AT> gentoo.org>

 sci-libs/miopen/{miopen-5.1.3.ebuild => miopen-5.1.3-r1.ebuild} | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/sci-libs/miopen/miopen-5.1.3.ebuild b/sci-libs/miopen/miopen-5.1.3-r1.ebuild
similarity index 99%
rename from sci-libs/miopen/miopen-5.1.3.ebuild
rename to sci-libs/miopen/miopen-5.1.3-r1.ebuild
index a7d8b5083f60..15c5e1feaea3 100644
--- a/sci-libs/miopen/miopen-5.1.3.ebuild
+++ b/sci-libs/miopen/miopen-5.1.3-r1.ebuild
@@ -7,7 +7,7 @@ ROCM_VERSION=${PV}
 
 inherit cmake flag-o-matic llvm rocm
 
-LLVM_MAX_SLOT=14
+LLVM_MAX_SLOT=15
 
 DESCRIPTION="AMD's Machine Intelligence Library"
 HOMEPAGE="https://github.com/ROCmSoftwarePlatform/MIOpen"


^ permalink raw reply related	[flat|nested] 5+ messages in thread

* [gentoo-commits] repo/gentoo:master commit in: sci-libs/miopen/
@ 2024-09-09 18:20 Sam James
  0 siblings, 0 replies; 5+ messages in thread
From: Sam James @ 2024-09-09 18:20 UTC (permalink / raw
  To: gentoo-commits

commit:     536c5edf1c72611e018e0efbb913097d66db6206
Author:     Sv. Lockal <lockalsash <AT> gmail <DOT> com>
AuthorDate: Sat Jul 20 17:28:48 2024 +0000
Commit:     Sam James <sam <AT> gentoo <DOT> org>
CommitDate: Mon Sep  9 18:15:16 2024 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=536c5edf

sci-libs/miopen: strip unsupported flags for potentially switched compiler

Bug: https://bugs.gentoo.org/936099
Signed-off-by: Sv. Lockal <lockalsash <AT> gmail.com>
Signed-off-by: Sam James <sam <AT> gentoo.org>

 sci-libs/miopen/miopen-6.1.1.ebuild | 4 +++-
 1 file changed, 3 insertions(+), 1 deletion(-)

diff --git a/sci-libs/miopen/miopen-6.1.1.ebuild b/sci-libs/miopen/miopen-6.1.1.ebuild
index 7cf62bdcb790..f272f435ece8 100644
--- a/sci-libs/miopen/miopen-6.1.1.ebuild
+++ b/sci-libs/miopen/miopen-6.1.1.ebuild
@@ -58,6 +58,8 @@ src_prepare() {
 }
 
 src_configure() {
+	rocm_use_hipcc
+
 	if ! use debug; then
 		append-cflags "-DNDEBUG"
 		append-cxxflags "-DNDEBUG"
@@ -91,7 +93,7 @@ src_configure() {
 		check_amdgpu
 	fi
 
-	CXX=hipcc cmake_src_configure
+	cmake_src_configure
 }
 
 src_test() {


^ permalink raw reply related	[flat|nested] 5+ messages in thread

* [gentoo-commits] repo/gentoo:master commit in: sci-libs/miopen/
@ 2025-02-08 10:07 Patrick Lauer
  0 siblings, 0 replies; 5+ messages in thread
From: Patrick Lauer @ 2025-02-08 10:07 UTC (permalink / raw
  To: gentoo-commits

commit:     d2671854dc793847b7c2f525732769be801467f4
Author:     Patrick Lauer <patrick <AT> gentoo <DOT> org>
AuthorDate: Sat Feb  8 10:00:42 2025 +0000
Commit:     Patrick Lauer <patrick <AT> gentoo <DOT> org>
CommitDate: Sat Feb  8 10:07:10 2025 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=d2671854

sci-libs/miopen: add 6.3.2

Signed-off-by: Patrick Lauer <patrick <AT> gentoo.org>

 sci-libs/miopen/Manifest            |   1 +
 sci-libs/miopen/miopen-6.3.2.ebuild | 134 ++++++++++++++++++++++++++++++++++++
 2 files changed, 135 insertions(+)

diff --git a/sci-libs/miopen/Manifest b/sci-libs/miopen/Manifest
index 5fc8fe370379..9dea432f1133 100644
--- a/sci-libs/miopen/Manifest
+++ b/sci-libs/miopen/Manifest
@@ -2,4 +2,5 @@ DIST MIOpen-5.1.3.tar.gz 88118329 BLAKE2B d24722ffc5f5dab6d6a1de2ce34193ad2f25c9
 DIST MIOpen-5.7.1.tar.gz 100751593 BLAKE2B c5f847fe4374ab22737c281a65401125012328412d584fc09244b431ea6265d6d5028429115ee15fa8b04cbe0edd020e4e7ac8deb22561183ed76cb8c3d4d9d4 SHA512 3354b3b154f29a6337403abc5a71ec47c0b2558320c5a1b0cbfbbdb370c4fada2db12d4a19a312b5e30ca2e2302ee50ece3390603e84d132b2212a168e9523fa
 DIST MIOpen-6.1.1.tar.gz 101935496 BLAKE2B 5aadaa5eefa1b22dedfe87deb36f8acdbe57962cac8b7b6b20bc76f136ef29f0441e48112010280c2e674a1ae9fd202ca3e07be47cf4a4bc797234d6dc618be5 SHA512 b8860583919bf2f3e0da7ace30fdb0595ab45b85a367be3737e0b15a22a5565b8d6660c652ee070f21c36ac7d17ef3ba8e2eda7ed89bd6a0c65a4df799626d1a
 DIST MIOpen-6.3.0.tar.gz 104152308 BLAKE2B 46c238314393599a1bd4d3c49b0c95386b36cbee1831bf442ab127082b4c740116e81cf643c773627125b59c3974a2344753939b4287aa4adbbc51e4c4833988 SHA512 14ca2967ed6545ad68c362128be93b8e6a9d4aa69e16e989b187463d15351eca2fc437d07e88c41f693138131a7449add607333c698e24efaf0207077e15ae55
+DIST MIOpen-6.3.2.tar.gz 104156821 BLAKE2B e7611ea2d37d3c72cde2e6be153271dacd7150083ec63ec2357e1c808dc9e79c1928f06fd4e70712989c5ab13a604a91d3fba1819723da12b49f6a447a561f3c SHA512 bf219459244c8f0962c54a8e94273aeeafe4b9b093c72ac962fa9d373526c9dc406c46d0464ec6b20d52b1e6c01e2cf2544267b573a0e774c7afd4ba9adc9fb9
 DIST gtest-1.11.0_p20210611.tar.gz 887296 BLAKE2B 8f29b7028a6dd8190a113cd93398705b23b61d88bee38beaf9dcc0dfc8a463aed7fcd3719f6f1b131d4363aa57231629aaeffa108f6558efb58416cfface6d6e SHA512 cf9e7f3fd3e31ce6677eac355fb8bfe19c5b56a8ec3af8b9417d0904cdf5da92f99f7411a08131cc9fa4fc7d38e6a71fcfac993648e47b269a74a27de7607f7a

diff --git a/sci-libs/miopen/miopen-6.3.2.ebuild b/sci-libs/miopen/miopen-6.3.2.ebuild
new file mode 100644
index 000000000000..c8ade5eed8c2
--- /dev/null
+++ b/sci-libs/miopen/miopen-6.3.2.ebuild
@@ -0,0 +1,134 @@
+# Copyright 1999-2025 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=8
+
+ROCM_VERSION=${PV}
+LLVM_COMPAT=( 19 )
+
+inherit cmake flag-o-matic llvm-r1 rocm
+
+DESCRIPTION="AMD's Machine Intelligence Library"
+HOMEPAGE="https://github.com/ROCm/MIOpen"
+SRC_URI="https://github.com/ROCm/MIOpen/archive/rocm-${PV}.tar.gz -> MIOpen-${PV}.tar.gz"
+S="${WORKDIR}/MIOpen-rocm-${PV}"
+
+LICENSE="MIT"
+SLOT="0/$(ver_cut 1-2)"
+KEYWORDS="~amd64"
+
+IUSE="composable-kernel debug hipblaslt rocblas roctracer test"
+
+# tests can freeze machine depending on gpu/kernel
+RESTRICT="test"
+
+RDEPEND="
+	dev-util/hip:${SLOT}
+	>=dev-db/sqlite-3.17
+	sci-libs/rocRAND:${SLOT}[${ROCM_USEDEP}]
+	>=dev-libs/boost-1.72
+	dev-cpp/nlohmann_json
+	dev-cpp/frugally-deep
+
+	composable-kernel? ( sci-libs/composable-kernel:${SLOT}[${ROCM_USEDEP}] )
+	hipblaslt? (
+		sci-libs/hipBLAS:${SLOT}[${ROCM_USEDEP}]
+		sci-libs/hipBLASLt:${SLOT}
+	)
+	rocblas? ( sci-libs/rocBLAS:${SLOT}[${ROCM_USEDEP}] )
+	roctracer? ( dev-util/roctracer:${SLOT}[${ROCM_USEDEP}] )
+"
+
+DEPEND="${RDEPEND}"
+
+BDEPEND="
+	>=dev-libs/half-1.12.0-r1
+	dev-build/rocm-cmake
+	test? ( dev-cpp/gtest )
+"
+
+PATCHES=(
+	"${FILESDIR}"/${PN}-6.1.1-build-all-tests.patch
+	"${FILESDIR}"/${PN}-6.1.1-fix-libcxx.patch
+	"${FILESDIR}"/${PN}-6.3.0-conditional-ck-components.patch
+	"${FILESDIR}"/${PN}-6.3.0-isnan-include.patch
+)
+
+src_prepare() {
+	cmake_src_prepare
+
+	# complementary replacements for conditional-ck-components patch
+	find src -name '*mha*.cpp' -type f | while IFS= read -r file; do
+		sed -i "s/MIOPEN_USE_COMPOSABLEKERNEL/MIOPEN_USE_CK_MHA_OPS/g" "$file" || die
+	done
+
+	sed -i "s/MIOPEN_USE_COMPOSABLEKERNEL/MIOPEN_USE_CK_XDL_OPS/g" \
+		src/mlo_dir_conv.cpp \
+		src/solver/conv_ck_igemm_fwd_bias_res_add_activ_fused.cpp \
+		src/solver/conv_ck_igemm_fwd_bias_activ_fused.cpp || die
+	find src -name '*xdl*.cpp' -type f | while IFS= read -r file; do
+		sed -i "s/MIOPEN_USE_COMPOSABLEKERNEL/MIOPEN_USE_CK_XDL_OPS/g" "$file" || die
+	done
+
+	sed -e '/MIOPEN_TIDY_ERRORS ALL/d' \
+		-e 's/FLAGS_RELEASE} -s/FLAGS_RELEASE}/g' \
+		-i CMakeLists.txt || die
+
+	sed -e "/add_test/s:--build \${CMAKE_CURRENT_BINARY_DIR}:--build ${BUILD_DIR}:" \
+		-i test/CMakeLists.txt || die
+
+	sed -e "s:\${PROJECT_BINARY_DIR}/miopen/include:\${PROJECT_BINARY_DIR}/include:" \
+		-i src/CMakeLists.txt || die
+}
+
+src_configure() {
+	rocm_use_hipcc
+
+	if ! use debug; then
+		append-cflags "-DNDEBUG"
+		append-cxxflags "-DNDEBUG"
+		CMAKE_BUILD_TYPE="Release"
+	else
+		CMAKE_BUILD_TYPE="Debug"
+	fi
+
+	local mycmakeargs=(
+		-DCMAKE_SKIP_RPATH=ON
+		-DAMDGPU_TARGETS="$(get_amdgpu_flags)"
+		-DCMAKE_INSTALL_PREFIX="${EPREFIX}/usr"
+		-DMIOPEN_BACKEND=HIP
+		-DBoost_USE_STATIC_LIBS=OFF
+		-DMIOPEN_USE_MLIR=OFF
+		-DMIOPEN_USE_ROCTRACER=$(usex roctracer ON OFF)
+		-DMIOPEN_USE_ROCBLAS=$(usex rocblas ON OFF)
+		-DMIOPEN_USE_HIPBLASLT=$(usex hipblaslt ON OFF)
+		-DMIOPEN_USE_COMPOSABLEKERNEL=$(usex composable-kernel ON OFF)
+		-DBUILD_TESTING=$(usex test ON OFF)
+		-DBUILD_FILE_REORG_BACKWARD_COMPATIBILITY=OFF
+		-DROCM_SYMLINK_LIBS=OFF
+		-DMIOPEN_HIP_COMPILER="${ESYSROOT}/usr/bin/hipcc"
+		-DMIOPEN_AMDGCN_ASSEMBLER="$(get_llvm_prefix)/bin/clang"
+		-DHIP_OC_COMPILER="$(get_llvm_prefix)/bin/clang"
+	)
+
+	if use test; then
+		mycmakeargs+=(
+			-DMIOPEN_TEST_ALL=ON
+			-DMIOPEN_TEST_GDB=OFF
+		)
+		# needed by rocminfo
+		addpredict /dev/random
+		check_amdgpu
+	fi
+
+	cmake_src_configure
+}
+
+src_test() {
+	check_amdgpu
+	LD_LIBRARY_PATH="${BUILD_DIR}"/lib MIOPEN_SYSTEM_DB_PATH="${BUILD_DIR}"/share/miopen/db/ cmake_src_test -j1
+}
+
+src_install() {
+	cmake_src_install
+}


^ permalink raw reply related	[flat|nested] 5+ messages in thread

* [gentoo-commits] repo/gentoo:master commit in: sci-libs/miopen/
@ 2025-03-04 10:55 Patrick Lauer
  0 siblings, 0 replies; 5+ messages in thread
From: Patrick Lauer @ 2025-03-04 10:55 UTC (permalink / raw
  To: gentoo-commits

commit:     8ec3b83d885d50694e16b981978409dc8f5c681d
Author:     Patrick Lauer <patrick <AT> gentoo <DOT> org>
AuthorDate: Tue Mar  4 10:44:38 2025 +0000
Commit:     Patrick Lauer <patrick <AT> gentoo <DOT> org>
CommitDate: Tue Mar  4 10:55:52 2025 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=8ec3b83d

sci-libs/miopen: add 6.3.3, drop 6.3.0

Signed-off-by: Patrick Lauer <patrick <AT> gentoo.org>

 sci-libs/miopen/Manifest                                     | 2 +-
 sci-libs/miopen/{miopen-6.3.0.ebuild => miopen-6.3.3.ebuild} | 2 +-
 2 files changed, 2 insertions(+), 2 deletions(-)

diff --git a/sci-libs/miopen/Manifest b/sci-libs/miopen/Manifest
index 98fe8093b07f..94c9d574f51b 100644
--- a/sci-libs/miopen/Manifest
+++ b/sci-libs/miopen/Manifest
@@ -1,5 +1,5 @@
 DIST MIOpen-5.7.1.tar.gz 100751593 BLAKE2B c5f847fe4374ab22737c281a65401125012328412d584fc09244b431ea6265d6d5028429115ee15fa8b04cbe0edd020e4e7ac8deb22561183ed76cb8c3d4d9d4 SHA512 3354b3b154f29a6337403abc5a71ec47c0b2558320c5a1b0cbfbbdb370c4fada2db12d4a19a312b5e30ca2e2302ee50ece3390603e84d132b2212a168e9523fa
 DIST MIOpen-6.1.1.tar.gz 101935496 BLAKE2B 5aadaa5eefa1b22dedfe87deb36f8acdbe57962cac8b7b6b20bc76f136ef29f0441e48112010280c2e674a1ae9fd202ca3e07be47cf4a4bc797234d6dc618be5 SHA512 b8860583919bf2f3e0da7ace30fdb0595ab45b85a367be3737e0b15a22a5565b8d6660c652ee070f21c36ac7d17ef3ba8e2eda7ed89bd6a0c65a4df799626d1a
-DIST MIOpen-6.3.0.tar.gz 104152308 BLAKE2B 46c238314393599a1bd4d3c49b0c95386b36cbee1831bf442ab127082b4c740116e81cf643c773627125b59c3974a2344753939b4287aa4adbbc51e4c4833988 SHA512 14ca2967ed6545ad68c362128be93b8e6a9d4aa69e16e989b187463d15351eca2fc437d07e88c41f693138131a7449add607333c698e24efaf0207077e15ae55
 DIST MIOpen-6.3.2.tar.gz 104156821 BLAKE2B e7611ea2d37d3c72cde2e6be153271dacd7150083ec63ec2357e1c808dc9e79c1928f06fd4e70712989c5ab13a604a91d3fba1819723da12b49f6a447a561f3c SHA512 bf219459244c8f0962c54a8e94273aeeafe4b9b093c72ac962fa9d373526c9dc406c46d0464ec6b20d52b1e6c01e2cf2544267b573a0e774c7afd4ba9adc9fb9
+DIST MIOpen-6.3.3.tar.gz 104157223 BLAKE2B 10b793594ed47397dd695ada4da1ba93935c78512c27291449df20fc7760aad2b224eaa50d3526453e7b4451828769937c66069a11f6f6fb6a636a16c6f90957 SHA512 9749d04d9a6b92ba19b3534966feb4ed21eaca3fd4a20aaec050bcf725091a8706044136f836ed20e08e7ec3b4074e1f99a08b51b4cbe449aedb7f86eb5cc87f
 DIST gtest-1.11.0_p20210611.tar.gz 887296 BLAKE2B 8f29b7028a6dd8190a113cd93398705b23b61d88bee38beaf9dcc0dfc8a463aed7fcd3719f6f1b131d4363aa57231629aaeffa108f6558efb58416cfface6d6e SHA512 cf9e7f3fd3e31ce6677eac355fb8bfe19c5b56a8ec3af8b9417d0904cdf5da92f99f7411a08131cc9fa4fc7d38e6a71fcfac993648e47b269a74a27de7607f7a

diff --git a/sci-libs/miopen/miopen-6.3.0.ebuild b/sci-libs/miopen/miopen-6.3.3.ebuild
similarity index 98%
rename from sci-libs/miopen/miopen-6.3.0.ebuild
rename to sci-libs/miopen/miopen-6.3.3.ebuild
index 45b1214c37cd..c8ade5eed8c2 100644
--- a/sci-libs/miopen/miopen-6.3.0.ebuild
+++ b/sci-libs/miopen/miopen-6.3.3.ebuild
@@ -1,4 +1,4 @@
-# Copyright 1999-2024 Gentoo Authors
+# Copyright 1999-2025 Gentoo Authors
 # Distributed under the terms of the GNU General Public License v2
 
 EAPI=8


^ permalink raw reply related	[flat|nested] 5+ messages in thread

end of thread, other threads:[~2025-03-04 10:56 UTC | newest]

Thread overview: 5+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2025-03-04 10:55 [gentoo-commits] repo/gentoo:master commit in: sci-libs/miopen/ Patrick Lauer
  -- strict thread matches above, loose matches on Subject: below --
2025-02-08 10:07 Patrick Lauer
2024-09-09 18:20 Sam James
2022-11-19 11:50 Benda XU
2022-09-04 13:03 David Seifert

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox