aboutsummaryrefslogtreecommitdiffhomepage
path: root/third_party/llvm/llvm.bzl
Commit message (Collapse)AuthorAge
* Merge pull request #18293 from rongjiecomputer:llvmGravatar TensorFlower Gardener2018-09-11
|\ | | | | | | PiperOrigin-RevId: 212543062
| * Actually add posix_cmake_varsGravatar Loo Rong Jie2018-08-25
| |
| * Add back LLVM_ENABLE_STATSGravatar Loo Rong Jie2018-08-25
| |
| * [XLA/AOT] Build LLVM with Bazel on WindowsGravatar Loo Rong Jie2018-08-25
|/
* Automated rollback of commit fe6b586e862bf7288e138d73f2e66cf8cef7eb26. ↵Gravatar Gunhan Gulsoy2018-08-09
| | | | | | Revert #18293. PiperOrigin-RevId: 208084441
* PR #18293: [XLA/AOT] Build LLVM with Bazel on WindowsGravatar Patrick Nguyen2018-08-09
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | I previously use hacky BUILD file to import prebuilt LLVM binaries from CMake to Bazel so that I can build `tfcompile` with Bazel on Windows, but since Tensorflow updates the LLVM revision used very frequently, this method is too troublesome. I am trying to make XLA/AOT to work out-of-the-box on Windows with Bazel, then convince Tensorflow team to create a presubmit so that no one can break XLA/AOT on Windows anymore. Summary: - Remove unused `llvm_host_triple`. - Rename `cmake_vars` to `posix_cmake_vars` and create a new `win32_cmake_vars` as Windows is sufficiently different from other platforms. - Create `LLVM_DEFINES`, `LLVM_COPTS` and `LLVM_LINKOPTS` in `llvm.bzl` to set global compile/link flags for LLVM. - Create macro `llvm_cc_library` that wrap around `cc_library` to ensure that all targets receive `LLVM_COPTS` consistently. Replace all `cc_library` with `llvm_cc_library`. - For `support` library, include `lib/Support/Windows/*` for Windows and `lib/Support/Unix/*` for others. If `llvm.BUILD` is not to be edited manually no matter what, can the script used to generate `llvm.BUILD` be open-sourced? #15213 /cc @tatatodd Imported from GitHub PR #18293 Copybara import of the project: - a5e7b841d79878b12e0d0103e5b1813384a80aa8 [XLA/AOT] Build LLVM with Bazel on Windows by Loo Rong Jie <loorongjie@gmail.com> - b3a20c7bbff95fd8ad9f44c653a3ecffc54de3b3 Add back LLVM_ENABLE_STATS by Loo Rong Jie <loorongjie@gmail.com> - 787d451b495180f5c882d09d76222c157102f0fc Merge b3a20c7bbff95fd8ad9f44c653a3ecffc54de3b3 into 6a1ff... by Loo Rong Jie <loorongjie@gmail.com> COPYBARA_INTEGRATE_REVIEW=https://github.com/tensorflow/tensorflow/pull/18293 from rongjiecomputer:llvm b3a20c7bbff95fd8ad9f44c653a3ecffc54de3b3 PiperOrigin-RevId: 208073601
* For llvm_support_platform_specific_srcs_glob use a select-of-globGravatar Sanjoy Das2018-07-30
| | | | | | | instead of glob-of-select. This was suggested in https://github.com/tensorflow/tensorflow/commit/add96c8632df9596a73bf637d6b7015e9c7beaad#r29707275 PiperOrigin-RevId: 206657397
* Fix some whitespace and lint issues with llvm.bzl.Gravatar Sanjoy Das2018-07-30
| | | | PiperOrigin-RevId: 206651482
* Few more supporting changes for #18293Gravatar Sanjoy Das2018-07-09
| | | | | | | | | | - Remove LLVM_DEFINES from all targets but :config to avoid running into Windows command line length limitations. - Add LLVM_COPTS to cc_binary rules. - Extract out a list of platform specific headers to a LLVM_SUPPORT_PLATFORM_SPECIFIC_SRCS_GLOB variable. PiperOrigin-RevId: 203806527
* Move some logic from llvm.autogenerated.BUILD to llvm.bzlGravatar Sanjoy Das2018-06-28
| | | | | | | | | This lets external contributors add or remove compiler flags without having access to the generator script (which isn't open source). E.g. see #18293 PiperOrigin-RevId: 202322000
* Explicitly name the @org_tensorflow repository in a tool label.Gravatar A. Unique TensorFlower2017-08-14
| | | | PiperOrigin-RevId: 165249531
* Merge changes from github.Gravatar A. Unique TensorFlower2017-01-02
| | | | Change: 143412147
* Adds a Bazel BUILD for LLVM.Gravatar Peter Hawkins2016-11-22
Change: 139938302