update script

This commit is contained in:
superconvert 2022-10-02 18:45:28 +08:00
parent 64e259b360
commit 62d7211be2

View File

@ -590,9 +590,7 @@ llvm_build() {
shift shift
if [ ! -f .${name} ]; then if [ ! -f .${name} ]; then
echo "${CYAN}build ${name} begin${NC}" && cd ${srcdir} && mkdir -pv build && cd build echo "${CYAN}build ${name} begin${NC}" && cd ${srcdir} && mkdir -pv build && cd build
if [ -f CMakeLists.txt ]; then cmake .. -DCMAKE_INSTALL_PREFIX=/usr
cmake . -DCMAKE_INSTALL_PREFIX=/usr
fi
if [ -f ./configure ]; then if [ -f ./configure ]; then
./configure ${cfg_opt} "$@" ${xwin_opt} ./configure ${cfg_opt} "$@" ${xwin_opt}
fi fi