From 9b8215ce9db034991e496ce417e8251360699842 Mon Sep 17 00:00:00 2001 From: "Adam J. Stewart" Date: Thu, 20 Jun 2019 21:07:29 -0500 Subject: Ignore pgcc-llvm and friends, default to pgcc (#11703) This change reverts to the previous behavior of only looking for pgcc and friends, not pgcc-llvm and friends. The llvm variant doesn't support all the same features as the traditional variant of the pgi code generator; this change avoids treating the llvm variant as a default pgi compiler. This retains the changes in #10704 which accept the "LLVM" suffix of the version string of the PGI compiler, which allows users to explicitly add the llvm-pgi compiler if desired. --- lib/spack/spack/compilers/pgi.py | 4 ---- 1 file changed, 4 deletions(-) diff --git a/lib/spack/spack/compilers/pgi.py b/lib/spack/spack/compilers/pgi.py index ff3776c0db..1b382fe075 100644 --- a/lib/spack/spack/compilers/pgi.py +++ b/lib/spack/spack/compilers/pgi.py @@ -20,10 +20,6 @@ class Pgi(Compiler): # Subclasses use possible names of Fortran 90 compiler fc_names = ['pgfortran', 'pgf95', 'pgf90'] - # LLVM-enabled PGI compilers add a '-llvm' suffix: - # pgcc-llvm, pgc++llvm, pgfortran-llvm - suffixes = ['-?llvm'] - # Named wrapper links within build_env_path link_paths = {'cc': 'pgi/pgcc', 'cxx': 'pgi/pgc++', -- cgit v1.2.3-60-g2f50