Closed sjkelly closed 3 years ago
Wonderfull @sjkelly I really appreciate your help on this topic. I am really willing to switch to binary builders, I have still some opening questions/remarks, and maybe you can give me some insights
In the last version of UHD and following #4 I have added some code to always promote local install instead of artifact. Ideally, this should be to the choice of the user. Even more idealistic, the user may choose which version of UHD (i.e which jll package). But how to do this ? An ENV variable ? A specific configuration file ? Something else ?
Anyway many thanks for providing the tarballs :) @+R
Good info, thanks! We should be able to generate 4.0 and 4.1 binaries. I'll have to do some investigating and ask around about the way to do this, but this shouldn't be an issue. FWIW these binaries are ARM, X86, Linux/Mac/BSD and they should all be compatible. Do you think it would be better to upgrade to 4.1?
A good way to control binary providers is through https://github.com/JuliaPackaging/Preferences.jl
This may be better for overriding artifacts: https://pkgdocs.julialang.org/v1/artifacts/#Overriding-artifact-locations
Hello @sjkelly Great news, the version you have provided works perfectly on x86 Linux distributions. I add some trouble related to the switch of UHD41 to our e3xx devices but it is now solved (and this is independent from your proposal) I have slightly updated the code you have worked on to add
UHDBindings.set_provider("local")
the used lib will now be the one on your system (better than what we have done in https://github.com/JuliaTelecom/UHDBindings.jl/pull/4). If we have several jll packages in the future (for several UHD versions) it will allow us to easy switch from all package versions.recv!
code to solve that.Last step is to be sure that the test works on Mac, I will try to do this next week. Probably merge this at the same time we switch to libiio on AdalmPluto side for convergence.
Many many thanks for initiating this, this is a really better system I believe
Hi @RGerzaguet ! We have packaged libuhd in Yggdrasil, which should simplify some of the deployment here and add support for more platforms and architectures to this package. This uses
USRPHardwareDriver_jll
to provide libuhd. Unfortunately I do not have a USRP, so please be sure to test and let me know if there are issues here.