Skip to content

Commit

Permalink
Fix(kclvm-win): Added the missing kclvm-python in build.bat. (#358)
Browse files Browse the repository at this point in the history
  • Loading branch information
zong-zhe authored Jan 3, 2023
1 parent 95d5e20 commit 57f0054
Showing 1 changed file with 9 additions and 2 deletions.
11 changes: 9 additions & 2 deletions scripts/build-windows/build.bat
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,7 @@ _output\kclvm-windows\kclvm.exe -m pip install ^
--target=_output\kclvm-windows\Lib\site-packages

:: install kclvm
go run gen-kclvm-py.go
_output\kclvm-windows\kclvm.exe -m pip install kclvm

:: install python39 include and libs
go run .\copy-dir.go .\py39-libs .\_output\kclvm-windows
Expand All @@ -41,7 +41,14 @@ go build -o .\_output\kclvm-windows\bin\kcl-plugin.exe kcl-plugin.go
go build -o .\_output\kclvm-windows\bin\kcl-vet.exe kcl-vet.go

:: run hello.k
_output\kclvm-windows\bin\kcl.exe ..\..\hello.k
_output\kclvm-windows\bin\kcl.exe ..\..\samples\fib.k
_output\kclvm-windows\bin\kcl.exe ..\..\samples\hello.k
_output\kclvm-windows\bin\kcl.exe ..\..\samples\kubernetes.k

_output\kclvm-windows\bin\kclvm-cli.exe run ..\..\samples\fib.k
_output\kclvm-windows\bin\kclvm-cli.exe run ..\..\samples\hello.k
_output\kclvm-windows\bin\kclvm-cli.exe run ..\..\samples\kubernetes.k

_output\kclvm-windows\bin\kcl.exe ..\..\samples\fib.k --target native
_output\kclvm-windows\bin\kcl.exe ..\..\samples\hello.k --target native
_output\kclvm-windows\bin\kcl.exe ..\..\samples\kubernetes.k --target native

0 comments on commit 57f0054

Please sign in to comment.