Skip to content

Commit

Permalink
Merge pull request #477 from 255-1/master
Browse files Browse the repository at this point in the history
修改install.sh
  • Loading branch information
ztxz16 authored Jul 19, 2024
2 parents eca2c84 + 5e073da commit b24e33b
Showing 1 changed file with 8 additions and 2 deletions.
10 changes: 8 additions & 2 deletions install.sh
Original file line number Diff line number Diff line change
Expand Up @@ -8,8 +8,14 @@ fi

cd $folder
cmake .. "$@"
make -j
make -j$(nproc)

#编译失败停止执行
if [ $? != 0 ]; then
exit -1
fi

cd tools
python3 setup.py sdist build
python3 setup.py bdist_wheel
python3 setup.py install
python3 setup.py install

0 comments on commit b24e33b

Please sign in to comment.