mirror of
https://develop.openfoam.com/Development/ThirdParty-common.git
synced 2025-12-08 06:57:50 +00:00
- support use of wmake -show-xyz, as well as older WM_CC, WM_CFLAGS etc. - add support for Makefile.inc for scotch - add -toolset= option for making boost and use b2 instead of legacy bjam for configuration
46 lines
1.3 KiB
Bash
Executable File
46 lines
1.3 KiB
Bash
Executable File
#!/bin/sh
|
|
#------------------------------------------------------------------------------
|
|
# ========= |
|
|
# \\ / F ield | OpenFOAM: The Open Source CFD Toolbox
|
|
# \\ / O peration |
|
|
# \\ / A nd | Copyright (C) 2019 OpenCFD Ltd.
|
|
# \\/ M anipulation |
|
|
#------------------------------------------------------------------------------
|
|
# License
|
|
# This file is part of OpenFOAM, licensed under GNU General Public License
|
|
# <http://www.gnu.org/licenses/>.
|
|
#
|
|
# Script
|
|
# testThirdPartyFunctions
|
|
#
|
|
# Description
|
|
# Simple ad hoc tests of etc/tools/ThirdPartyFunctions
|
|
#
|
|
#------------------------------------------------------------------------------
|
|
|
|
echo ========================================
|
|
echo "Calling environment"
|
|
echo "CC=$CC"
|
|
echo "CXX=$CXX"
|
|
echo
|
|
echo ========================================
|
|
|
|
. "$WM_THIRD_PARTY_DIR/etc/tools/ThirdPartyFunctions"
|
|
|
|
#------------------------------------------------------------------------------
|
|
|
|
echo "CC=$(whichCC)"
|
|
echo "CXX=$(whichCXX)"
|
|
echo "mpicc=$(whichMpicc)"
|
|
echo "mpicxx=$(whichMpicxx)"
|
|
|
|
exportCompiler
|
|
|
|
echo ========================================
|
|
echo "using: $CC $CFLAGS"
|
|
echo "using: $CXX $CXXFLAGS"
|
|
echo
|
|
echo ========================================
|
|
|
|
#------------------------------------------------------------------------------
|