Skip to content

Commit

Permalink
export env vars
Browse files Browse the repository at this point in the history
  • Loading branch information
t-kalinowski committed Aug 2, 2023
1 parent 555f502 commit 823d8a0
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions R/install.R
Original file line number Diff line number Diff line change
Expand Up @@ -223,8 +223,8 @@ function(method = c("auto", "virtualenv", "conda"),
cudnn_path <- get_cudnn_path(python)
cudnn_path <- sub(path.expand("~"), "${HOME}", cudnn_path, fixed = TRUE)
vars <- c(
sprintf('CUDNN_PATH="%s"', cudnn_path),
sprintf('LD_LIBRARY_PATH="${CUDNN_PATH}/lib:${LD_LIBRARY_PATH}"')
sprintf('export CUDNN_PATH="%s"', cudnn_path),
sprintf('export LD_LIBRARY_PATH="${CUDNN_PATH}/lib:${LD_LIBRARY_PATH}"')
)

msg <- "# Configured by the R function tensorflow::install_tensorflow()"
Expand Down

0 comments on commit 823d8a0

Please sign in to comment.