BinDeps provider for hwloc library on Windows

I maintain Julia bindings for the hwloc library at https://github.com/JuliaParallel/Hwloc.jl. Installing hwloc works fine on Linux and Darwin (macOS), but fails on Windows. I have a Windows desktop for experimenting, but am not familiar with Windows or with BinDeps for Windows. Things fail (see below), and I am looking for pointers for how to debug this.

I have Appveyor set up, and it might be easiest to look here https://github.com/JuliaParallel/Hwloc.jl/pull/17 to see the build errors. In short, deps/build.jl contains

provides(Binaries,
         URI("http://www.open-mpi.org/software/hwloc/v2.0/downloads/" *
             "hwloc-win$(Base.Sys.WORD_SIZE)-build-2.0.1.zip"),
         [libhwloc],
         unpacked_dir="hwloc-win$(Base.Sys.WORD_SIZE)-build-2.0.1/bin",
         os = :Windows)

and this leads to the error

ERROR: LoadError: Provider Binaries failed to satisfy dependency libhwloc

for both 32-bit and 64-bit Windows. Apart from this error message, there is not much more information pointing to what exactly went wrong. See the Appveyor results from the pull request above for the complete output with all details.

I also briefly tried using WinRPM, but didn’t get much further. If you think that WinRPM is the way to go, let me know, and I’ll re-enable it.

I’d be grateful for any pointers.
-erik

You got me curious and I spend some time looking into this, but in the end it turns out that the dll in the download has a different name and it is just a matter to update the alias. Send in a PR.

D’oh. Thanks for the pointer – I updated the alias.

-erik