CONFIG: list Clang37 as well for ThirdParty clang

- for Darwin, mention that clang is the only compiler configured

- adjust comments
This commit is contained in:
Mark Olesen
2018-06-15 09:06:06 +02:00
parent d77df7aa11
commit 01f76d7d55
6 changed files with 57 additions and 52 deletions

View File

@ -3,7 +3,7 @@
# \\ / F ield | OpenFOAM: The Open Source CFD Toolbox
# \\ / O peration |
# \\ / A nd | Copyright (C) 2011-2016 OpenFOAM Foundation
# \\/ M anipulation | Copyright (C) 2016-2017 OpenCFD Ltd.
# \\/ M anipulation | Copyright (C) 2016-2018 OpenCFD Ltd.
#------------------------------------------------------------------------------
# License
# This file is part of OpenFOAM, licensed under GNU General Public License
@ -71,7 +71,7 @@ ThirdParty)
Gcc81)
gcc_version=gcc-8.1.0
;;
Clang)
Clang | Clang37)
clang_version=llvm-3.7.1
;;
Clang38)

View File

@ -100,9 +100,11 @@ Linux)
Darwin) # Presumably x86_64
: ${WM_ARCH_OPTION:=64}; export WM_ARCH_OPTION # Default to 64-bit
WM_ARCH=darwin64
export WM_CFLAGS="$WM_CFLAGS -m64 -Ddarwin"
export WM_CXXFLAGS="$WM_CXXFLAGS -m64 -Ddarwin"
/bin/cat << INCOMPLETE 1>&2
===============================================================================
Operating system '$WM_ARCH' has incomplete support in this OpenFOAM release.
Darwin support (clang only) is incomplete or untested in this OpenFOAM release.
For further assistance, please contact www.OpenFOAM.com
===============================================================================
INCOMPLETE