CONFIG: add compiler config for gcc-9

Caveat: The -Wdeprecated-copy produces many, many compiler warnings
This commit is contained in:
Mark Olesen
2019-06-27 19:03:32 +02:00
committed by Andrew Heather
parent 7b02c0fa19
commit 1b7b9eab35
2 changed files with 15 additions and 3 deletions

View File

@ -2,10 +2,10 @@
# ========= | # ========= |
# \\ / F ield | OpenFOAM: The Open Source CFD Toolbox # \\ / F ield | OpenFOAM: The Open Source CFD Toolbox
# \\ / O peration | # \\ / O peration |
# \\ / A nd | Copyright (C) 2016-2018 OpenCFD Ltd. # \\ / A nd | Copyright (C) 2016-2019 OpenCFD Ltd.
# \\/ M anipulation | # \\/ M anipulation |
#------------------------------------------------------------------------------ #------------------------------------------------------------------------------
# | Copyright (C) 2016 OpenFOAM Foundation # | Copyright (C) 2011-2016 OpenFOAM Foundation
#------------------------------------------------------------------------------ #------------------------------------------------------------------------------
# License # License
# This file is part of OpenFOAM, licensed under GNU General Public License # This file is part of OpenFOAM, licensed under GNU General Public License
@ -85,6 +85,12 @@ case ThirdParty:
case Gcc82*: case Gcc82*:
set gcc_version=gcc-8.2.0 set gcc_version=gcc-8.2.0
breaksw breaksw
case Gcc83*:
set gcc_version=gcc-8.3.0
breaksw
case Gcc91*:
set gcc_version=gcc-9.1.0
breaksw
case Clang: case Clang:
case Clang37*: case Clang37*:
set clang_version=llvm-3.7.1 set clang_version=llvm-3.7.1

View File

@ -2,7 +2,7 @@
# ========= | # ========= |
# \\ / F ield | OpenFOAM: The Open Source CFD Toolbox # \\ / F ield | OpenFOAM: The Open Source CFD Toolbox
# \\ / O peration | # \\ / O peration |
# \\ / A nd | Copyright (C) 2016-2018 OpenCFD Ltd. # \\ / A nd | Copyright (C) 2016-2019 OpenCFD Ltd.
# \\/ M anipulation | # \\/ M anipulation |
#------------------------------------------------------------------------------ #------------------------------------------------------------------------------
# | Copyright (C) 2011-2016 OpenFOAM Foundation # | Copyright (C) 2011-2016 OpenFOAM Foundation
@ -83,6 +83,12 @@ ThirdParty)
Gcc82*) Gcc82*)
gcc_version=gcc-8.2.0 gcc_version=gcc-8.2.0
;; ;;
Gcc83*)
gcc_version=gcc-8.3.0
;;
Gcc91*)
gcc_version=gcc-9.1.0
;;
Clang | Clang37*) Clang | Clang37*)
clang_version=llvm-3.7.1 clang_version=llvm-3.7.1
;; ;;