From 1ac0c51dad63458f20eeaa0e8243acaec7bd1294 Mon Sep 17 00:00:00 2001 From: Glenn Johnson Date: Tue, 31 Dec 2019 16:44:31 -0600 Subject: [PATCH] Modify create clue list so R packages are detected (#12277) R packages can contain configure scripts so R needs to be before autotools in the clue list. --- lib/spack/spack/cmd/create.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lib/spack/spack/cmd/create.py b/lib/spack/spack/cmd/create.py index 78340bbac2..f9b7a382ea 100644 --- a/lib/spack/spack/cmd/create.py +++ b/lib/spack/spack/cmd/create.py @@ -473,13 +473,13 @@ def __call__(self, stage, url): # build systems, we choose the first match in this list. clues = [ (r'/CMakeLists\.txt$', 'cmake'), + (r'/NAMESPACE$', 'r'), (r'/configure$', 'autotools'), (r'/configure\.(in|ac)$', 'autoreconf'), (r'/Makefile\.am$', 'autoreconf'), (r'/SConstruct$', 'scons'), (r'/waf$', 'waf'), (r'/setup\.py$', 'python'), - (r'/NAMESPACE$', 'r'), (r'/WORKSPACE$', 'bazel'), (r'/Build\.PL$', 'perlbuild'), (r'/Makefile\.PL$', 'perlmake'),