Skip to content

Commit

Permalink
update build_win bat
Browse files Browse the repository at this point in the history
  • Loading branch information
chenjinglu committed Jul 17, 2019
1 parent 27a50e4 commit 183903d
Show file tree
Hide file tree
Showing 2 changed files with 18 additions and 2 deletions.
10 changes: 9 additions & 1 deletion build_win.bat
@@ -1,2 +1,10 @@
@set basedir=%~dp0
go build %basedir%cmd\gzv
set basedir=%basedir:\=/%
git submodule sync
git submodule update --init
sh.exe %basedir%tvm/ctvm/buildlib.sh
copy .\network\p2p\p2p_api.h .\network /y
copy .\network\p2p\windows\libp2pcore.a .\network /y
copy .\tvm\ctvm\py\tvm.h .\tvm /y
copy .\tvm\ctvm\examples\zvm\libtvm.a .\tvm /y
go build -o ./bin/gzv.exe %basedir%cmd/gzv
10 changes: 9 additions & 1 deletion build_win_releasebat.bat
@@ -1,2 +1,10 @@
@set basedir=%~dp0
go build -tags release %basedir%cmd\gzv
set basedir=%basedir:\=/%
git submodule sync
git submodule update --init
sh.exe %basedir%tvm/ctvm/buildlib.sh
copy .\network\p2p\p2p_api.h .\network /y
copy .\network\p2p\windows\libp2pcore.a .\network /y
copy .\tvm\ctvm\py\tvm.h .\tvm /y
copy .\tvm\ctvm\examples\zvm\libtvm.a .\tvm /y
go build -tags release -o ./bin/gzv.exe %basedir%cmd/gzv

0 comments on commit 183903d

Please sign in to comment.