mirror of
https://github.com/zebrajr/tensorflow.git
synced 2025-12-06 00:19:58 +01:00
- Added MODULE.bazel and module extensions to introduce external dependencies with Bzlmod. - Added a CI config for Linux CPU build with Bzlmod (enabled by `--config=bzlmod`) TODOs: - Support overriding Python runtime - Support build with more configs and platforms PiperOrigin-RevId: 817711851
18 lines
620 B
Plaintext
18 lines
620 B
Plaintext
# Disable Bzlmod for now
|
|
common --noenable_bzlmod
|
|
common:bzlmod --enable_bzlmod --noenable_workspace
|
|
|
|
common --incompatible_enable_cc_toolchain_resolution
|
|
common --repo_env USE_HERMETIC_CC_TOOLCHAIN=1
|
|
|
|
# TODO: Migrate for https://github.com/bazelbuild/bazel/issues/7260
|
|
common:clang_local --noincompatible_enable_cc_toolchain_resolution
|
|
common:clang_local --@rules_ml_toolchain//common:enable_hermetic_cc=False
|
|
common:clang_local --repo_env USE_HERMETIC_CC_TOOLCHAIN=0
|
|
|
|
# Load the TensorFlow bazelrc
|
|
import %workspace%/tensorflow.bazelrc
|
|
import %workspace%/warnings.bazelrc
|
|
|
|
try-import %workspace%/xla_configure.bazelrc
|