代码拉取完成,页面将自动刷新
同步操作将从 fasiondog/hikyuu 强制同步,此操作会覆盖自 Fork 仓库以来所做的任何修改,且无法恢复!!!
确定后同步将在后台操作,完成时将刷新页面,请耐心等待。
@echo off
goto Start
:Not_found_compiler
echo Can't found compiler
goto :eof
:Start
if NOT exist boost-build.jam copy boost-build.jam.win boost-build.jam
if NOT exist Jamroot copy Jamroot.win Jamroot
set ADDRESS_MODEL_OUTPUT=
REM GUESS PROCESSOR_ARCHITECTURE
if "_%PROCESSOR_ARCHITECTURE%_" == "_AMD64_" (
set ADDRESS_MODEL=address-model=64
set ADDRESS_MODEL_OUTPUT=address-model-64
goto Guess_compiler)
:Guess_compiler
REM GUESS COMPILER
REM if NOT "_%VS140COMNTOOLS%_" == "__" (
REM set BUILD_OUTPUT_PATH=msvc-14.0\release\address-model-64\threading-multi
REM set TOOLSET=toolset=msvc-14.0
REM goto Start_build)
REM if NOT "_%VS120COMNTOOLS%_" == "__" (
REM set BUILD_OUTPUT_PATH=msvc-12.0\release\address-model-64\threading-multi
REM set TOOLSET=toolset=msvc-12.0
REM goto Start_build)
if NOT "_%VS100COMNTOOLS%_" == "__" (
set BUILD_OUTPUT_PATH=msvc-10.0\release\%ADDRESS_MODEL_OUTPUT%\threading-multi
set TOOLSET=toolset=msvc-10.0
goto Start_build)
if NOT "_%VS90COMNTOOLS%_" == "__" (
set BUILD_OUTPUT_PATH="msvc-9.0\release\%ADDRESS_MODEL_OUTPUT%\threading-multi"
set TOOLSET=toolset=msvc-9.0
goto Start_build)
goto Not_found_compiler
:Start_build
@echo on
b2 -j 4 link=shared threading=multi %ADDRESS_MODEL%
REM %TOOLSET% 需要利用Jamroot消除告警
@if NOT exist .\bin mkdir .\bin
del .\tools\hikyuu\*.dll
del .\tools\hikyuu\*.exe
del .\tools\hikyuu\*.pyd /S
copy .\extern-libs\boost\*.dll .\tools\hikyuu
copy .\extern-libs\hdf5\dll\*.dll .\tools\hikyuu
copy .\extern-libs\log4cplus\dll\*.dll .\tools\hikyuu
copy .\extern-libs\mysql\lib\*.dll .\tools\hikyuu
copy .\extern-libs\msvc\*.dll .\tools\hikyuu
copy .\build\extern-libs\%BUILD_OUTPUT_PATH%\*.dll .\tools\hikyuu
copy .\build\hikyuu\%BUILD_OUTPUT_PATH%\*.dll .\tools\hikyuu
copy .\build\hikyuu_utils\%BUILD_OUTPUT_PATH%\*.dll .\tools\hikyuu
copy .\build\importdata\%BUILD_OUTPUT_PATH%\*.exe .\tools\hikyuu
copy .\build\hikyuu_python\%BUILD_OUTPUT_PATH%\*.pyd .\tools\hikyuu
copy .\build\hikyuu_python\%BUILD_OUTPUT_PATH%\indicator\*.pyd .\tools\hikyuu\indicator
copy .\build\hikyuu_python\%BUILD_OUTPUT_PATH%\trade_manage\*.pyd .\tools\hikyuu\trade_manage
copy .\build\hikyuu_python\%BUILD_OUTPUT_PATH%\trade_sys\*.pyd .\tools\hikyuu\trade_sys
copy .\build\hikyuu_python\%BUILD_OUTPUT_PATH%\trade_instance\*.pyd .\tools\hikyuu\trade_instance
cd ./test
bjam -j 4 link=shared threading=multi %ADDRESS_MODEL%
cd ..
python .\tools\hikyuu\test\test.py
此处可能存在不合适展示的内容,页面不予展示。您可通过相关编辑功能自查并修改。
如您确认内容无涉及 不当用语 / 纯广告导流 / 暴力 / 低俗色情 / 侵权 / 盗版 / 虚假 / 无价值内容或违法国家有关法律法规的内容,可点击提交进行申诉,我们将尽快为您处理。