summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorGlenn Johnson <glenn-johnson@uiowa.edu>2019-12-31 16:44:31 -0600
committerAdam J. Stewart <ajstewart426@gmail.com>2019-12-31 16:44:31 -0600
commit1ac0c51dad63458f20eeaa0e8243acaec7bd1294 (patch)
treeb97119cbed3a22d37b0c3d6ba6bf8399fe8b6ecd
parentffc91bd86ee6ff98a1307ddefb84a6b1783c96a9 (diff)
downloadspack-1ac0c51dad63458f20eeaa0e8243acaec7bd1294.tar.gz
spack-1ac0c51dad63458f20eeaa0e8243acaec7bd1294.tar.bz2
spack-1ac0c51dad63458f20eeaa0e8243acaec7bd1294.tar.xz
spack-1ac0c51dad63458f20eeaa0e8243acaec7bd1294.zip
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.
-rw-r--r--lib/spack/spack/cmd/create.py2
1 files changed, 1 insertions, 1 deletions
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 @@ class BuildSystemGuesser:
# 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'),