Skip to content

Conversation

@tobil4sk
Copy link
Contributor

Currently, only mingw builds are supported via mingw-make. This PR adds support for MSVC using nmake, which luarocks uses by default on MSVC based installations.

@tobil4sk tobil4sk force-pushed the feature/msvc-support branch from 99bc3dc to 4281b1c Compare February 19, 2025 21:31
@tobil4sk
Copy link
Contributor Author

The other windows ci failures seem related to: luarocks/luarocks#1726

@tobil4sk tobil4sk force-pushed the feature/msvc-support branch from 7f3a448 to 64527bd Compare February 24, 2025 23:24
@tobil4sk
Copy link
Contributor Author

The other windows ci failures seem related to: luarocks/luarocks#1726

I've upstreamed a patch for this issue, so ci is passing and everything should be working now.

@FourierTransformer
Copy link
Owner

Oh nice! Thanks for contributing. That's not really a use-case I've come across.

@FourierTransformer FourierTransformer merged commit d0baae9 into FourierTransformer:master Apr 16, 2025
29 checks passed
@tobil4sk tobil4sk deleted the feature/msvc-support branch April 16, 2025 11:08
@tobil4sk
Copy link
Contributor Author

Oh nice! Thanks for contributing. That's not really a use-case I've come across.

Thanks! It's useful for being able to install libraries on windows without requiring a mingw environment

Simn pushed a commit to HaxeFoundation/hx-lua-simdjson that referenced this pull request May 19, 2025
* Update simdjson to 3.11.3 (FourierTransformer#95)

* Removed old rockspec (FourierTransformer#96)

* Add scm rockspec for installing from master (FourierTransformer#98)

* Add support for windows with MSVC toolchain (FourierTransformer#97)

* Add nmake file for building with windows MSVC

* Fix function export for msvc build

* Add MSVC target to test matrix

* [ci] Use patched luarocks to fix msvc setup

* [ci] Add workaround for missing compat53

* [ci] Use patched luarocks to avoid compat53 issue

* [ci] Update to upstream version of luarocks

The patch for the lua compat53 issue has been merged now

* Fix missing LD flag for msvc makefile (FourierTransformer#99)

* Update simdjson to 3.12.3 (FourierTransformer#101)

* nmake: Fix file names for hxsimdjson

---------

Co-authored-by: FourierTransformer <FourierTransformer@users.noreply.github.com>
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

Successfully merging this pull request may close these issues.

2 participants