Go2Py_SIM/cpp_bridge/install.sh

20 lines
340 B
Bash
Raw Normal View History

2024-01-04 03:45:40 +08:00
#!/bin/bash
WorkDir=$(cd $(dirname $0); pwd)
echo "WrokDir=$WorkDir"
Arch=$(uname -m)
echo "CPU Arch=$Arch"
ThirdParty=$WorkDir/thirdparty
set -e
cp -r $WorkDir/include/* /usr/local/include
cp -r $WorkDir/lib/$Arch/* /usr/local/lib
cp -r $ThirdParty/include/* /usr/local/include
cp -r $ThirdParty/lib/$Arch/* /usr/local/lib
ldconfig