-
Notifications
You must be signed in to change notification settings - Fork 26
setup appveyor and make it work on windows #11
Comments
do you have concrete plans on supporting windows in the near future? Since hwloc provides windows binaries, i suppose there should be a rather easy way. |
@Trolldemorted yeah I don't have immediate access to a windows box, so any contribution would be very welcome! :) |
how can i help? this is what happens if i add
|
Looks like pid_t and pthread_t are not available on windows, I guess next step is to research what to use instead on windows. I wonder if we need some kind of type abstraction over the process and thread id in the library to mask this nicely |
ah actually there is #16 open for this. Looking at other libraries it looks like we need to pull in |
After applying this diff, cargo can now successfully build hwloc-rs on windows. Unfortunately, if i use it in my project the linker failes: I cannot open the inputfile either since i am unable to locate it, so i guess it is missing. Any ideas? Unfortunately my knowledge on rust&cargo is rather basic. |
After renaming the hwloc windows binaries What is the intended workflow? How do i tell cargo/rustc/link.exe where to look for the hwloc binaries, and what their filenames are? |
Wow that is very cool! great you see you got it to work. Honestly I don't know how the workflow should look like - I wonder if the library can link to them directly for windows without having to rename them? |
this is how rustc calls the linker (newlines added for readability):
As you can see the linker will expect |
@Trolldemorted thank you very much! I'll slice a release as soon as I can with it :) |
appveyor is not yet working, we are on it. edit: we found the error, but since travis is incapable of getting it's shit together we are waiting whether the travis build needs some more love too. |
yeah for some reason the travis build is still queued |
@Trolldemorted do you want me to do slice a 0.4 release with what we have right now? |
i tested it on ubuntu & w10, if it works on mac too then go ahead i'd say 👍 Do you want to support 32bit builds too? We did not bother to test these. |
@Trolldemorted certainly not for 0.4 :) I'll run the tests on mac and if it works release 0.4. thanks so much for the work on the windows builds |
@Trolldemorted I had to change kernel32-sys to 0.2.1 since cargo reported issues:
|
on which system? macos? |
yeah, I wonder that its not failing all the time, since its a cargo dependency mismatch? |
@Trolldemorted it would also be cool if at some point you could add a small section for windows to the readme that would be fantastic :) |
YAY! appveyor just went green on the badge :) So I'll close out this one and release 0.4.. thanks much again! |
No description provided.
The text was updated successfully, but these errors were encountered: