Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

build a k6 binary #57

Open
vealfan opened this issue Sep 24, 2024 · 3 comments
Open

build a k6 binary #57

vealfan opened this issue Sep 24, 2024 · 3 comments

Comments

@vealfan
Copy link

vealfan commented Sep 24, 2024

请问我下载了源码之后,想本地编译k6的二进制文件,通过go.exe build -o k6_arm这种方式编译出来的产品是有问题的,请问是操作有问题嘛?

@vealfan
Copy link
Author

vealfan commented Sep 24, 2024

因为对于文档使用的编译方法有些疑惑,所以想采用上面的方式

@vealfan
Copy link
Author

vealfan commented Sep 24, 2024

请问,我fork到本地之后,修改了源代码,但是本地编译二进制包报错
make build-dev
go install go.k6.io/xk6/cmd/xk6@v0.9.2

if replace nebula-go, need to change nebula-go path

process_begin: CreateProcess(NULL, # if replace nebula-go, need to change nebula-go path, ...) failed.
make (e=2): 系统找不到指定的文件。
make: *** [Makefile:44: build-dev] Error 2

@HarrisChu
Copy link
Contributor

我没在 windows 上试过,不确定能不能编成功
你可以试着改一下 makefile,看看是不是路径的原因

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants