- support prefs.compiler with better possibilities to provide overload values STYLE: reduce code for WM_ARCH_OPTION (seldom-used)
31 lines
1.1 KiB
Bash
31 lines
1.1 KiB
Bash
#----------------------------------*-sh-*--------------------------------------
|
|
# ========= |
|
|
# \\ / F ield | OpenFOAM: The Open Source CFD Toolbox
|
|
# \\ / O peration |
|
|
# \\ / A nd | www.openfoam.com
|
|
# \\/ M anipulation |
|
|
#------------------------------------------------------------------------------
|
|
# Copyright (C) 2020 OpenCFD Ltd.
|
|
#------------------------------------------------------------------------------
|
|
# License
|
|
# This file is part of OpenFOAM, distributed under GPL-3.0-or-later.
|
|
#
|
|
# File
|
|
# config.csh/example/compiler-Gcc92
|
|
#
|
|
# Description
|
|
# Example of tuning compiler settings with a hook (C-shell).
|
|
#
|
|
# Copy to etc/config.csh (or ~/.OpenFOAM/config.csh) and it will be
|
|
# sourced by OpenFOAM-*/etc/config.csh/compiler
|
|
#
|
|
#------------------------------------------------------------------------------
|
|
|
|
# Modify/override compiler settings
|
|
set gcc_version=gcc-9.2.0
|
|
set gmp_version=gmp-6.2.0
|
|
set mpfr_version=mpfr-4.0.2
|
|
set mpc_version=mpc-1.1.0
|
|
|
|
#------------------------------------------------------------------------------
|