mirror of
https://github.com/superconvert/smart-os.git
synced 2024-11-25 19:51:32 +08:00
update script
This commit is contained in:
parent
64e259b360
commit
62d7211be2
@ -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
|
||||||
|
Loading…
Reference in New Issue
Block a user