summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-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')