Skip to content

Commit 827300a

Browse files
author
黄宇扬
committed
增加一个少依赖的安装脚本
1 parent f2c88f7 commit 827300a

File tree

1 file changed

+22
-0
lines changed

1 file changed

+22
-0
lines changed

simple_install.sh

+22
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,22 @@
1+
#!/bin/bash
2+
folder="build-fastllm"
3+
4+
# 创建工作文件夹
5+
if [ ! -d "$folder" ]; then
6+
mkdir "$folder"
7+
fi
8+
9+
cd $folder
10+
cmake .. "$@"
11+
make -j$(nproc)
12+
13+
#编译失败停止执行
14+
if [ $? != 0 ]; then
15+
exit -1
16+
fi
17+
18+
cd tools
19+
pip install .
20+
#python3 setup.py sdist build
21+
#python3 setup.py bdist_wheel
22+
#python3 setup.py install --all

0 commit comments

Comments
 (0)