diff options
author | Adam J. Stewart <ajstewart426@gmail.com> | 2017-08-04 14:53:05 -0500 |
---|---|---|
committer | GitHub <noreply@github.com> | 2017-08-04 14:53:05 -0500 |
commit | b8ed61cfea58c8cab5c86d6c0189512605890444 (patch) | |
tree | c4f25ba40452848ba7a58aec0fe320642277d687 | |
parent | 9be294de315e094b15865aad1a78e6433731f385 (diff) | |
download | spack-b8ed61cfea58c8cab5c86d6c0189512605890444.tar.gz spack-b8ed61cfea58c8cab5c86d6c0189512605890444.tar.bz2 spack-b8ed61cfea58c8cab5c86d6c0189512605890444.tar.xz spack-b8ed61cfea58c8cab5c86d6c0189512605890444.zip |
Make CMake the default build system (#4862)
-rw-r--r-- | lib/spack/spack/cmd/create.py | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/lib/spack/spack/cmd/create.py b/lib/spack/spack/cmd/create.py index 239f75b996..d8507d1108 100644 --- a/lib/spack/spack/cmd/create.py +++ b/lib/spack/spack/cmd/create.py @@ -438,11 +438,13 @@ class BuildSystemGuesser: # A list of clues that give us an idea of the build system a package # uses. If the regular expression matches a file contained in the # archive, the corresponding build system is assumed. + # NOTE: Order is important here. If a package supports multiple + # build systems, we choose the first match in this list. clues = [ + (r'/CMakeLists\.txt$', 'cmake'), (r'/configure$', 'autotools'), (r'/configure\.(in|ac)$', 'autoreconf'), (r'/Makefile\.am$', 'autoreconf'), - (r'/CMakeLists\.txt$', 'cmake'), (r'/SConstruct$', 'scons'), (r'/waf$', 'waf'), (r'/setup\.py$', 'python'), |