Closed jgoldfar closed 6 years ago
Not sure how this would be tested through CI; would perhaps be worthwhile to be able to select a BinDeps provider manually and test more combinations? Homebrew install was not working locally, hence this fix
This isn't the right fix, the comparison shouldn't be on the pointer but on the dereferenced value, as was done upstream in https://github.com/coin-or/SYMPHONY/commit/907c0be7372580e849421ffda073af45daed35e5
Fair enough (and evident in retrospect.) Worth updating this PR or close?
Happy to merge if you want to update, whether it's worth it is up to you. See discussion in https://github.com/JuliaOpt/CoinOptServices.jl/pull/44
PR is updated (but this code path remains untested in any automated way...)
Suppose the homebrew provider could be put behind an env var flag so it would be possible to disable without needing code modifications, if you wanted to get fancy
My comment above is mostly a dupe of https://github.com/JuliaLang/BinDeps.jl/pull/334, but I wonder what the point of such an option would be if not also tested. Not that every project even could build on e.g. Travis before timing out; there's definitely merit to having one provider that works for 99% of cases. Looking forward to BinaryBuilder making our lives easier! PS many thanks for your contributions to Julia and the surrounding ecosystem
You would want to test things naturally, but Travis can't really do some of the more obscure cases like freebsd, and non-ubuntu distros or non-default configurations of julia would require more docker work than most people probably want to undertake.
Thanks for the kind words. I'm hardly involved much any more, hence the few month gap where I wasn't looking at things like this.
(makes ordered comparison between pointer and zero an error)