BinaryBuilder.jl icon indicating copy to clipboard operation
BinaryBuilder.jl copied to clipboard

Specify binary dep version in Step 2b?

Open KMarkert opened this issue 2 years ago • 2 comments

Is there a way to specify a specific version of a dependency at step 2b when using the wizard? Something like MbedTLS_jll v"2.24.0"?

I know a specific version can be specified in the build_tarballs.jl file but when trying to walk through the build using the wizard it would be helpful to have this capability.

KMarkert avatar Jan 03 '22 01:01 KMarkert

This can probably be handled by using the syntax

[email protected]

One needs to implement the parsing of this syntax, using the version number to select the dependency version and propagate it to the generated build script.

giordano avatar Jan 04 '22 15:01 giordano

I am happy to try to implement this. I haven't looked too much at the internals of BinaryBuilder though so I will probably need some guidance.

Just scanning quickly, it looks like the binary dependencies are gathered using obtain_binary_deps. Then if we parse out the version can we specify the Dependency versions for the PackageSpec when trying to resolve them?

KMarkert avatar Jan 04 '22 19:01 KMarkert