mirror of
https://develop.openfoam.com/Development/ThirdParty-common.git
synced 2025-12-08 06:57:50 +00:00
CONFIG: enable shared libraries when building clang
This commit is contained in:
4
makeLLVM
4
makeLLVM
@ -4,7 +4,7 @@
|
|||||||
# \\ / F ield | OpenFOAM: The Open Source CFD Toolbox
|
# \\ / F ield | OpenFOAM: The Open Source CFD Toolbox
|
||||||
# \\ / O peration |
|
# \\ / O peration |
|
||||||
# \\ / A nd | Copyright (C) 2011-2016 OpenFOAM Foundation
|
# \\ / A nd | Copyright (C) 2011-2016 OpenFOAM Foundation
|
||||||
# \\/ M anipulation |
|
# \\/ M anipulation | Copyright (C) 2016 OpenCFD Ltd.
|
||||||
#------------------------------------------------------------------------------
|
#------------------------------------------------------------------------------
|
||||||
# License
|
# License
|
||||||
# This file is part of OpenFOAM.
|
# This file is part of OpenFOAM.
|
||||||
@ -90,7 +90,6 @@ USAGE
|
|||||||
|
|
||||||
#-----------------------------------------------------------------------------
|
#-----------------------------------------------------------------------------
|
||||||
|
|
||||||
|
|
||||||
# parse options
|
# parse options
|
||||||
while [ "$#" -gt 0 ]
|
while [ "$#" -gt 0 ]
|
||||||
do
|
do
|
||||||
@ -150,6 +149,7 @@ else
|
|||||||
--prefix=$LLVM_ARCH_PATH \
|
--prefix=$LLVM_ARCH_PATH \
|
||||||
--with-gcc-toolchain=$(which gcc | sed s%/bin/gcc%%) \
|
--with-gcc-toolchain=$(which gcc | sed s%/bin/gcc%%) \
|
||||||
--enable-optimized \
|
--enable-optimized \
|
||||||
|
--enable-shared \
|
||||||
&& make -j $WM_NCOMPPROCS \
|
&& make -j $WM_NCOMPPROCS \
|
||||||
&& make install \
|
&& make install \
|
||||||
&& echo "Built: $llvmPACKAGE"
|
&& echo "Built: $llvmPACKAGE"
|
||||||
|
|||||||
Reference in New Issue
Block a user