summaryrefslogtreecommitdiff
path: root/var
diff options
context:
space:
mode:
authorTamara Dahlgren <35777542+tldahlgren@users.noreply.github.com>2020-09-08 15:22:25 -0700
committerGitHub <noreply@github.com>2020-09-08 16:22:25 -0600
commit6b30cd18d66911998e0f6e0bfcfaa334579dd2e5 (patch)
tree57ad940b1f292d79e0dad693411d443a77826cc1 /var
parentd721bd80708db0498119c0f48b420afc9010ed63 (diff)
downloadspack-6b30cd18d66911998e0f6e0bfcfaa334579dd2e5.tar.gz
spack-6b30cd18d66911998e0f6e0bfcfaa334579dd2e5.tar.bz2
spack-6b30cd18d66911998e0f6e0bfcfaa334579dd2e5.tar.xz
spack-6b30cd18d66911998e0f6e0bfcfaa334579dd2e5.zip
Update cray-libsci homepage and install error (#18581)
Diffstat (limited to 'var')
-rwxr-xr-xvar/spack/repos/builtin/packages/cray-libsci/package.py9
1 files changed, 5 insertions, 4 deletions
diff --git a/var/spack/repos/builtin/packages/cray-libsci/package.py b/var/spack/repos/builtin/packages/cray-libsci/package.py
index d391f471c3..c75f4cfa35 100755
--- a/var/spack/repos/builtin/packages/cray-libsci/package.py
+++ b/var/spack/repos/builtin/packages/cray-libsci/package.py
@@ -2,7 +2,6 @@
# Spack Project Developers. See the top-level COPYRIGHT file for details.
#
# SPDX-License-Identifier: (Apache-2.0 OR MIT)
-from spack.concretize import NoBuildError
from spack.util.module_cmd import module
from spack.util.module_cmd import get_path_args_from_module_line
@@ -11,8 +10,8 @@ class CrayLibsci(Package):
"""The Cray Scientific Libraries package, LibSci, is a collection of
numerical routines optimized for best performance on Cray systems."""
- homepage = "http://www.nersc.gov/users/software/programming-libraries/math-libraries/libsci/"
- url = "http://www.nersc.gov/users/software/programming-libraries/math-libraries/libsci/"
+ homepage = "https://docs.nersc.gov/development/libraries/libsci/"
+ has_code = False # Skip attempts to fetch source that is not available
version("18.11.1.2")
version("16.11.1")
@@ -78,4 +77,6 @@ class CrayLibsci(Package):
return self.blas_libs
def install(self, spec, prefix):
- raise NoBuildError(spec)
+ raise InstallError(
+ self.spec.format('{name} is not installable, you need to specify '
+ 'it as an external package in packages.yaml'))