diff options
author | Christoph Junghans <christoph.junghans@gmail.com> | 2017-04-29 20:43:16 -0700 |
---|---|---|
committer | Todd Gamblin <tgamblin@llnl.gov> | 2017-04-29 20:43:16 -0700 |
commit | 110f68a83f43e0cd06654bebe3a6cb197646cff6 (patch) | |
tree | 5f889a0048ff150e2370fc1dfea4a6afbca8d3db /var | |
parent | 0a9beccc4a4d7336e002d1fbcc2cf77c2d41ecbb (diff) | |
download | spack-110f68a83f43e0cd06654bebe3a6cb197646cff6.tar.gz spack-110f68a83f43e0cd06654bebe3a6cb197646cff6.tar.bz2 spack-110f68a83f43e0cd06654bebe3a6cb197646cff6.tar.xz spack-110f68a83f43e0cd06654bebe3a6cb197646cff6.zip |
Clean up now that submodules are properly supported. (#4053)
Diffstat (limited to 'var')
-rw-r--r-- | var/spack/repos/builtin/packages/flecsale/package.py | 8 | ||||
-rw-r--r-- | var/spack/repos/builtin/packages/flecsi/package.py | 8 | ||||
-rw-r--r-- | var/spack/repos/builtin/packages/portage/package.py | 8 |
3 files changed, 3 insertions, 21 deletions
diff --git a/var/spack/repos/builtin/packages/flecsale/package.py b/var/spack/repos/builtin/packages/flecsale/package.py index 42820cfd96..0276da3db2 100644 --- a/var/spack/repos/builtin/packages/flecsale/package.py +++ b/var/spack/repos/builtin/packages/flecsale/package.py @@ -31,7 +31,7 @@ class Flecsale(CMakePackage): homepage = "https://github.com/laristra/flecsale" url = "https://github.com/laristra/flecsale/tarball/v1.0" - version('develop', git='https://github.com/laristra/flecsale', branch='master', submodules=False) + version('develop', git='https://github.com/laristra/flecsale', branch='master', submodules=True) variant('debug', default=False, description='Build debug version') variant('mpi', default=True, @@ -43,12 +43,6 @@ class Flecsale(CMakePackage): depends_on("python@2:2.8") depends_on("openssl") - # drop when #3958 has been merged - def do_fetch(self, mirror_only=True): - super(Flecsale, self).do_fetch(mirror_only) - git = which("git") - git('submodule', 'update', '--init', '--recursive') - def build_type(self): spec = self.spec if '+debug' in spec: diff --git a/var/spack/repos/builtin/packages/flecsi/package.py b/var/spack/repos/builtin/packages/flecsi/package.py index 947719508c..24c3e6b4d7 100644 --- a/var/spack/repos/builtin/packages/flecsi/package.py +++ b/var/spack/repos/builtin/packages/flecsi/package.py @@ -39,7 +39,7 @@ class Flecsi(CMakePackage): homepage = "http://flecsi.lanl.gov/" url = "https://github.com/laristra/flecsi/tarball/v1.0" - version('develop', git='https://github.com/laristra/flecsi', branch='master', submodules=False) + version('develop', git='https://github.com/laristra/flecsi', branch='master', submodules=True) variant('debug', default=False, description='Build debug version') variant('mpi', default=True, @@ -49,12 +49,6 @@ class Flecsi(CMakePackage): depends_on("legion+shared", when='~mpi') depends_on("legion+shared+mpi", when='+mpi') - # drop when #3958 has been merged - def do_fetch(self, mirror_only=True): - super(Flecsi, self).do_fetch(mirror_only) - git = which("git") - git('-C', 'flecsi', 'submodule', 'update', '--init', '--recursive') - def build_type(self): spec = self.spec if '+debug' in spec: diff --git a/var/spack/repos/builtin/packages/portage/package.py b/var/spack/repos/builtin/packages/portage/package.py index 2bbc54b6cb..51166b97a3 100644 --- a/var/spack/repos/builtin/packages/portage/package.py +++ b/var/spack/repos/builtin/packages/portage/package.py @@ -34,7 +34,7 @@ class Portage(CMakePackage): homepage = "http://portage.lanl.gov/" url = "https://github.com/laristra/portage/tarball/v1.0" - version('develop', git='https://github.com/laristra/portage', branch='master', submodules=False) + version('develop', git='https://github.com/laristra/portage', branch='master', submodules=True) variant('debug', default=False, description='Build debug version') variant('mpi', default=True, description='Support MPI') @@ -42,12 +42,6 @@ class Portage(CMakePackage): depends_on("cmake@3.1:", type='build') depends_on('mpi', when='+mpi') - # drop when #3958 has been merged - def do_fetch(self, mirror_only=True): - super(Portage, self).do_fetch(mirror_only) - git = which("git") - git('submodule', 'update', '--init', '--recursive') - def build_type(self): spec = self.spec if '+debug' in spec: |