commit | 250647bc89d5bb42fa2456b2b497fb254c775861 | [log] [tgz] |
---|---|---|
author | leba <leba@google.com> | Wed Feb 05 02:01:02 2020 -0800 |
committer | Copybara-Service <copybara-worker@google.com> | Wed Feb 05 02:02:48 2020 -0800 |
tree | e6287eccb2bf58230ec58e0c39cc5bbe0f07c094 | |
parent | 507120622d6fc48502d5dcfd54612a517e1a5dad [diff] |
Automated rollback of commit 64a1326c7cfd66f597c290613b9ffdf8fabd4b17. *** Reason for rollback *** Broke many targets in nightly TGP. *** Original change description *** Recognize CUDA and OpenCL file types (.cu, .cl, .inl, .cuh) and compile them with a C++ compiler. This will allow CUDA and OpenCL files to be compiled with clang, which supports both natively. Change taken from https://github.com/bazelbuild/bazel/issues/6578#issuecomment-463944092 RELNOTES: Treat .cu and .cl files as C++ source. CUDA or OpenCL are not natively supported and will require custom flags to compile with e.g. clang. PiperOrigin-RevId: 293324316
{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