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

Make compiling under Windows possible #19

Merged
merged 5 commits into from
Nov 22, 2023
Merged

Make compiling under Windows possible #19

merged 5 commits into from
Nov 22, 2023

Conversation

g5t
Copy link
Collaborator

@g5t g5t commented Nov 22, 2023

If a user has MinGW gcc and Java JRE >= 11 these changes will enable creation and compilation of Instr objects on a Windows machine.
These dependencies, plus HDF5 support, can be obtained from conda-forge using, e.g., miniforge mamba

$ mamba create -n mccode_antlr python h5py antlr m2w64-gcc

One change is in this repository, to fix a problem with quoted Windows paths not being valid C strings due to the use of '' as path separator.

The second change is in the McCode runtime header to define precompiler macros which work for MinGW gcc mkdir and getpid.

@g5t g5t merged commit fbb9b4a into main Nov 22, 2023
11 checks passed
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.

1 participant