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

enable Windows build #15

Open
2 tasks
yarikoptic opened this issue Sep 19, 2018 · 7 comments
Open
2 tasks

enable Windows build #15

yarikoptic opened this issue Sep 19, 2018 · 7 comments

Comments

@yarikoptic
Copy link
Contributor

yarikoptic commented Sep 19, 2018

Any clue how difficult that would be? ;)

Blockers for "proper" package/functionality in conda

@yarikoptic
Copy link
Contributor Author

datalad/datalad-extensions#40 might pave the way (although not sure about libmagic since cross-building is probably not allowed, but probably build could just fetch the artifact from datalad-extensions or eventually "official" source).

@yarikoptic
Copy link
Contributor Author

ok -- we have 2 ways to proceed:

  • try to reproduce that github actions build recipe (now complete and works! with libmagic support)
  • "cheat": download git-annex-installer.exe, 7z x it and place binaries (if any moving needed) where desired. I would if that would work (yet to try, but I will). Note: we are not yet re-distributing those binary builds "publicly" (TODO: https://github.com/datalad/datalad-extensions/issues/46) so we could start with "stock" git-annex
    • known "issue": our builds do not work on windows 7 AFAIK.

@yarikoptic
Copy link
Contributor Author

@notestaff what would be your thinking/desire? ;)

@notestaff
Copy link
Contributor

"try to reproduce that github actions build recipe" seems more correct. Long-term, if something changes in the conda-forge build process, a recipe that does the building itself is more likely to still work / be easier to adjust? Unfortunately right now I don't have the bandwidth to figure this out, or the knolwedge of building on Windows...

@yarikoptic
Copy link
Contributor Author

yarikoptic commented Oct 26, 2020

yeah, bandwidth is limited here too and I always double think when I impose Windows goodness on someone ;) So what about two stage

  • short term -- "cheat" way, from http://datasets.datalad.org/datalad/packages/windows/ (I am testing such pure "extract" locally in a VM ATM)
  • long term -- "proper" build (there is little point to struggle if we see that windows build from "cheat" is "not working").

edit PS: I can take care about "cheat" one ;)

@notestaff
Copy link
Contributor

Sounds good. This won't be the only recipe to use such a "cheat" until a better way gets worked out.

@notestaff
Copy link
Contributor

p.s. what I really wish we had on Windows was a cygwin-based version, but unfortunately GHC has stopped supporting cygwin

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