summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
Diffstat (limited to 'sci-libs/tensorflow/tensorflow-2.0.0.ebuild')
-rw-r--r--sci-libs/tensorflow/tensorflow-2.0.0.ebuild2
1 files changed, 1 insertions, 1 deletions
diff --git a/sci-libs/tensorflow/tensorflow-2.0.0.ebuild b/sci-libs/tensorflow/tensorflow-2.0.0.ebuild
index c72dd4ffc983..902eac64ba84 100644
--- a/sci-libs/tensorflow/tensorflow-2.0.0.ebuild
+++ b/sci-libs/tensorflow/tensorflow-2.0.0.ebuild
@@ -201,7 +201,7 @@ src_configure() {
export TF_CUDA_CLANG=0
export TF_NEED_TENSORRT=0
if use cuda; then
- export TF_CUDA_PATHS="${EPREFIX%/}/opt/cuda"
+ export TF_CUDA_PATHS="${EPREFIX}/opt/cuda"
export GCC_HOST_COMPILER_PATH="$(cuda_gccdir)/$(tc-getCC)"
export TF_CUDA_VERSION="$(cuda_toolkit_version)"
export TF_CUDNN_VERSION="$(cuda_cudnn_version)"