Clean up now that submodules are properly supported. (#4053)

This commit is contained in:
Christoph Junghans
2017-04-29 20:43:16 -07:00
committed by Todd Gamblin
parent 0a9beccc4a
commit 110f68a83f
3 changed files with 3 additions and 21 deletions

View File

@@ -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: