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
This commit is contained in:
@@ -11,7 +11,7 @@ class Adlbx(AutotoolsPackage):
|
||||
"""ADLB/X: Master-worker library + work stealing and data dependencies"""
|
||||
|
||||
homepage = 'http://swift-lang.org/Swift-T'
|
||||
url = 'http://swift-lang.github.io/swift-t-downloads/spack/adlbx-0.0.0.tar.gz'
|
||||
url = 'http://swift-lang.github.io/swift-t-downloads/spack/adlbx-0.9.2.tar.gz'
|
||||
git = "https://github.com/swift-lang/swift-t.git"
|
||||
|
||||
version('master', branch='master')
|
||||
@@ -27,11 +27,11 @@ class Adlbx(AutotoolsPackage):
|
||||
depends_on('m4', type='build', when='@master')
|
||||
depends_on('mpi')
|
||||
|
||||
def setup_environment(self, spack_env, run_env):
|
||||
def setup_build_environment(self, env):
|
||||
spec = self.spec
|
||||
spack_env.set('CC', spec['mpi'].mpicc)
|
||||
spack_env.set('CXX', spec['mpi'].mpicxx)
|
||||
spack_env.set('CXXLD', spec['mpi'].mpicxx)
|
||||
env.set('CC', spec['mpi'].mpicc)
|
||||
env.set('CXX', spec['mpi'].mpicxx)
|
||||
env.set('CXXLD', spec['mpi'].mpicxx)
|
||||
|
||||
@property
|
||||
def configure_directory(self):
|
||||
|
Reference in New Issue
Block a user