Open dertuxmalwieder opened 2 years ago
jemalloc relies on configure to bootstrap the build system, I'm not sure how to do so without sh. I believe https://github.com/jemalloc/jemalloc/issues/303 is required to achieve cross platform support.
Probably, yes. I admit that I have never tried to use jemalloc itself on Windows, so my initial idea might be wrong indeed.
@BusyJay Hello, I have installed make on windows via Chocolatey, but still sh
is a linux command. Would it be possible to remove sh
during a build? Thanks.
And I don't know what this line is for https://github.com/tikv/jemallocator/blob/main/jemalloc-sys/build.rs#L161, seems like this is blocking for windows as well.
You can check https://github.com/jemalloc/jemalloc/blob/dev/INSTALL.md#building-for-windows for prerequisites of Windows platform.
While analyzing the issue mentioned in https://github.com/ezrosent/frawk/issues/87, I found that
tikv-jemalloc-sys
(build.rs
) relays onsh
during its build process. As jemalloc, more or less, supports native compilation on Windows without any MinGW,bash
, or other emulations of Unix-like platforms, I would suggest that the hard-codedsh
call gets a forking path for Windows.