Skip to content

Commit

Permalink
patch/cuda
Browse files Browse the repository at this point in the history
  • Loading branch information
cboettig committed Dec 23, 2023
1 parent e99d515 commit f15c188
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion scripts/setup_R.sh
Original file line number Diff line number Diff line change
Expand Up @@ -43,6 +43,8 @@ cat <<EOF >>"${R_HOME}/etc/Rprofile.site"
options(HTTPUserAgent = sprintf("R/%s R (%s)", getRversion(), paste(getRversion(), R.version["platform"], R.version["arch"], R.version["os"])))
EOF



## Install OpenBLAS and hot-switching to it
## https://github.com/rocker-org/rocker-versioned2/issues/390
if ! dpkg -l | grep -q libopenblas-dev; then
Expand All @@ -68,7 +70,7 @@ if [ ! -x "$(command -v r)" ]; then

# Clean up
# shellcheck disable=SC2086
apt-get remove --purge -y ${BUILDDEPS}
# apt-get remove --purge -y ${BUILDDEPS}
apt-get autoremove -y
apt-get autoclean -y
fi
Expand Down

0 comments on commit f15c188

Please sign in to comment.