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

Feature request: please native build support to MS Windows #325

Open
kgfly opened this issue Oct 23, 2019 · 4 comments · May be fixed by #512
Open

Feature request: please native build support to MS Windows #325

kgfly opened this issue Oct 23, 2019 · 4 comments · May be fixed by #512

Comments

@kgfly
Copy link

kgfly commented Oct 23, 2019

When measuring the system performance on Windows, running inside "WSL" does not make sense, since "WSL" itself is slow.

So please add native build support on Windows.

Thanks

@akopytov
Copy link
Owner

akopytov commented Oct 24, 2019

OK, but please keep in mind this will likely stay open for a long time because:

  1. Porting to Windows is not as easy as it may seem due to dependencies on C99, ConcurrencyKit and autotools;
  2. Windows is nowhere near the top of my priorities;
  3. Lack of external contributions.

@kgfly
Copy link
Author

kgfly commented Oct 25, 2019

Thanks. Please keep it alive till resolved. Windows user really need it!.

@yrro
Copy link

yrro commented Oct 30, 2019

I did a bit of hacking on this which you can see at https://github.com/akopytov/sysbench/compare/master...yrro:mingw?expand=1.

After bypassing a test in concurrencykit's build system that prevents cross-compilation, ./configure --build=x86_64-linux-gnu --host=x86_64-w64-mingw32 --without-mysql is sufficient to get sysbench to compile, if not link.

Linking will fail until replacements for srandom, random, pread and pwrite are found. Finally, I think libluajit-5.1.a isn't being built with the correct calling convention and none of its symbols are found.

@akopytov
Copy link
Owner

akopytov commented Oct 30, 2019

@yrro that looks like a MinGW port to me, and I'm happy to merge it, if it works for you. But just to avoid confusion, MinGW is not a native Windows build, so it is technically unrelated to the original feature request in this issue.

@vaintroub vaintroub linked a pull request Sep 9, 2023 that will close this issue
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging a pull request may close this issue.

3 participants