- export library path for gmp/mpfr from CGAL config files. This is required when non-system gmp/mpfr libraries are being used, but not using a ThirdParty compiler installation. - automatically handle lib/ vs lib64/ (eg, for central installations) for packages such as boost, CGAL, etc. While the ThirdParty compilation of these will normally land in lib64/, this may not be the case when they are supplied by another means. - reworked the handling of foamEtcFile and foamCleanPath for less clutter in the configuration files. Added the bin/tools/lib-dir script to handle logic that is too complex to easily manage in csh.
41 lines
1.2 KiB
Bash
41 lines
1.2 KiB
Bash
#----------------------------------*-sh-*--------------------------------------
|
|
# ========= |
|
|
# \\ / F ield | OpenFOAM: The Open Source CFD Toolbox
|
|
# \\ / O peration |
|
|
# \\ / A nd | Copyright (C) 2011-2016 OpenFOAM Foundation
|
|
# \\/ M anipulation |
|
|
#-------------------------------------------------------------------------------
|
|
# License
|
|
# This file is part of OpenFOAM, licensed under GNU General Public License
|
|
# <http://www.gnu.org/licenses/>.
|
|
#
|
|
# File
|
|
# etc/config.csh/ensight
|
|
# - sourced by OpenFOAM-*/etc/cshrc
|
|
#
|
|
# Description
|
|
# Setup for ENSIGHT
|
|
#
|
|
#------------------------------------------------------------------------------
|
|
|
|
# Fallback value
|
|
if (! $?CEI_HOME ) then
|
|
setenv CEI_HOME /usr/local/ensight/CEI
|
|
endif
|
|
|
|
if ( -r $CEI_HOME ) then
|
|
|
|
# Special treatment for 32bit OpenFOAM and 64bit Ensight
|
|
if ($WM_ARCH-`uname -m` == linux-x86_64) setenv CEI_ARCH linux_2.6_32
|
|
|
|
# Add to path
|
|
setenv PATH ${CEI_HOME}/bin:${PATH}
|
|
|
|
setenv ENSIGHT9_INPUT dummy
|
|
setenv ENSIGHT9_READER $FOAM_LIBBIN
|
|
else
|
|
unsetenv CEI_HOME
|
|
endif
|
|
|
|
#------------------------------------------------------------------------------
|