summaryrefslogtreecommitdiff
path: root/var
diff options
context:
space:
mode:
authorAlberto Invernizzi <9337627+albestro@users.noreply.github.com>2022-05-18 16:24:35 +0200
committerGitHub <noreply@github.com>2022-05-18 16:24:35 +0200
commit2090351d7fa2b3047407da793a4ef80c9a820990 (patch)
tree0259c87df7b3e618b6d5ccad3d287355a4ab7db2 /var
parentc775c322ecb95828cc5b4ea6cabbb670423a2d5d (diff)
downloadspack-2090351d7fa2b3047407da793a4ef80c9a820990.tar.gz
spack-2090351d7fa2b3047407da793a4ef80c9a820990.tar.bz2
spack-2090351d7fa2b3047407da793a4ef80c9a820990.tar.xz
spack-2090351d7fa2b3047407da793a4ef80c9a820990.zip
Add hip dependency for roc-obj-ls + add perl-uri-encode (#30721)
* add perl-uri-encode package * add dependencies in hip for roc-obj-ls
Diffstat (limited to 'var')
-rw-r--r--var/spack/repos/builtin/packages/hip/package.py4
-rw-r--r--var/spack/repos/builtin/packages/perl-uri-encode/package.py17
2 files changed, 21 insertions, 0 deletions
diff --git a/var/spack/repos/builtin/packages/hip/package.py b/var/spack/repos/builtin/packages/hip/package.py
index b89ebaf32d..1f94c027c3 100644
--- a/var/spack/repos/builtin/packages/hip/package.py
+++ b/var/spack/repos/builtin/packages/hip/package.py
@@ -60,6 +60,10 @@ class Hip(CMakePackage):
# ref https://github.com/ROCm-Developer-Tools/HIP/pull/2202
depends_on('numactl', when='@3.7.0:')
+ # roc-obj-ls requirements
+ depends_on('perl-file-which')
+ depends_on('perl-uri-encode')
+
# Add hip-amd sources thru the below
for d_version, d_shasum in [
('5.1.0', '77984854bfe00f938353fe4c7604d09967eaf5c609d05f1e6423d3c3dea86e61'),
diff --git a/var/spack/repos/builtin/packages/perl-uri-encode/package.py b/var/spack/repos/builtin/packages/perl-uri-encode/package.py
new file mode 100644
index 0000000000..33468766c3
--- /dev/null
+++ b/var/spack/repos/builtin/packages/perl-uri-encode/package.py
@@ -0,0 +1,17 @@
+# Copyright 2013-2022 Lawrence Livermore National Security, LLC and other
+# Spack Project Developers. See the top-level COPYRIGHT file for details.
+#
+# SPDX-License-Identifier: (Apache-2.0 OR MIT)
+
+from spack import *
+
+
+class PerlUriEncode(PerlPackage):
+ """This modules provides simple URI (Percent) encoding/decoding"""
+
+ homepage = "https://github.com/mithun/perl-uri-encode"
+ url = "https://cpan.metacpan.org/authors/id/M/MI/MITHUN/URI-Encode-v1.1.1.tar.gz"
+
+ version('1.1.1', sha256='4bb9ce4e7016c0138cf9c2375508595286efa1c8dc15b45baa4c47281c08243b')
+
+ depends_on('perl-module-build', type='build')