mirror of
https://gitee.com/fasiondog/hikyuu.git
synced 2024-12-01 03:18:18 +08:00
39 lines
976 B
Bash
Executable File
39 lines
976 B
Bash
Executable File
#!/bin/sh
|
|
|
|
cp boost-build.jam.linux boost-build.jam
|
|
cp Jamroot.linux Jamroot
|
|
|
|
b2 -j 4 link=shared
|
|
|
|
#toolset=clang-linux-3.8
|
|
toolset=gcc-5.4.0
|
|
|
|
#cd ./libs
|
|
#doxygen
|
|
#cd ..
|
|
|
|
rm -v -f ./tools/hikyuu/*.so
|
|
|
|
cp -v -f ./build/hikyuu_python/$toolset/release/_hikyuu.so ./tools/hikyuu
|
|
cp -v -f ./build/hikyuu_python/$toolset/release/indicator/_indicator.so ./tools/hikyuu/indicator
|
|
cp -v -f ./build/hikyuu_python/$toolset/release/trade_manage/_trade_manage.so ./tools/hikyuu/trade_manage
|
|
cp -v -f ./build/hikyuu_python/$toolset/release/trade_sys/_trade_sys.so ./tools/hikyuu/trade_sys
|
|
cp -v -f ./build/hikyuu_python/$toolset/release/trade_instance/_trade_instance.so ./tools/hikyuu/trade_instance
|
|
|
|
|
|
cp -v -f ./build/hikyuu/$toolset/release/libhikyuu.so ./tools/hikyuu
|
|
cp -v -f ./build/hikyuu_utils/$toolset/release/libhikyuu_utils.so ./tools/hikyuu
|
|
|
|
cp -v -f ./hikyuu_extern_libs/linux64/*.* ./tools/hikyuu
|
|
|
|
cd ./test
|
|
b2 -j 4 link=shared
|
|
|
|
python ../tools/hikyuu/test/test.py
|
|
|
|
cd ..
|
|
|
|
|
|
|
|
|