commit | f53c389dbd4b0ae66307e9bd4a72b36b3d284ec3 | [log] [tgz] |
---|---|---|
author | Omar Zuniga <omarzl@hotmail.es> | Wed Aug 25 07:09:23 2021 -0700 |
committer | Copybara-Service <copybara-worker@google.com> | Wed Aug 25 07:11:02 2021 -0700 |
tree | 102bf9e3cf6afb00cf20f1e653d57db4f3852704 | |
parent | 2f2a437b9052aa158ee77d73063572683ff1b112 [diff] |
LLVM BC support Using [rules_swift](https://github.com/bazelbuild/rules_swift) it is possible to generate LLVM IR BC files using `swift.emit_bc` feature, some days ago a [refactor](https://github.com/bazelbuild/rules_swift/commit/8cf36354655e6baa276fd7a5bae29b00ee5757c3#diff-535d0dbea9614c6905a30dfdb0e708df3b16fc68f8930d6aba519342509dc657R1948) to use `create_compilation_outputs` from `cc_common` was merged, it is giving us the following error since the bc extension is missing, this pr fixes it ``` Error in create_compilation_outputs: 'Somefile.swift.bc' has wrong extension. The list of possible extensions for 'objects' is: .o,.obj,.pic.o,.opb ``` Closes #13889. PiperOrigin-RevId: 392889724
{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