Skip to content

Commit

Permalink
ROCm packages and dependents: add 6.0.2 release (spack#42544)
Browse files Browse the repository at this point in the history
* Bump up the version for rocm-6.0.2 release
* extend the patches that were created for apps for rocm-6.0.0 and rocm-6.0.2 releases
  (but apply hipfft patch for only 6.0.0)
  • Loading branch information
srekolam authored Feb 13, 2024
1 parent 8ee3073 commit 91b0528
Show file tree
Hide file tree
Showing 54 changed files with 187 additions and 87 deletions.
5 changes: 3 additions & 2 deletions var/spack/repos/builtin/packages/amdsmi/package.py
Original file line number Diff line number Diff line change
Expand Up @@ -13,14 +13,15 @@ class Amdsmi(CMakePackage):
applications to monitor and control AMD device."""

homepage = "https://github.com/ROCm/amdsmi"
url = "https://github.com/ROCm/amdsmi/archive/refs/tags/rocm-5.6.0.tar.gz"
url = "https://github.com/ROCm/amdsmi/archive/refs/tags/rocm-6.0.2.tar.gz"

tags = ["rocm"]
maintainers("srekolam", "renjithravindrankannath")
libraries = ["libamd_smi"]

license("MIT")

version("6.0.2", sha256="aeadf07750def0325a0eaa29e767530b2ec94f3d45dc3b7452fd7a2493769428")
version("6.0.0", sha256="2626e3af9d60dec245c61af255525a0c0841a73fb7ec2836477c0ce5793de39c")
version("5.7.0", sha256="144391d537710dafa9ef69571dd76203e56db6142ab61a1375346b5733137e23")
version("5.6.0", sha256="595c9d6d79d9071290b2f19ab4ef9222c8d2983b4322b3143fcd9d0b1ce0f6d8")
version("5.5.1", sha256="b794c7fd562fd92f2c9f2bbdc2d5dded7486101fcd4598f2e8c3484c9a939281")
Expand Down
4 changes: 1 addition & 3 deletions var/spack/repos/builtin/packages/blaspp/package.py
Original file line number Diff line number Diff line change
Expand Up @@ -79,9 +79,7 @@ class Blaspp(CMakePackage, CudaPackage, ROCmPackage):

requires("%oneapi", when="+sycl", msg="blaspp+sycl must be compiled with %oneapi")

patch(
"0001-fix-blaspp-build-error-with-rocm-6.0.0.patch", when="@2023.06.00: ^hip@6.0.0 +rocm"
)
patch("0001-fix-blaspp-build-error-with-rocm-6.0.0.patch", when="@2023.06.00: ^hip@6.0 +rocm")

def cmake_args(self):
spec = self.spec
Expand Down
2 changes: 2 additions & 0 deletions var/spack/repos/builtin/packages/comgr/package.py
Original file line number Diff line number Diff line change
Expand Up @@ -23,6 +23,7 @@ class Comgr(CMakePackage):
license("NCSA")

version("master", branch="amd-stg-open")
version("6.0.2", sha256="737b110d9402509db200ee413fb139a78369cf517453395b96bda52d0aa362b9")
version("6.0.0", sha256="04353d27a512642a5e5339532a39d0aabe44e0964985de37b150a2550385800a")
version("5.7.1", sha256="3b9433b4a0527167c3e9dfc37a3c54e0550744b8d4a8e1be298c8d4bcedfee7c")
version("5.7.0", sha256="e234bcb93d602377cfaaacb59aeac5796edcd842a618162867b7e670c3a2c42c")
Expand Down Expand Up @@ -154,6 +155,7 @@ class Comgr(CMakePackage):
"5.7.0",
"5.7.1",
"6.0.0",
"6.0.2",
"master",
]:
# llvm libs are linked statically, so this *could* be a build dep
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -13,12 +13,13 @@ class ComposableKernel(CMakePackage):

homepage = "https://github.com/ROCm/composable_kernel"
git = "https://github.com/ROCm/composable_kernel.git"
url = "https://github.com/ROCm/composable_kernel/archive/refs/tags/rocm-5.7.1.tar.gz"
url = "https://github.com/ROCm/composable_kernel/archive/refs/tags/rocm-6.0.2.tar.gz"
maintainers("srekolam", "afzpatel")

license("MIT")

version("master", branch="develop")
version("6.0.2", sha256="f648a99388045948b7d5fbf8eb8da6a1803c79008b54d406830b7f9119e1dcf6")
version("6.0.0", sha256="a8f736f2f2a8afa4cddd06301205be27774d85f545429049b4a2bbbe6fcd67df")
version("5.7.1", sha256="75f66e023c2e31948e91fa26366eaeac72d871fc2e5188361d4465179f13876e")
version("5.7.0", sha256="d9624dbaef04e0138f9f73596c49b4fe9ded69974bae7236354baa32649bf21a")
Expand Down Expand Up @@ -49,6 +50,7 @@ class ComposableKernel(CMakePackage):

for ver in [
"master",
"6.0.2",
"6.0.0",
"5.7.1",
"5.7.0",
Expand Down
5 changes: 3 additions & 2 deletions var/spack/repos/builtin/packages/hip-tensor/package.py
Original file line number Diff line number Diff line change
Expand Up @@ -11,17 +11,18 @@ class HipTensor(CMakePackage, ROCmPackage):

homepage = "https://github.com/ROCm/hipTensor"
git = "https://github.com/ROCm/hipTensor.git"
url = "https://github.com/ROCm/hipTensor/archive/refs/tags/rocm-5.7.0.tar.gz"
url = "https://github.com/ROCm/hipTensor/archive/refs/tags/rocm-6.0.2.tar.gz"
tags = ["rocm"]

maintainers("srekolam", "afzpatel")

version("master", branch="master")
version("6.0.2", sha256="6e6e7530eabbd1fb28b83efa5a49c19a6642d40e1554224ebb1e0a5999045e27")
version("6.0.0", sha256="268d7f114784b7e824f89c21c65c2efedbb5486f09a356a56dca1b89bde1ef7a")
version("5.7.1", sha256="96743d4e695fe865aef4097ae31d9b4e42a2d5a92135a005b0d187d9c0b17645")
version("5.7.0", sha256="4b17f6d43b17fe2dc1d0c61e9663d4752006f7898cc94231206444a1663eb252")

for ver in ["5.7.0", "5.7.1", "6.0.0", "master"]:
for ver in ["5.7.0", "5.7.1", "6.0.0", "6.0.2", "master"]:
depends_on(f"composable-kernel@{ver}", when=f"@{ver}")
depends_on(f"rocm-cmake@{ver}", when=f"@{ver}")

Expand Down
10 changes: 8 additions & 2 deletions var/spack/repos/builtin/packages/hip/package.py
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,7 @@ class Hip(CMakePackage):

homepage = "https://github.com/ROCm/HIP"
git = "https://github.com/ROCm/HIP.git"
url = "https://github.com/ROCm/HIP/archive/rocm-6.0.0.tar.gz"
url = "https://github.com/ROCm/HIP/archive/rocm-6.0.2.tar.gz"
tags = ["rocm"]

maintainers("srekolam", "renjithravindrankannath", "haampie")
Expand All @@ -27,6 +27,7 @@ class Hip(CMakePackage):
license("MIT")

version("master", branch="master")
version("6.0.2", sha256="b47178db94f2acc106e1a88ceb029844805266ebaba11ef63744e90d224b11be")
version("6.0.0", sha256="0d575788e0b731124a8489a36652014a165b9ebab92d5456ec3c976e062f3a82")
version("5.7.1", sha256="eaa0e14a9ae45c58ed37863797b683a7778b3cbbf92f5b6529ec65fd61d61f3e")
version("5.7.0", sha256="cb61234eec7879fb7e20937659ad535b93a6e66fc8de0a543da8b7702474f2fc")
Expand Down Expand Up @@ -174,6 +175,7 @@ class Hip(CMakePackage):
"5.7.0",
"5.7.1",
"6.0.0",
"6.0.2",
]:
depends_on("hsakmt-roct@" + ver, when="@" + ver)
depends_on("hsa-rocr-dev@" + ver, when="@" + ver)
Expand All @@ -192,9 +194,10 @@ class Hip(CMakePackage):
"5.7.0",
"5.7.1",
"6.0.0",
"6.0.2",
]:
depends_on("hipify-clang", when="@" + ver)
for ver in ["5.5.0", "5.5.1", "5.6.0", "5.6.1", "5.7.0", "5.7.1", "6.0.0"]:
for ver in ["5.5.0", "5.5.1", "5.6.0", "5.6.1", "5.7.0", "5.7.1", "6.0.0", "6.0.2"]:
depends_on("rocm-core@" + ver, when="@" + ver)
# hipcc likes to add `-lnuma` by default :(
# ref https://github.com/ROCm/HIP/pull/2202
Expand Down Expand Up @@ -288,6 +291,7 @@ class Hip(CMakePackage):
)
# Add hip-clr sources thru the below
for d_version, d_shasum in [
("6.0.2", "cb8ac610c8d4041b74fb3129c084f1e7b817ce1a5a9943feca1fa7531dc7bdcc"),
("6.0.0", "798b55b5b5fb90dd19db54f136d8d8e1da9ae1e408d5b12b896101d635f97e50"),
("5.7.1", "c78490335233a11b4d8a5426ace7417c555f5e2325de10422df06c0f0f00f7eb"),
("5.7.0", "bc2447cb6fd86dff6a333b04e77ce85755104d9011a14a044af53caf02449573"),
Expand All @@ -306,6 +310,7 @@ class Hip(CMakePackage):

# Add hipcc sources thru the below
for d_version, d_shasum in [
("6.0.2", "d6209b14fccdd00d7231dec4b4f962aa23914b9dde389ba961370e8ba918bde5"),
("6.0.0", "e9cfaaecaf0e6ed363946439197f340c115e8e1189f96dbd716cf20245c29255"),
("5.7.1", "d47d27ef2b5de7f49cdfd8547832ac9b437a32e6fc6f0e9c1646f4b704c90aee"),
("5.7.0", "9f839bf7226e5e26f3150f8ba6eca507ab9a668e68b207736301b3bb9040c973"),
Expand All @@ -325,6 +330,7 @@ class Hip(CMakePackage):
)
# Add hiptests sources thru the below
for d_version, d_shasum in [
("6.0.2", "740ca064f4909c20d83226a63c2f164f7555783ec5f5f70be5bc23d3587ad829"),
("6.0.0", "e8f92a0f5d1f6093ca1fb24ff1b7140128900fcdc6e9f01f153d6907e5c2d807"),
("5.7.1", "28fbdf49f405adfee903bc0f05a43ac392c55b34c514c3582dfb7d6d67e79985"),
("5.7.0", "b1dae3cfc715e71dce92ac1da94265a9398944c76cee85ffab8f0c93665a48d6"),
Expand Down
6 changes: 4 additions & 2 deletions var/spack/repos/builtin/packages/hipblas/package.py
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@ class Hipblas(CMakePackage, CudaPackage, ROCmPackage):

homepage = "https://github.com/ROCm/hipBLAS"
git = "https://github.com/ROCm/hipBLAS.git"
url = "https://github.com/ROCm/hipBLAS/archive/rocm-6.0.0.tar.gz"
url = "https://github.com/ROCm/hipBLAS/archive/rocm-6.0.2.tar.gz"
tags = ["rocm"]

maintainers("cgmb", "srekolam", "renjithravindrankannath", "haampie")
Expand All @@ -24,6 +24,7 @@ class Hipblas(CMakePackage, CudaPackage, ROCmPackage):

version("develop", branch="develop")
version("master", branch="master")
version("6.0.2", sha256="10c1b6c1deb0f225c0fb6b2bb88398a32cd0d32d3ffce9b5c8df9db2cf88d25c")
version("6.0.0", sha256="8fbd0c244fe82eded866e06d2399b1d91ab5d43d2ebcb73382c7ce1ae48d9cb3")
version("5.7.1", sha256="794e9298f48ffbe3bd1c1ab87a5c2c2b953713500155fdec9ef8cbb11f81fc8a")
version("5.7.0", sha256="8c6cd2ffa4ce6ab03e05feffe074685b5525610870aebe9d78f817b3037f33a4")
Expand Down Expand Up @@ -143,7 +144,7 @@ class Hipblas(CMakePackage, CudaPackage, ROCmPackage):
depends_on("rocm-cmake@5.2.0:", type="build", when="@5.2.0:5.7")
depends_on("rocm-cmake@4.5.0:", type="build", when="@4.5.0:")
depends_on("rocm-cmake@3.5.0:", type="build")
for ver in ["6.0.0"]:
for ver in ["6.0.0", "6.0.2"]:
depends_on("rocm-cmake@" + ver, when="+rocm @" + ver)

depends_on("hip +cuda", when="+cuda")
Expand Down Expand Up @@ -179,6 +180,7 @@ class Hipblas(CMakePackage, CudaPackage, ROCmPackage):
"5.7.0",
"5.7.1",
"6.0.0",
"6.0.2",
"master",
"develop",
]:
Expand Down
4 changes: 3 additions & 1 deletion var/spack/repos/builtin/packages/hipcub/package.py
Original file line number Diff line number Diff line change
Expand Up @@ -11,12 +11,13 @@ class Hipcub(CMakePackage, CudaPackage, ROCmPackage):

homepage = "https://github.com/ROCm/hipCUB"
git = "https://github.com/ROCm/hipCUB.git"
url = "https://github.com/ROCm/hipCUB/archive/rocm-6.0.0.tar.gz"
url = "https://github.com/ROCm/hipCUB/archive/rocm-6.0.2.tar.gz"
tags = ["rocm"]

license("BSD-3-Clause")

maintainers("srekolam", "renjithravindrankannath")
version("6.0.2", sha256="3f912a23dc34510cf18d9097f6eda37e01d01724975c8149c92a64c92415968c")
version("6.0.0", sha256="8d9f6e1e3f8433a2ceae1b0efd6727c21383980077e264725d00d5fee165bd30")
version("5.7.1", sha256="9b23a58408bc4c549d3c754196cb3e2c1a50e177ab0a286101cbea2f7f173945")
version("5.7.0", sha256="899356867f662d9a6f3870bb4a496f605a3143c6ad4d1fa9e9faead68fa8d13b")
Expand Down Expand Up @@ -159,6 +160,7 @@ class Hipcub(CMakePackage, CudaPackage, ROCmPackage):
"5.7.0",
"5.7.1",
"6.0.0",
"6.0.2",
]:
depends_on("rocprim@" + ver, when="+rocm @" + ver)
depends_on("rocm-cmake@%s:" % ver, type="build", when="@" + ver)
Expand Down
4 changes: 3 additions & 1 deletion var/spack/repos/builtin/packages/hipfft/package.py
Original file line number Diff line number Diff line change
Expand Up @@ -16,14 +16,15 @@ class Hipfft(CMakePackage, CudaPackage, ROCmPackage):

homepage = "https://github.com/ROCm/hipFFT"
git = "https://github.com/ROCm/hipFFT.git"
url = "https://github.com/ROCm/hipfft/archive/rocm-6.0.0.tar.gz"
url = "https://github.com/ROCm/hipfft/archive/rocm-6.0.2.tar.gz"
tags = ["rocm"]

maintainers("renjithravindrankannath", "srekolam")

license("MIT")

version("master", branch="master")
version("6.0.2", sha256="c0a4bac5fa9a757a19a4995fa9571328b6ee0a71e93c66a880069794d65d284a")
version("6.0.0", sha256="44f328b7862c066459089dfe62833cb7d626c6ceb71c57d8c7d6bba45dad491e")
version("5.7.1", sha256="33452576649df479f084076c47d0b30f6f1da34864094bce767dd9bf609f04aa")
version("5.7.0", sha256="daa5dc44580145e85ff8ffa7eb40a3d1ef41f3217549c01281715ff696a31588")
Expand Down Expand Up @@ -127,6 +128,7 @@ class Hipfft(CMakePackage, CudaPackage, ROCmPackage):
"5.7.0",
"5.7.1",
"6.0.0",
"6.0.2",
]:
depends_on("rocm-cmake@%s:" % ver, type="build", when="@" + ver)
depends_on("rocfft@" + ver, when="+rocm @" + ver)
Expand Down
4 changes: 3 additions & 1 deletion var/spack/repos/builtin/packages/hipfort/package.py
Original file line number Diff line number Diff line change
Expand Up @@ -11,12 +11,13 @@ class Hipfort(CMakePackage):

homepage = "https://github.com/ROCm/hipfort"
git = "https://github.com/ROCm/hipfort.git"
url = "https://github.com/ROCm/hipfort/archive/rocm-6.0.0.tar.gz"
url = "https://github.com/ROCm/hipfort/archive/rocm-6.0.2.tar.gz"
tags = ["rocm"]

license("MIT")

maintainers("cgmb", "srekolam", "renjithravindrankannath")
version("6.0.2", sha256="b60ada7474b71c1d82c700b0159bc0756dbb2808375054903710280b1677f199")
version("6.0.0", sha256="151cf11648885db799aade0d00a7882589e7195643b02beaa251f1b2a43aceed")
version("5.7.1", sha256="859fac509e195f3ab97c555b5f63afea325a61aae0f281cb19a970a1b533dead")
version("5.7.0", sha256="57b04d59f61683a1b141d6d831d10c9fdecea483991ec02d14c14e441e935c05")
Expand Down Expand Up @@ -129,6 +130,7 @@ class Hipfort(CMakePackage):
"5.7.0",
"5.7.1",
"6.0.0",
"6.0.2",
]:
depends_on("hip@" + ver, type="build", when="@" + ver)

Expand Down
6 changes: 4 additions & 2 deletions var/spack/repos/builtin/packages/hipify-clang/package.py
Original file line number Diff line number Diff line change
Expand Up @@ -12,14 +12,15 @@ class HipifyClang(CMakePackage):

homepage = "https://github.com/ROCm/HIPIFY"
git = "https://github.com/ROCm/HIPIFY.git"
url = "https://github.com/ROCm/HIPIFY/archive/rocm-6.0.0.tar.gz"
url = "https://github.com/ROCm/HIPIFY/archive/rocm-6.0.2.tar.gz"
tags = ["rocm"]

maintainers("srekolam", "renjithravindrankannath")

license("MIT")

version("master", branch="master")
version("6.0.2", sha256="21e46276677ec8c00e61c0cbf5fa42185517f6af0d4845ea877fd40eb35198c4")
version("6.0.0", sha256="91bed2b72a6684a04e078e50b12b36b93f64ff96523283f4e5d9a33c11e6b967")
version("5.7.1", sha256="43121e62233dab010ab686d6805bc2d3163f0dc5e89cc503d50c4bcd59eeb394")
version("5.7.0", sha256="10e4386727e102fba166f012147120a6ec776e8d95fbcac3af93e243205d80a6")
Expand Down Expand Up @@ -145,11 +146,12 @@ class HipifyClang(CMakePackage):
"5.7.0",
"5.7.1",
"6.0.0",
"6.0.2",
"master",
]:
depends_on("llvm-amdgpu@" + ver, when="@" + ver)

for ver in ["5.5.0", "5.5.1", "5.6.0", "5.6.1", "5.7.0", "5.7.1", "6.0.0"]:
for ver in ["5.5.0", "5.5.1", "5.6.0", "5.6.1", "5.7.0", "5.7.1", "6.0.0", "6.0.2"]:
depends_on("rocm-core@" + ver, when="@" + ver)

def setup_run_environment(self, env):
Expand Down
4 changes: 3 additions & 1 deletion var/spack/repos/builtin/packages/hiprand/package.py
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@ class Hiprand(CMakePackage, CudaPackage, ROCmPackage):

homepage = "https://github.com/ROCm/hipRAND"
git = "https://github.com/ROCm/hipRAND.git"
url = "https://github.com/ROCm/hipRAND/archive/rocm-5.7.1.tar.gz"
url = "https://github.com/ROCm/hipRAND/archive/rocm-6.0.2.tar.gz"
tags = ["rocm"]

maintainers("cgmb", "srekolam", "renjithravindrankannath")
Expand All @@ -24,6 +24,7 @@ class Hiprand(CMakePackage, CudaPackage, ROCmPackage):

version("develop", branch="develop")
version("master", branch="master")
version("6.0.2", sha256="cb6ff8f58c024b60b3914271921f58f0ab3bdbc9889a53795b40c99c9de0bcd4")
version("6.0.0", sha256="7e06c98f9da7c0b20b55b2106cf3a48b9ef6577a79549a455667ae97bd15b61d")
version("5.7.1", sha256="81a9f5f0960dce125ce1ab1c7eb58bb07c8756346f9e46a1cc65aa61d5a114f8")
version("5.7.0", sha256="4dee76719839503b02ce7d38e1c61bbdb2da18da7f63a7ef7012c84c71aa0a9d")
Expand Down Expand Up @@ -90,6 +91,7 @@ class Hiprand(CMakePackage, CudaPackage, ROCmPackage):
"5.7.0",
"5.7.1",
"6.0.0",
"6.0.2",
"master",
"develop",
]:
Expand Down
4 changes: 3 additions & 1 deletion var/spack/repos/builtin/packages/hipsolver/package.py
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,7 @@ class Hipsolver(CMakePackage, CudaPackage, ROCmPackage):

homepage = "https://github.com/ROCm/hipSOLVER"
git = "https://github.com/ROCm/hipSOLVER.git"
url = "https://github.com/ROCm/hipSOLVER/archive/rocm-6.0.0.tar.gz"
url = "https://github.com/ROCm/hipSOLVER/archive/rocm-6.0.2.tar.gz"
tags = ["rocm"]

maintainers("cgmb", "srekolam", "renjithravindrankannath")
Expand All @@ -28,6 +28,7 @@ class Hipsolver(CMakePackage, CudaPackage, ROCmPackage):

version("develop", branch="develop")
version("master", branch="master")
version("6.0.2", sha256="8215e55c3a5bc9c7eeb141cefdc6a6eeba94d8bc3aeae9e685ab7904965040d4")
version("6.0.0", sha256="385849db02189d5e62096457e52ae899ae5c1ae7d409dc1da61f904d8861b48c")
version("5.7.1", sha256="5592e965c0dc5722931302289643d1ece370220af2c7afc58af97b3395295658")
version("5.7.0", sha256="0e35795bfbcb57ed8e8437471209fb7d230babcc31d9a4a0b3640c3ee639f4a7")
Expand Down Expand Up @@ -117,6 +118,7 @@ class Hipsolver(CMakePackage, CudaPackage, ROCmPackage):
"5.7.0",
"5.7.1",
"6.0.0",
"6.0.2",
"master",
"develop",
]:
Expand Down
5 changes: 3 additions & 2 deletions var/spack/repos/builtin/packages/hipsparse/package.py
Original file line number Diff line number Diff line change
Expand Up @@ -14,14 +14,14 @@ class Hipsparse(CMakePackage, CudaPackage, ROCmPackage):

homepage = "https://github.com/ROCm/hipSPARSE"
git = "https://github.com/ROCm/hipSPARSE.git"
url = "https://github.com/ROCm/hipSPARSE/archive/rocm-6.0.0.tar.gz"
url = "https://github.com/ROCm/hipSPARSE/archive/rocm-6.0.2.tar.gz"
tags = ["rocm"]

maintainers("cgmb", "srekolam", "renjithravindrankannath", "haampie")
libraries = ["libhipsparse"]

license("MIT")

version("6.0.2", sha256="40c1d2493f87c686d9afd84a00321ad10ca0d0d80d6dcfeee8e51858dd1bd8c1")
version("6.0.0", sha256="718a5f03b6a579c0542a60d00f5688bec53a181b429b7ee8ce3c8b6c4a78d754")
version("5.7.1", sha256="16c3818260611226c3576d8d55ad8f51e0890d2473503edf2c9313250ae65ca7")
version("5.7.0", sha256="729b749b5340034639873a99e6091963374f6f0456c8f36d076c96f03fe43888")
Expand Down Expand Up @@ -162,6 +162,7 @@ class Hipsparse(CMakePackage, CudaPackage, ROCmPackage):
"5.7.0",
"5.7.1",
"6.0.0",
"6.0.2",
]:
depends_on("rocm-cmake@%s:" % ver, type="build", when="@" + ver)
depends_on("rocsparse@" + ver, when="+rocm @" + ver)
Expand Down
6 changes: 4 additions & 2 deletions var/spack/repos/builtin/packages/hsa-rocr-dev/package.py
Original file line number Diff line number Diff line change
Expand Up @@ -17,13 +17,14 @@ class HsaRocrDev(CMakePackage):

homepage = "https://github.com/ROCm/ROCR-Runtime"
git = "https://github.com/ROCm/ROCR-Runtime.git"
url = "https://github.com/ROCm/ROCR-Runtime/archive/rocm-6.0.0.tar.gz"
url = "https://github.com/ROCm/ROCR-Runtime/archive/rocm-6.0.2.tar.gz"
tags = ["rocm"]

maintainers("srekolam", "renjithravindrankannath", "haampie")
libraries = ["libhsa-runtime64"]

version("master", branch="master")
version("6.0.2", sha256="e7ff4d7ac35a2dd8aad1cb40b96511a77a9c23fe4d1607902328e53728e05c28")
version("6.0.0", sha256="99e8fa1af52d0bf382f28468e1a345af1ff3452c35914a6a7b5eeaf69fc568db")
version("5.7.1", sha256="655e9bfef4b0b6ad3f9b89c934dc0a8377273bb0bccbda6c399ac5d5d2c1c04c")
version("5.7.0", sha256="2c56ec5c78a36f2b847afd4632cb25dbf6ecc58661eb2ae038c2552342e6ce23")
Expand Down Expand Up @@ -156,6 +157,7 @@ class HsaRocrDev(CMakePackage):
"5.7.0",
"5.7.1",
"6.0.0",
"6.0.2",
"master",
]:
depends_on("hsakmt-roct@" + ver, when="@" + ver)
Expand All @@ -165,7 +167,7 @@ class HsaRocrDev(CMakePackage):
"rocm-device-libs@" + ver, when="@{0} ^llvm-amdgpu ~rocm-device-libs".format(ver)
)

for ver in ["5.5.0", "5.5.1", "5.6.0", "5.6.1", "5.7.0", "5.7.1", "6.0.0"]:
for ver in ["5.5.0", "5.5.1", "5.6.0", "5.6.1", "5.7.0", "5.7.1", "6.0.0", "6.0.2"]:
depends_on("rocm-core@" + ver, when="@" + ver)

# Both 3.5.0 and 3.7.0 force INSTALL_RPATH in different ways
Expand Down
Loading

0 comments on commit 91b0528

Please sign in to comment.