mirror of
https://develop.openfoam.com/Development/ThirdParty-common.git
synced 2025-12-08 06:57:50 +00:00
STYLE: update some instructions in makeLLVM
This commit is contained in:
10
makeCmake
10
makeCmake
@ -58,11 +58,11 @@ options:
|
||||
USAGE
|
||||
exit 1
|
||||
}
|
||||
#------------------------------------------------------------------------------
|
||||
|
||||
# ensure CMake gets the correct C++ compiler
|
||||
# ensure CMake gets the correct /CC++ compiler
|
||||
[ -n "$WM_CC" ] && export CC="$WM_CC"
|
||||
[ -n "$WM_CXX" ] && export CXX="$WM_CXX"
|
||||
[ -n "$WM_CC" ] && export CC="$WM_CC"
|
||||
|
||||
|
||||
# parse options
|
||||
while [ "$#" -gt 0 ]
|
||||
@ -72,8 +72,8 @@ do
|
||||
usage
|
||||
;;
|
||||
-gcc)
|
||||
export CC=gcc # use gcc
|
||||
export CXX=g++ # use g++
|
||||
export CC=gcc # use gcc/g++
|
||||
export CXX=g++
|
||||
;;
|
||||
cmake-[1-9]*)
|
||||
cmakePACKAGE="${1%%/}"
|
||||
|
||||
Reference in New Issue
Block a user