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
This commit is contained in:
Alberto Invernizzi 2022-05-18 16:24:35 +02:00 committed by GitHub
parent c775c322ec
commit 2090351d7f
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
2 changed files with 21 additions and 0 deletions

View File

@ -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'),

View File

@ -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')