mirror of
https://github.com/Relintai/osxcross.git
synced 2025-02-03 22:45:56 +01:00
build_clang.sh: Allow unmanned instllation
To get a completely env independent setup we may want to install Clang/LLVM to the target folder as well. So let's allow user to do it in a scripted way just adding ENABLE_CLANG_INSTALL=1 for execution string.
This commit is contained in:
parent
77fcafc20b
commit
86433b6ece
@ -130,12 +130,21 @@ else
|
||||
fi
|
||||
fi
|
||||
|
||||
echo ""
|
||||
echo "Done!"
|
||||
echo ""
|
||||
echo -n "cd into '$PWD/$stage' and type 'make install' to install "
|
||||
echo "clang/llvm to '$INSTALLPREFIX'"
|
||||
echo ""
|
||||
if [ -z "$ENABLE_CLANG_INSTALL" ]; then
|
||||
echo ""
|
||||
echo "Done!"
|
||||
echo ""
|
||||
echo -n "cd into '$PWD/$stage' and type 'make install' to install "
|
||||
echo "clang/llvm to '$INSTALLPREFIX'"
|
||||
echo ""
|
||||
else
|
||||
pushd $stage &>/dev/null
|
||||
$MAKE install -j $JOBS VERBOSE=1
|
||||
popd &>/dev/null
|
||||
echo ""
|
||||
echo "Done!"
|
||||
echo ""
|
||||
fi
|
||||
|
||||
popd &>/dev/null # llvm
|
||||
popd &>/dev/null
|
||||
|
Loading…
Reference in New Issue
Block a user