sit/etc/platform-configs/hazelhen/compiler/gnu
Christoph Niethammer 7df26522c3 Fix GCC compiler version command to outputting the full version number
The version printed by GCC's -dumpversion option may only be a single
number (the major version). Therefore use the -dumpfullversion option which
guarantees to print the three numbers format 'major.minor.patchlevel'.

Signed-off-by: Christoph Niethammer <niethammer@hlrs.de>
2024-03-28 03:14:18 +01:00

3 lines
136 B
Bash

#!/bin/bash
COMPILER_OPTS="CC=cc CXX=CC FC=ftn F90=ftn F77=ftn MPICC=cc MPICXX=CC MPIFC=ftn"
COMPILER_VERSION_CMD="cc -dumpfullversion"