public inbox for gentoo-commits@lists.gentoo.org
 help / color / mirror / Atom feed
From: "Jason Zaman" <perfinion@gentoo.org>
To: gentoo-commits@lists.gentoo.org
Subject: [gentoo-commits] repo/gentoo:master commit in: sci-libs/tensorflow/
Date: Sun, 20 Jun 2021 22:05:01 +0000 (UTC)	[thread overview]
Message-ID: <1624226683.a99862388c0fcc72b52f87421630b8383061c317.perfinion@gentoo> (raw)

commit:     a99862388c0fcc72b52f87421630b8383061c317
Author:     Jian Lin <jlin.gentoo <AT> outlook <DOT> com>
AuthorDate: Mon May 10 07:30:13 2021 +0000
Commit:     Jason Zaman <perfinion <AT> gentoo <DOT> org>
CommitDate: Sun Jun 20 22:04:43 2021 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=a9986238

sci-libs/tensorflow: check gcc version correctly

Closes: https://bugs.gentoo.org/789270
Closes: https://github.com/gentoo/gentoo/pull/20750
Package-Manager: Portage-3.0.18, Repoman-3.0.2
Signed-off-by: Jian Lin <jlin.gentoo <AT> outlook.com>
Signed-off-by: Jason Zaman <perfinion <AT> gentoo.org>

 sci-libs/tensorflow/tensorflow-2.4.0.ebuild | 2 +-
 sci-libs/tensorflow/tensorflow-2.5.0.ebuild | 2 +-
 2 files changed, 2 insertions(+), 2 deletions(-)

diff --git a/sci-libs/tensorflow/tensorflow-2.4.0.ebuild b/sci-libs/tensorflow/tensorflow-2.4.0.ebuild
index f9f852726c0..7e6fd9bc4b8 100644
--- a/sci-libs/tensorflow/tensorflow-2.4.0.ebuild
+++ b/sci-libs/tensorflow/tensorflow-2.4.0.ebuild
@@ -233,7 +233,7 @@ src_configure() {
 			einfo "Setting CUDA version: $TF_CUDA_VERSION"
 			einfo "Setting CUDNN version: $TF_CUDNN_VERSION"
 
-			if [[ *$(gcc-version)* != $(cuda-config -s) ]]; then
+			if [[ $(cuda-config -s) != *$(gcc-version)* ]]; then
 				ewarn "TensorFlow is being built with Nvidia CUDA support. Your default compiler"
 				ewarn "version is not supported by the currently installed CUDA. TensorFlow will"
 				ewarn "instead be compiled using: ${GCC_HOST_COMPILER_PATH}."

diff --git a/sci-libs/tensorflow/tensorflow-2.5.0.ebuild b/sci-libs/tensorflow/tensorflow-2.5.0.ebuild
index f6bc650064f..3e640b929a9 100644
--- a/sci-libs/tensorflow/tensorflow-2.5.0.ebuild
+++ b/sci-libs/tensorflow/tensorflow-2.5.0.ebuild
@@ -238,7 +238,7 @@ src_configure() {
 			einfo "Setting CUDA version: $TF_CUDA_VERSION"
 			einfo "Setting CUDNN version: $TF_CUDNN_VERSION"
 
-			if [[ *$(gcc-version)* != $(cuda-config -s) ]]; then
+			if [[ $(cuda-config -s) != *$(gcc-version)* ]]; then
 				ewarn "TensorFlow is being built with Nvidia CUDA support. Your default compiler"
 				ewarn "version is not supported by the currently installed CUDA. TensorFlow will"
 				ewarn "instead be compiled using: ${GCC_HOST_COMPILER_PATH}."


             reply	other threads:[~2021-06-20 22:05 UTC|newest]

Thread overview: 89+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2021-06-20 22:05 Jason Zaman [this message]
  -- strict thread matches above, loose matches on Subject: below --
2024-02-03 19:35 [gentoo-commits] repo/gentoo:master commit in: sci-libs/tensorflow/ Jason Zaman
2023-06-27 13:11 David Seifert
2023-06-05 16:37 Jason Zaman
2023-01-10 14:15 Michał Górny
2022-11-25 18:27 Jason Zaman
2022-11-19  7:44 Sam James
2022-09-23  3:06 Jason Zaman
2022-06-26  2:45 Jason Zaman
2022-06-26  2:45 Jason Zaman
2022-06-17 18:00 Sam James
2022-02-07  1:58 Jason Zaman
2022-02-01 19:02 Michał Górny
2021-12-24 23:18 Jason Zaman
2021-12-20 10:57 David Seifert
2021-12-13  1:30 Jason Zaman
2021-12-11 20:30 Jason Zaman
2021-11-15 19:41 Jason Zaman
2021-11-15 17:52 Jason Zaman
2021-11-12 10:16 David Seifert
2021-11-05  9:56 David Seifert
2021-10-29 22:44 Sam James
2021-10-17  7:40 Sam James
2021-10-16 12:22 Jason Zaman
2021-09-24  9:59 David Seifert
2021-09-24  9:59 David Seifert
2021-08-01 13:19 Jason Zaman
2021-06-20 21:56 Jason Zaman
2021-06-18 21:07 David Seifert
2021-05-04 19:23 Sam James
2021-04-13  0:26 Sam James
2020-12-27 21:10 David Seifert
2020-12-25 23:42 Jason Zaman
2020-12-25 23:42 Jason Zaman
2020-12-07  3:59 Jason Zaman
2020-12-06 20:40 Jason Zaman
2020-11-28 22:42 Jason Zaman
2020-11-12  0:46 Jason Zaman
2020-11-12  0:33 Jason Zaman
2020-10-20  0:33 Jason Zaman
2020-10-09  3:58 Jason Zaman
2020-10-09  3:41 Jason Zaman
2020-09-25 18:32 Benda XU
2020-08-30  0:26 Jason Zaman
2020-05-16  1:00 Jason Zaman
2020-04-07  3:17 Jason Zaman
2020-03-29  2:26 Jason Zaman
2020-02-08 16:25 David Seifert
2019-12-24  9:40 Jason Zaman
2019-12-11  8:56 Jason Zaman
2019-12-11  8:56 Jason Zaman
2019-12-11  3:51 Aaron Bauman
2019-12-11  2:06 Aaron Bauman
2019-12-09  3:03 Jason Zaman
2019-12-08 17:26 Jason Zaman
2019-12-02 14:50 Jason Zaman
2019-10-01 14:52 Jason Zaman
2019-08-28  8:11 Jason Zaman
2019-08-07  7:58 Jason Zaman
2019-05-11 22:30 Jason Zaman
2019-05-05 19:05 Mike Gilbert
2019-04-29 14:24 Jason Zaman
2019-04-05 15:41 Jason Zaman
2019-02-18 13:54 Jason Zaman
2019-02-01 12:17 Jason Zaman
2018-12-24 10:32 Jason Zaman
2018-10-05  9:44 Jason Zaman
2018-09-28 10:24 Jason Zaman
2018-09-22 10:51 Jason Zaman
2018-09-21 18:27 Jason Zaman
2018-09-21 17:51 Jason Zaman
2018-09-18 18:08 Jason Zaman
2018-09-15 16:02 Jason Zaman
2018-08-09 16:11 Jason Zaman
2018-08-08 17:32 Jason Zaman
2018-08-06 16:32 Jason Zaman
2018-08-02 11:35 Guilherme Amadio
2018-07-17  9:56 Jason Zaman
2018-07-17  9:56 Jason Zaman
2018-07-12  5:23 Jason Zaman
2018-07-08 15:48 Jason Zaman
2018-07-08 15:29 Jason Zaman
2018-06-27  6:45 Jason Zaman
2018-06-24  5:28 Jason Zaman
2018-06-19  5:10 Jason Zaman
2018-06-12  4:07 Jason Zaman
2018-06-11 18:24 Jason Zaman
2018-05-04  3:12 Jason Zaman
2018-05-02 11:16 Jason Zaman

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=1624226683.a99862388c0fcc72b52f87421630b8383061c317.perfinion@gentoo \
    --to=perfinion@gentoo.org \
    --cc=gentoo-commits@lists.gentoo.org \
    --cc=gentoo-dev@lists.gentoo.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox