From 6992abf9a20cad1113d23e051d92ffe35ce3d3e3 Mon Sep 17 00:00:00 2001 From: Christoph Niethammer Date: Wed, 21 Aug 2019 14:48:24 +0000 Subject: [PATCH] Added compiler configurations for the HAWK TDS --- etc/platform-configs/hawk-tds/compiler/gnu | 3 +++ etc/platform-configs/hawk-tds/compiler/intel | 3 +++ etc/platform-configs/hawk-tds/compiler/llwm | 3 +++ etc/platform-configs/hawk-tds/compiler/pgi | 3 +++ etc/platform-configs/hawk-tds/compiler/system | 1 + 5 files changed, 13 insertions(+) create mode 100644 etc/platform-configs/hawk-tds/compiler/gnu create mode 100644 etc/platform-configs/hawk-tds/compiler/intel create mode 100644 etc/platform-configs/hawk-tds/compiler/llwm create mode 100644 etc/platform-configs/hawk-tds/compiler/pgi create mode 120000 etc/platform-configs/hawk-tds/compiler/system diff --git a/etc/platform-configs/hawk-tds/compiler/gnu b/etc/platform-configs/hawk-tds/compiler/gnu new file mode 100644 index 0000000..a2c385d --- /dev/null +++ b/etc/platform-configs/hawk-tds/compiler/gnu @@ -0,0 +1,3 @@ +#!/bin/bash +COMPILER_OPTS="CC=gcc CXX=g++ F77=gfortran FC=gfortran" +COMPILER_VERSION_CMD="gcc -dumpversion" diff --git a/etc/platform-configs/hawk-tds/compiler/intel b/etc/platform-configs/hawk-tds/compiler/intel new file mode 100644 index 0000000..846d854 --- /dev/null +++ b/etc/platform-configs/hawk-tds/compiler/intel @@ -0,0 +1,3 @@ +#!/bin/bash +COMPILER_OPTS="CC=icc CXX=icpc F77=ifort FC=ifort" +COMPILER_VERSION_CMD="icc -dumpversion" diff --git a/etc/platform-configs/hawk-tds/compiler/llwm b/etc/platform-configs/hawk-tds/compiler/llwm new file mode 100644 index 0000000..9307322 --- /dev/null +++ b/etc/platform-configs/hawk-tds/compiler/llwm @@ -0,0 +1,3 @@ +#!/bin/bash +COMPILER_OPTS="CC=clang CXX=clang++" +COMPILER_VERSION_CMD="llvm-config --version" diff --git a/etc/platform-configs/hawk-tds/compiler/pgi b/etc/platform-configs/hawk-tds/compiler/pgi new file mode 100644 index 0000000..4891bef --- /dev/null +++ b/etc/platform-configs/hawk-tds/compiler/pgi @@ -0,0 +1,3 @@ +#!/bin/bash +COMPILER_OPTS="CC=pgcc CXX=pgCC FC=pgf95 F90=pgf90 F77=pgf77" +COMPILER_VERSION_CMD="pgcc -V | awk '/pgcc/{print \$2}' | sed -e 's/-/./'" diff --git a/etc/platform-configs/hawk-tds/compiler/system b/etc/platform-configs/hawk-tds/compiler/system new file mode 120000 index 0000000..9893768 --- /dev/null +++ b/etc/platform-configs/hawk-tds/compiler/system @@ -0,0 +1 @@ +gnu \ No newline at end of file