diff options
author | serbanmaerean <serban@us.ibm.com> | 2017-02-14 14:28:35 -0500 |
---|---|---|
committer | Todd Gamblin <tgamblin@llnl.gov> | 2017-02-14 11:28:35 -0800 |
commit | 7bebfd29c2190a645fcfec208d492cf3c096f763 (patch) | |
tree | 2f37520a433da37526658ace791b597b7722e753 | |
parent | 4a20d170f43d2c8c5c165da2dbd0cb40787d97ff (diff) | |
download | spack-7bebfd29c2190a645fcfec208d492cf3c096f763.tar.gz spack-7bebfd29c2190a645fcfec208d492cf3c096f763.tar.bz2 spack-7bebfd29c2190a645fcfec208d492cf3c096f763.tar.xz spack-7bebfd29c2190a645fcfec208d492cf3c096f763.zip |
spectrum-mpi: Add url info to spectrum-mpi package file (#3042)
Spack wants URL info even for external packages. Without it, I get
the following error:
NoURLError: Package SpectrumMpi has no version with a URL.
File "/home_local/serbanspack/spack/lib/spack/spack/repository.py", line 580, in get
self._instances[key] = package_class(copy)
File "/home_local/serbanspack/spack/lib/spack/spack/package.py", line 562, in __init__
f = fs.for_package_version(self, self.version)
File "/home_local/serbanspack/spack/lib/spack/spack/fetch_strategy.py", line 878, in for_package_version
url = pkg.url_for_version(version)
File "/home_local/serbanspack/spack/lib/spack/spack/package.py", line 682, in url_for_version
raise NoURLError(cls)
-rw-r--r-- | var/spack/repos/builtin/packages/spectrum-mpi/package.py | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/var/spack/repos/builtin/packages/spectrum-mpi/package.py b/var/spack/repos/builtin/packages/spectrum-mpi/package.py index 28ba423b9c..58af1acc84 100644 --- a/var/spack/repos/builtin/packages/spectrum-mpi/package.py +++ b/var/spack/repos/builtin/packages/spectrum-mpi/package.py @@ -32,6 +32,7 @@ class SpectrumMpi(Package): """ homepage = "http://www-03.ibm.com/systems/spectrum-computing/products/mpi" + url = "http://www-03.ibm.com/systems/spectrum-computing/products/mpi" provides('mpi') |