Fix py39 bin path for pyenv on MacOS
PiperOrigin-RevId: 360993968 Change-Id: I933411967a70a37919226a16764a8afbb0c59692
This commit is contained in:
parent
a3b73ec312
commit
6a2d982fa9
@ -44,7 +44,7 @@ export PATH=$PATH:/usr/local/bin
|
||||
|
||||
# Run configure.
|
||||
export CC_OPT_FLAGS='-mavx'
|
||||
export PYTHON_BIN_PATH=$(which python3.9)
|
||||
export PYTHON_BIN_PATH=$(which python)
|
||||
yes "" | "$PYTHON_BIN_PATH" configure.py
|
||||
|
||||
# Build the pip package
|
||||
|
@ -42,7 +42,7 @@ install_macos_pip_deps
|
||||
export TF_NEED_CUDA=0
|
||||
export CC_OPT_FLAGS='-mavx'
|
||||
export TF2_BEHAVIOR=1
|
||||
export PYTHON_BIN_PATH=$(which python3.9)
|
||||
export PYTHON_BIN_PATH=$(which python)
|
||||
yes "" | "$PYTHON_BIN_PATH" configure.py
|
||||
|
||||
tag_filters="-no_oss,-oss_serial,-nomac,-no_mac$(maybe_skip_v1),-gpu,-tpu,-benchmark-test"
|
||||
|
@ -44,7 +44,7 @@ export TF_PYTHON_VERSION='python3.9'
|
||||
export TF_BUILD_BOTH_CPU_PACKAGES=1
|
||||
|
||||
# Run configure.
|
||||
export PYTHON_BIN_PATH=$(which ${TF_PYTHON_VERSION})
|
||||
export PYTHON_BIN_PATH=$(which python)
|
||||
yes "" | "$PYTHON_BIN_PATH" configure.py
|
||||
|
||||
# Export optional variables for running pip.sh
|
||||
|
Loading…
x
Reference in New Issue
Block a user