Ai
5 Star 17 Fork 2

Gitee 极速下载/SonoBus

加入 Gitee
与超过 1200万 开发者一起发现、参与优秀开源项目,私有仓库也完全免费 :)
免费加入
文件
此仓库是为了提升国内下载速度的镜像仓库,每日同步一次。 原始仓库: https://github.com/sonosaurus/sonobus
克隆/下载
buildcmake.sh 444 Bytes
一键复制 编辑 原始数据 按行查看 历史
Jesse Chappell 提交于 2021-04-06 10:53 +08:00 . fixes to win build/release
#!/bin/bash
OPTS=""
CONFIG="Release"
if [ "$1" = "debug" ]; then
CONFIG="Debug"
fi
JOBS=2
if nproc &> /dev/null ; then
JOBS=$(nproc)
elif sysctl -n hw.logicalcpu &> /dev/null; then
JOBS=$(sysctl -n hw.logicalcpu)
elif [ -n "$NUMBER_OF_PROCESSORS" ] ; then
JOBS=$NUMBER_OF_PROCESSORS
fi
OPTS="-j ${JOBS}"
cmake --build build --config $CONFIG $OPTS
if [ -d build32 ] ; then
cmake --build build32 --config $CONFIG $OPTS
fi
Loading...
马建仓 AI 助手
尝试更多
代码解读
代码找茬
代码优化
C/C++
1
https://gitee.com/mirrors/SonoBus.git
git@gitee.com:mirrors/SonoBus.git
mirrors
SonoBus
SonoBus
main

搜索帮助