8 Commits

Author SHA1 Message Date
Kirill
c0d1d0405c
[bazel] Update WORKSPACE file in examples (#97613) 2024-07-03 11:01:26 -07:00
Jordan Rupprecht
2fcfc9754a [NFC] Reformat bzl files with buildifier 2024-02-12 11:35:18 -08:00
Aiden Grossman
7381dec436 [bazel] Update example workspace files with dependencies
Currently, the example workspace files do not work properly. The
llvm_disable_optional_support_deps option was removed in 7b5d6cd
and zlib and zstd have been needed-by-default dependencies for a while,
so it would make sense to show definitions in the example bazel
workspace files, especially given the version sensitivity of the zlib-ng
build. This patch removes the use of dated build config flags and adds
dependency definitions to both of the example workspaces.

Reviewed By: aaronmondal

Differential Revision: https://reviews.llvm.org/D156654
2023-08-02 11:21:20 -07:00
Aaron Siddhartha Mondal
7b5d6cd7fc
[bazel] Remove terminfo dependency
The only enabling configuration of this is irreproducible. Since
terminfo doesn't provide essential functionality, remove it so that all
external dependencies now follow the same config_setting pattern.

This should be an NFC for most setups and all CI setups.

Reviewed By: phosek, MaskRay

Differential Revision: https://reviews.llvm.org/D151006
2023-05-22 19:00:14 +02:00
Christian Sigg
81d5412439 Simplify setting up LLVM as bazel external repo
Only require one intermediate repository instead of two.
Fewer parameters in llvm_config.

Second attempt of https://reviews.llvm.org/D107714, this time also updating `third_party_build` and `deps_impl` paths.

Reviewed By: GMNGeoffrey

Differential Revision: https://reviews.llvm.org/D108274
2021-08-19 09:37:26 +02:00
Geoffrey Martin-Noble
8b86b3a846 [Bazel] Use bazel_skylib paths for paths munging
We do a lot of path munging and bazel_sklyib is a pretty reasonable dep.

Reviewed By: jpienaar

Differential Revision: https://reviews.llvm.org/D106175
2021-07-16 13:52:07 -07:00
Geoffrey Martin-Noble
d08f8960d0 [Bazel] add missing load to submodule example
I missed this in https://reviews.llvm.org/D105245

Reviewed By: chandlerc

Differential Revision: https://reviews.llvm.org/D105252
2021-06-30 19:35:27 -07:00
Geoffrey Martin-Noble
9cc1ddd393 [Bazel] Update README with examples
Reviewed By: chandlerc

Differential Revision: https://reviews.llvm.org/D105245
2021-06-30 16:50:23 -07:00