From faeffdfaf240f52e1fb4196064cbaefd0cb41b04 Mon Sep 17 00:00:00 2001 From: David Date: Thu, 5 May 2022 09:37:56 -0600 Subject: Update totalview package.py with new version and maintainer (#30341) * Update totalview package.py with new version and maintainer * Update totalview/package.py version order Co-authored-by: Tamara Dahlgren <35777542+tldahlgren@users.noreply.github.com> Co-authored-by: Tamara Dahlgren <35777542+tldahlgren@users.noreply.github.com> --- .../repos/builtin/packages/totalview/package.py | 25 +++++++++++++++++++--- 1 file changed, 22 insertions(+), 3 deletions(-) diff --git a/var/spack/repos/builtin/packages/totalview/package.py b/var/spack/repos/builtin/packages/totalview/package.py index 82c886b24d..e2eb6c9b33 100644 --- a/var/spack/repos/builtin/packages/totalview/package.py +++ b/var/spack/repos/builtin/packages/totalview/package.py @@ -20,7 +20,7 @@ class Totalview(Package): be downloaded as a resource.""" homepage = "https://www.roguewave.com/products-services/totalview" - maintainers = ['nicholas-sly'] + maintainers = ['dshrader'] manual_download = True license_required = True license_comment = '#' @@ -30,6 +30,8 @@ class Totalview(Package): # As the install of Totalview is via multiple tarballs, the base install # will be the documentation. The architecture-specific tarballs are added # as resources dependent on the specific architecture used. + version('2021.1.16', + sha256='4c51c7b6ab6b6afa7635ba2e9fc3b0ef833806f775a0ad0da26b13d6320625dd') version('2019.2.18', sha256='09e5c554032af945f8cf147dd548421267e50e906cc9686fb5cd0e8e63fcf650') @@ -57,6 +59,24 @@ class Totalview(Package): destination='.', sha256='c0e4dbf145312fc7143ad0b7e9474e653933581990e0b9d07237c73dbdff8365', when='@2019.2.18 target=ppc64le:') + resource( + name='x86_64', + url='totalview_{0}_linux_x86-64.tar'.format(version), + destination='.', + sha256='129e991d3ce4df9f9f04adbf79b62d3c2706d7732ec305f3d3c97a6b4d1f5a13', + when='@2021.1.16 target=x86_64:') + resource( + name='aarch64', + url='totalview_{0}_linux_arm64.tar'.format(version), + destination='.', + sha256='d559c0e090b2a6b935986324a2f1b20c02c5a2991432b8305952c120db41cdb5', + when='@2021.1.16 target=aarch64:') + resource( + name='ppcle', + url='totalview_{0}_linux_powerle.tar'.format(version), + destination='.', + sha256='88c6bf82bd0807f826e2920967b288ac40e9bc56554e55966dfea793bc9c2b0a', + when='@2021.1.16 target=ppcle:') def url_for_version(self, version): return "file://{0}/totalview.{1}-doc.tar".format(os.getcwd(), version) @@ -64,8 +84,7 @@ class Totalview(Package): def setup_run_environment(self, env): env.prepend_path('PATH', join_path(self.prefix, 'toolworks', - 'totalview.{0}'.format(self.version), 'bin') - ) + 'totalview.{0}'.format(self.version), 'bin')) env.prepend_path('TVROOT', join_path(self.prefix, 'toolworks', 'totalview.{0}'.format(self.version))) -- cgit v1.2.3-70-g09d2