From 6821e22ead19a2a98074e913a1b3de9e905c42b6 Mon Sep 17 00:00:00 2001 From: sun1638650145 <1638650145@qq.com> Date: Thu, 24 Aug 2023 14:35:08 +0800 Subject: [PATCH] Add `tf-nightly-macos` support. --- oss_scripts/configure.sh | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/oss_scripts/configure.sh b/oss_scripts/configure.sh index 83dcd649a..73d7339eb 100755 --- a/oss_scripts/configure.sh +++ b/oss_scripts/configure.sh @@ -39,7 +39,8 @@ function is_macos() { if [[ $(pip show tensorflow) == *tensorflow* ]] || [[ $(pip show tensorflow-macos) == *tensorflow-macos* ]] || - [[ $(pip show tf-nightly) == *tf-nightly* ]]; then + [[ $(pip show tf-nightly) == *tf-nightly* ]] || + [[ $(pip show tf-nightly-macos) == *tf-nightly-macos* ]]; then echo 'Using installed tensorflow.' else echo 'Installing tensorflow.'