Adding and accessing library files in julia package?

My plan is writing a my_Julia_package which depends on third party libraries. These libraries (with extensions .dll, .so and .dylib) are available at an URL and have to be accessed in my package. I don’t want to include them directly in my_Julia_package, as these files are relatively large in size and are updated frequently by the owner of binaries. These binaries should be downloaded on fly and specific to the platform(windows, mac or Linux) where package is being installed.

I have got the very preliminary understanding that building artifacts.toml and using binarybuilder.jl will help me in sailing through the above task but not clear how!

Please direct me to some resources where I can learn or explain the procedure here.

Thanks in advance.

https://docs.binarybuilder.org/dev/

5 Likes