commit | 36c8af5b05377126514e368ccf011a089a457e47 | [log] [tgz] |
---|---|---|
author | Yun Peng <pcloudy@google.com> | Thu Oct 31 03:01:55 2019 -0700 |
committer | Copybara-Service <copybara-worker@google.com> | Thu Oct 31 03:02:50 2019 -0700 |
tree | a1bbd318f254361c423dd31131d41dd7053f5bda | |
parent | 752ffcc8ac45656c801f82119794594ddab01427 [diff] |
Fix python zip file name when target name has dot (.) To fix https://buildkite.com/bazel/bazel-at-head-plus-disabled/builds/351#26e616ad-56b1-4d78-b64c-fcb3c5c66f41/436-470 When building python zip file on linux and mac, we accidentally remove the last segment when a python target name has dot (.). For example, `create_tensorflow.python_api_2_keras_python_api_gen_compat_v2 -> create_tensorflow` This commit replace the usage of `ruleContext.getDerivedArtifact` with a custom implementation to fix this problem. Closes #10119. PiperOrigin-RevId: 277685509
{Fast, Correct} - Choose two
Build and test software of any size, quickly and reliably.
Speed up your builds and tests: Bazel rebuilds only what is necessary. With advanced local and distributed caching, optimized dependency analysis and parallel execution, you get fast and incremental builds.
One tool, multiple languages: Build and test Java, C++, Android, iOS, Go, and a wide variety of other language platforms. Bazel runs on Windows, macOS, and Linux.
Scalable: Bazel helps you scale your organization, codebase, and continuous integration solution. It handles codebases of any size, in multiple repositories or a huge monorepo.
Extensible to your needs: Easily add support for new languages and platforms with Bazel's familiar extension language. Share and re-use language rules written by the growing Bazel community.
Follow our tutorials:
See CONTRIBUTING.md