Switch back to using OpenBLAS for Ubuntu 22 #122
Merged
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
Switches the Ubuntu 22 R builds back to using OpenBLAS. When we added Ubuntu 20 support, there was a bug with the OpenBLAS package that caused hangs/crashes with R, so we replaced it with the (slower) default reference BLAS (#62). That bug doesn't affect Ubuntu 22 and was probably patched on Ubuntu 20 already, so we can switch back to using OpenBLAS. This change essentially reverts 1bedbc6 but for Ubuntu 22 (which was mostly copied from Ubuntu 20)
This change shouldn't break any existing installations of R on Ubuntu 22. You'll be able to reinstall R and continue using any previously installed packages. Ubuntu/Debian makes BLAS libraries swappable at runtime with the alternatives system, so you could also make this change on an existing installation by running
apt install libopenblas-dev
, and R will automatically switch to using OpenBLAS. You can also revert back to using the default BLAS with theupdate-alternatives
command if you wanted to.