#----------------------------------*-sh-*-------------------------------------- # ========= | # \\ / F ield | OpenFOAM: The Open Source CFD Toolbox # \\ / O peration | Website: https://openfoam.org # \\ / A nd | Copyright (C) 2011-2024 OpenFOAM Foundation # \\/ M anipulation | #------------------------------------------------------------------------------ # License # This file is part of OpenFOAM. # # OpenFOAM is free software: you can redistribute it and/or modify it # under the terms of the GNU General Public License as published by # the Free Software Foundation, either version 3 of the License, or # (at your option) any later version. # # OpenFOAM is distributed in the hope that it will be useful, but WITHOUT # ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or # FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License # for more details. # # You should have received a copy of the GNU General Public License # along with OpenFOAM. If not, see . # # File # etc/config.csh/settings # # Description # Startup file for OpenFOAM # Sourced from OpenFOAM-/etc/cshrc # #------------------------------------------------------------------------------ switch ("$WM_COMPILER_TYPE") case OpenFOAM: case ThirdParty: # Default versions of GMP, MPFR and MPC, override as necessary set gmp_version=gmp-5.1.2 set mpfr_version=mpfr-3.1.2 set mpc_version=mpc-1.0.1 switch ("$WM_COMPILER") case Gcc55: set gcc_version=gcc-5.5.0 breaksw case Gcc65: set gcc_version=gcc-6.5.0 breaksw case Gcc74: set gcc_version=gcc-7.4.0 breaksw case Gcc82: set gcc_version=gcc-8.2.0 breaksw case Gcc95: set gcc_version=gcc-9.5.0 breaksw case Gcc111: set gcc_version=gcc-11.1.0 breaksw case Gcc121: set gcc_version=gcc-12.1.0 breaksw case Clang: # Using clang - not gcc setenv WM_CC 'clang' setenv WM_CXX 'clang++' set clang_version=llvm-3.7.0 breaksw default: /bin/cat <