From: David Seifert Date: Sat, 8 Feb 2020 16:23:26 +0000 (+0100) Subject: sci-libs/tensorflow: [QA] Fix UnnecessarySlashStrip X-Git-Url: http://git.tremily.us/gitweb.cgi?a=commitdiff_plain;h=3399a6c53844778003f045a227ca8121e1908a0e;p=gentoo.git sci-libs/tensorflow: [QA] Fix UnnecessarySlashStrip Signed-off-by: David Seifert --- diff --git a/sci-libs/tensorflow/tensorflow-1.15.0.ebuild b/sci-libs/tensorflow/tensorflow-1.15.0.ebuild index 346da2aec9d2..7844e3a1a28b 100644 --- a/sci-libs/tensorflow/tensorflow-1.15.0.ebuild +++ b/sci-libs/tensorflow/tensorflow-1.15.0.ebuild @@ -202,7 +202,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)" 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)" diff --git a/sci-libs/tensorflow/tensorflow-2.1.0.ebuild b/sci-libs/tensorflow/tensorflow-2.1.0.ebuild index 5a87c8ff00d5..ff79ebeaaeb4 100644 --- a/sci-libs/tensorflow/tensorflow-2.1.0.ebuild +++ b/sci-libs/tensorflow/tensorflow-2.1.0.ebuild @@ -207,7 +207,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)"