From ca3edc36738f561c3a27369835da80152b5f9f78 Mon Sep 17 00:00:00 2001 From: "Adam J. Stewart" Date: Thu, 21 Jan 2016 13:20:39 -0600 Subject: Add symlink cxx to point to cc --- lib/spack/env/cxx | 1 + 1 file changed, 1 insertion(+) create mode 120000 lib/spack/env/cxx diff --git a/lib/spack/env/cxx b/lib/spack/env/cxx new file mode 120000 index 0000000000..2652f5f42c --- /dev/null +++ b/lib/spack/env/cxx @@ -0,0 +1 @@ +cc \ No newline at end of file -- cgit v1.2.3-70-g09d2 From 571386cdf4c6249958008d3a3f0bd24192fd111a Mon Sep 17 00:00:00 2001 From: "Adam J. Stewart" Date: Thu, 21 Jan 2016 13:55:59 -0600 Subject: Remove cxx symlink, tell NAG to look for c++ symlink --- lib/spack/env/cxx | 1 - lib/spack/spack/compilers/nag.py | 2 +- 2 files changed, 1 insertion(+), 2 deletions(-) delete mode 120000 lib/spack/env/cxx diff --git a/lib/spack/env/cxx b/lib/spack/env/cxx deleted file mode 120000 index 2652f5f42c..0000000000 --- a/lib/spack/env/cxx +++ /dev/null @@ -1 +0,0 @@ -cc \ No newline at end of file diff --git a/lib/spack/spack/compilers/nag.py b/lib/spack/spack/compilers/nag.py index f1cc6be0d5..527a05a090 100644 --- a/lib/spack/spack/compilers/nag.py +++ b/lib/spack/spack/compilers/nag.py @@ -16,7 +16,7 @@ class Nag(Compiler): # Named wrapper links within spack.build_env_path link_paths = { # Use default wrappers for C and C++, in case provided in compilers.yaml 'cc' : 'cc', - 'cxx' : 'cxx', + 'cxx' : 'c++', 'f77' : 'nag/nagfor', 'fc' : 'nag/nagfor' } -- cgit v1.2.3-70-g09d2