This commit is contained in:
Jose Gracia 2014-10-31 12:01:10 +00:00 committed by Christoph Niethammer
parent b6bacda594
commit 069e766b99
5 changed files with 15 additions and 0 deletions

View file

@ -0,0 +1,3 @@
#!/bin/bash
COMPILER_OPTS="CC=cc CXX=CC FC=ftn F90=ftn F77=ftn"
COMPILER_VERSION_CMD="cc -V 2>&1| awk '/Version/{ print \$5; }'"

View file

@ -0,0 +1,3 @@
#!/bin/bash
COMPILER_OPTS="CC=cc CXX=CC FC=ftn F90=ftn F77=ftn"
COMPILER_VERSION_CMD="cc -dumpversion"

View file

@ -0,0 +1,3 @@
#!/bin/bash
COMPILER_OPTS="CC=cc CXX=CC FC=ftn F90=ftn F77=ftn"
COMPILER_VERSION_CMD="cc --version 2>&1 | awk '/icc/{print \$3; }'"

View file

@ -0,0 +1,3 @@
#!/bin/bash
COMPILER_OPTS="CC=cc CXX=CC FC=ftn F90=ftn F77=ftn"
COMPILER_VERSION_CMD="cc -V 2> /dev/null | awk '/pgcc/{print \$2}' | sed -e 's/-/./'"

View file

@ -0,0 +1,3 @@
#!/bin/bash
COMPILER_OPTS="CC=gcc CXX=g++ FC=gfortran F90=gfortran F77=gfortran"
COMPILER_VERSION_CMD="gcc -dumpversion"