search for: bazel

Displaying 20 results from an estimated 33 matches for "bazel".

Did you mean: babel
2019 Aug 08
2
Bazel support
Hi all, trust all is well! I was wondering if LLVM would have a Bazel integrated build in the future? I can imagine the benefits this could bring, especially with regards to remote builds and caching. I'm thinking of dumping the LLVM source-tree into my code-base and experiment with building LLVM via Bazel. Will pull requests be accepted for this? I won't mi...
2019 Aug 12
2
Bazel support
Hi Wynand, My big concern is related to what Mehdi mentioned as #4. Bazel doesn't really handle the configuration-management that CMake does, so adding Bazel support would really mean supporting an extra build system with no path for it to replace CMake. We're kinda already in that situation with gn, but gn is a developer productivity tool and we don't consid...
2020 Nov 17
4
RFC: Contributing Bazel BUILD files in the "peripheral" support tier
I previously <https://groups.google.com/g/llvm-dev/c/u07o3QREVUg/> proposed contributing Bazel build files to the LLVM monorepo, supported *only* by interested community members and not to interfere with or affect the existing CMake configuration. As part of that conversation, it became clear that the LLVM policies for more "peripheral" components were not clearly documented. We no...
2018 Aug 05
2
Building LLVM through Bazel
Hi llvm-dev, I'm not sure if this is the right place for this, but I posted a question on Stack Overflow <https://stackoverflow.com/questions/51585688/building-llvm-with-bazel> a week ago with no response, so feel free to point me elsewhere if there is a more appropriate place. Basically, I have a project using LLVM as a dependency currently building with CMake, which I would like to switch over to Bazel. However I am not able to get LLVM to build because header file...
2020 Nov 17
0
RFC: Contributing Bazel BUILD files in the "peripheral" support tier
On 11/16/20 10:01 PM, Geoffrey Martin-Noble via llvm-dev wrote: > I previously <https://groups.google.com/g/llvm-dev/c/u07o3QREVUg/ > > proposed contributing Bazel build files to the LLVM monorepo, > supported *only* by interested community members and not to interfere > with or affect the existing CMake configuration. As part of that > conversation, it became clear that the LLVM policies for more > "peripheral" components were not c...
2018 Aug 15
2
Building LLVM through Bazel
...ite at the point where LLVM wants to start supporting two build systems again (used to be Configure+Make and the CMake system, now it's just the Cmake system), but if you want to make it work out-of-tree it shouldn't be too difficult (Google does this internally with the internal version of Bazel). Writing a short BUILD extension for running tblgen should be possible without too much complexity - not sure what Tensorflow is doing that makes its solution so complicated, it doesn't seem like it should be terribly hard, just a genrule to run tblgen and generate the appropriate files from t...
2018 Aug 15
1
Building LLVM through Bazel
...t's needed to hack this together on my end. I guess my real question is what underlying commands are necessary to build all the source files (without actually compiling the C/C++)? If I can understand how to do this manually with terminal/cmake/tblgen, then I could probably get it to work with Bazel. Looking at TensorFlow's setup <https://github.com/tensorflow/tensorflow/blob/efddd17519e43e956c3fa79981c408803521fe61/third_party/llvm/llvm.autogenerated.BUILD#L195>, it looks like tblgen has dependencies on support which goes down to zlib and gets a lot of complexity there. I get the i...
2018 Aug 16
2
Building LLVM through Bazel
...nd. >> >> I guess my real question is what underlying commands are necessary to >> build all the source files (without actually compiling the C/C++)? If I can >> understand how to do this manually with terminal/cmake/tblgen, then I could >> probably get it to work with Bazel. >> >> Looking at TensorFlow's setup >> <https://github.com/tensorflow/tensorflow/blob/efddd17519e43e956c3fa79981c408803521fe61/third_party/llvm/llvm.autogenerated.BUILD#L195>, >> it looks like tblgen has dependencies on support which goes down to zlib >> and...
2018 Aug 16
3
Building LLVM through Bazel
...inting that out), but it runs into the same "No such file or directory: *.inc". I don't see those files built anywhere in that list. Does it take tblgen into account? Doug On Thu, Aug 16, 2018, 1:02 PM Sanjoy Das <sanjoy at playingwithpointers.com> wrote: > TensorFlow uses bazel to build LLVM: > https://github.com/tensorflow/tensorflow/tree/master/third_party/llvm > The script that generates llvm.autogenerated.BUILD is not open sourced > yet unfortunately but looking skimming through the generated file > should give you a rough idea of what's involved. >...
2017 Jul 07
3
Uncovering non-determinism in LLVM - The Next Steps
> > >>> >>> One of our definitions of non-determinism is simply "output from command >>> line tools should always be bit identical given identical inputs", which is >>> suitable for content-based caching build systems like Bazel. >>> >> Just to point out: These systems already often have to ignore whitespace >> differences, etc. >> >> I'd also argue any of these content-based caching build systems is going >> to be rarely used if they require every single tool that uses them to &g...
2017 Jul 06
3
Uncovering non-determinism in LLVM - The Next Steps
...gful sense, despite it outputting different textual form. >> > > One of our definitions of non-determinism is simply "output from command > line tools should always be bit identical given identical inputs", which is > suitable for content-based caching build systems like Bazel. > Just to point out: These systems already often have to ignore whitespace differences, etc. I'd also argue any of these content-based caching build systems is going to be rarely used if they require every single tool that uses them to produce bit identical output (IE boiling the ocean), a...
2016 Jul 22
4
ThinLTO status in trunk?
First, kudos on the ThinLTO results reported in your blog post — they’re impressive and the system sounds really well engineered. I’m starting to try it out on a large piece of software and I’d like to make sure I know what to expect. The blog said it will be available in clang-3.9 but both clang-3.8 and trunk seem to have some degree of support for it. What is the status of ThinLTO in 3.8
2018 Sep 26
4
[RFC] Proposal: llvm-tapi, adding YAML/stub generation for ELF linking support
...ols and the key benefits that resulted from them: - Apple’s TAPI [1]: Stubbing used to reduce SDK size and improve build times. - Oracle’s Solaris OS linker [2]: Stubbing used to improve build times, and improve robustness of build system (against dependency cycles and race conditions). - Google’s Bazel [3]: Stubbing used to improve build times. - Google’s Fuchsia [4] [5]: Stubbing used to improve build times. - Android NDK: Stubbing used to reduce size of native sdk, control exported symbols, and improve build times. Somewhat tangentially, a tool called libabigail [6] provides utilities for trac...
2016 Jul 22
3
ThinLTO status in trunk?
...g with multiple threads using gold. > > The distributed build support is also in (which needs support in the build system however), although I am fixing a few bugs right now that popped up in testing our internal apps. Which distributed build system do you use? We have support coming out in Bazel, which is our open sourced distributed build system. > > Let me know if you run into any issues or have any other questions! > > Teresa > > >> On Fri, Jul 22, 2016 at 12:15 PM, Adve, Vikram Sadanand via llvm-dev <llvm-dev at lists.llvm.org> wrote: >> First, k...
2018 Sep 27
4
[RFC] Proposal: llvm-tapi, adding YAML/stub generation for ELF linking support
...> > - Apple’s TAPI [1]: Stubbing used to reduce SDK size and improve build times. > > - Oracle’s Solaris OS linker [2]: Stubbing used to improve build > > times, and improve robustness of build system (against dependency > > cycles and race conditions). > > - Google’s Bazel [3]: Stubbing used to improve build times. > > - Google’s Fuchsia [4] [5]: Stubbing used to improve build times. > > - Android NDK: Stubbing used to reduce size of native sdk, control > > exported symbols, and improve build times. > > > > Somewhat tangentially, a tool...
2016 Jul 22
2
ThinLTO status in trunk?
...g with multiple threads using gold. > > The distributed build support is also in (which needs support in the build system however), although I am fixing a few bugs right now that popped up in testing our internal apps. Which distributed build system do you use? We have support coming out in Bazel, which is our open sourced distributed build system. > > Let me know if you run into any issues or have any other questions! > > Teresa > > > On Fri, Jul 22, 2016 at 12:15 PM, Adve, Vikram Sadanand via llvm-dev <llvm-dev at lists.llvm.org <mailto:llvm-dev at lists.llv...
2018 Sep 26
2
[RFC] Proposal: llvm-tapi, adding YAML/stub generation for ELF linking support
...;> >> - Apple’s TAPI [1]: Stubbing used to reduce SDK size and improve build times. >> - Oracle’s Solaris OS linker [2]: Stubbing used to improve build >> times, and improve robustness of build system (against dependency >> cycles and race conditions). >> - Google’s Bazel [3]: Stubbing used to improve build times. >> - Google’s Fuchsia [4] [5]: Stubbing used to improve build times. >> - Android NDK: Stubbing used to reduce size of native sdk, control >> exported symbols, and improve build times. >> >> Somewhat tangentially, a tool calle...
2018 Sep 26
2
[RFC] Proposal: llvm-tapi, adding YAML/stub generation for ELF linking support
...tubbing used to reduce SDK size and improve build times. >> >> - Oracle’s Solaris OS linker [2]: Stubbing used to improve build >> >> times, and improve robustness of build system (against dependency >> >> cycles and race conditions). >> >> - Google’s Bazel [3]: Stubbing used to improve build times. >> >> - Google’s Fuchsia [4] [5]: Stubbing used to improve build times. >> >> - Android NDK: Stubbing used to reduce size of native sdk, control >> >> exported symbols, and improve build times. >> >> >>...
2019 May 06
4
Proposal to add preprocessor warning for unused command line macros
...arge projects with thousands of files and many contributors have a tendency to accumulate build options over time. As time passes some build options like macros become replaced, obsolete, or simply no longer used. At the same time it is becoming more and more common that build environments such as Bazel are used to try to minimize the build effort and more importantly speed up builds. Build acceleration tools commonly use the build options, and among them macros, to determine if the output from a build is equivalent or not with a later build of the same compilation unit. The commands ... $ clang...
2018 Sep 28
2
[RFC] Proposal: llvm-tapi, adding YAML/stub generation for ELF linking support
...ng used to reduce SDK size and improve build > times. > >>> - Oracle’s Solaris OS linker [2]: Stubbing used to improve build > >>> times, and improve robustness of build system (against dependency > >>> cycles and race conditions). > >>> - Google’s Bazel [3]: Stubbing used to improve build times. > >>> - Google’s Fuchsia [4] [5]: Stubbing used to improve build times. > >>> - Android NDK: Stubbing used to reduce size of native sdk, control > >>> exported symbols, and improve build times. > >>> > &gt...