# Copyright 2023 The TensorFlow Authors. All Rights Reserved. # # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. # You may obtain a copy of the License at # # http://www.apache.org/licenses/LICENSE-2.0 # # Unless required by applicable law or agreed to in writing, software # distributed under the License is distributed on an "AS IS" BASIS, # WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. # See the License for the specific language governing permissions and # limitations under the License. # ============================================================================== TFCI_BAZEL_COMMON_ARGS="--repo_env=HERMETIC_PYTHON_VERSION=$TFCI_PYTHON_VERSION --repo_env=USE_PYWRAP_RULES=True --config release_macos_arm64" TFCI_BAZEL_TARGET_SELECTING_CONFIG_PREFIX=macos_arm64 TFCI_BUILD_PIP_PACKAGE_WHEEL_NAME_ARG="--repo_env=WHEEL_NAME=tensorflow" TFCI_INDEX_HTML_ENABLE=1 TFCI_LIB_SUFFIX="-cpu-darwin-arm64" TFCI_MACOS_BAZEL_TEST_DIR_ENABLE=1 TFCI_MACOS_BAZEL_TEST_DIR_PATH="/Volumes/BuildData/bazel_output" TFCI_OUTPUT_DIR=build_output TFCI_WHL_BAZEL_TEST_ENABLE=1 TFCI_WHL_SIZE_LIMIT=245M TFCI_WHL_SIZE_LIMIT_ENABLE=1 # 3.11 is the system python on our images case $TFCI_PYTHON_VERSION in 3.11) TFCI_MACOS_PYENV_INSTALL_ENABLE=0 ;; 3.13) TFCI_MACOS_UPGRADE_PYENV_ENABLE=1 TFCI_MACOS_PYENV_INSTALL_ENABLE=1 ;; *) TFCI_MACOS_PYENV_INSTALL_ENABLE=1 ;; esac