summaryrefslogtreecommitdiff
path: root/var/spack/repos/builtin/packages/fastmath
diff options
context:
space:
mode:
authorAdam J. Stewart <ajstewart426@gmail.com>2019-10-28 20:27:54 -0500
committerGitHub <noreply@github.com>2019-10-28 20:27:54 -0500
commit2264e30d99d8b9fbdec8fa69b594e53d8ced15a1 (patch)
treeb361d4d420ab2668be84cf27efb808d364a2abc1 /var/spack/repos/builtin/packages/fastmath
parent4367e16740ccd39515ad75e86cce9f65ac46ca69 (diff)
downloadspack-2264e30d99d8b9fbdec8fa69b594e53d8ced15a1.tar.gz
spack-2264e30d99d8b9fbdec8fa69b594e53d8ced15a1.tar.bz2
spack-2264e30d99d8b9fbdec8fa69b594e53d8ced15a1.tar.xz
spack-2264e30d99d8b9fbdec8fa69b594e53d8ced15a1.zip
Update URL parsing regexes and tests (#13411)
* Update URL parsing regexes and tests * Get rid of no longer used README * Merge py-udunits and py-cf-units * netcdf -> netcdf-c * setup_environment -> setup_*_environment * Fix doc tests * Few last minute fixes * Simplify prefix removal copypasta
Diffstat (limited to 'var/spack/repos/builtin/packages/fastmath')
-rw-r--r--var/spack/repos/builtin/packages/fastmath/package.py19
1 files changed, 3 insertions, 16 deletions
diff --git a/var/spack/repos/builtin/packages/fastmath/package.py b/var/spack/repos/builtin/packages/fastmath/package.py
index bc04da7237..463197cd97 100644
--- a/var/spack/repos/builtin/packages/fastmath/package.py
+++ b/var/spack/repos/builtin/packages/fastmath/package.py
@@ -6,7 +6,7 @@
from spack import *
-class Fastmath(Package):
+class Fastmath(BundlePackage):
"""FASTMath is a suite of ~15 numerical libraries frequently used together
in various SciDAC and CSE applications. The suite includes discretization
libraries for structured, AMR and unstructured grids as well as solver
@@ -14,16 +14,12 @@ class Fastmath(Package):
Solvers."""
homepage = "www.fastmath-scidac.org/"
- url = "https://github.com/citibeth/dummy/tarball/v1.0"
- version('1.0', sha256='402a2198e40b7e9022a99ab88ba6f0ee1c04b103fc15589b22c892859f14b60a')
-
- # BundlePackage
depends_on('amrex') # default is 3 dimensions
depends_on('chombo@3.2')
depends_on('hypre~internal-superlu')
-# depends_on('ml-trilinos') # hoping for stripped down install of just ml
-# depends_on('nox-trilinos') # hoping for stripped down install of just nox
+ # depends_on('ml-trilinos') # hoping for stripped down install of just ml
+ # depends_on('nox-trilinos') # hoping for stripped down install of just nox
depends_on('mpi')
depends_on('arpack-ng')
depends_on('petsc')
@@ -33,12 +29,3 @@ class Fastmath(Package):
depends_on('superlu-dist')
depends_on('trilinos')
depends_on('zoltan')
-
- # Dummy install for now, will be removed when metapackage is available
- def install(self, spec, prefix):
- # Prevent the error message
- # ==> Error: Install failed for fastmath. Nothing was installed!
- # ==> Error: Installation process had nonzero exit code : 256
- with open(join_path(spec.prefix, 'bundle-package.txt'), 'w') as out:
- out.write('This is a bundle\n')
- out.close()