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

Windows executable #855

Open
GiovanniBussi opened this issue Aug 30, 2022 · 2 comments
Open

Windows executable #855

GiovanniBussi opened this issue Aug 30, 2022 · 2 comments

Comments

@GiovanniBussi
Copy link
Member

@tonigi I move the discussion here since I think this is partly independent from the conda-forge thing.

It might be interesting to be able to provide at least a plumed driver executable for Windows.

  • Here Toni managed to have a working conda-forge package
  • This is another repository by Toni to setup tests for the resulting executable.
@GiovanniBussi
Copy link
Member Author

GiovanniBussi commented Aug 30, 2022

@tonigi since I understood that the slowest part is building with conda, I checked how long does it take to build with mingw (see this repository).

  • Build takes ~ 7 minutes on GitHub actions
  • I have no idea if the resulting executable is working, you can find it at the end of this page this page.
  • I added you as a collaborator in the repository above, I imagine this is sufficient to download the artifact. Otherwise I can send you the file.

What do you think?

@tonigi
Copy link
Contributor

tonigi commented Aug 30, 2022

Here is yet another repository where i build+regtest the conda package with github actions. Conda-build is ~30 min. The advantage is that it may happen at every commit on par with the other archs.

The setup is very similar to Appveyor's . The only advantage of Appveyor is that it allows interactive checks.

On the other hand, I wouldn't bother with wine... Mingw works quite nice already. Regarding stand-alone vs conda, I have no strong opinion. Some people seem to expect the latter, but they should also know that functionalities are quite reduced in any case.

Cross-builds, as you have seen, are very fast and in my experience "it just works". It's how I used to build the exe's recommended for VMD's PLUMED-GUI.

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