Reid Kleckner
d82b4fe50d
[bazel] Update build for config.h.cmake change
2022-06-03 12:58:04 -07:00
Benjamin Kramer
6b15157610
[bazel] Port 3031fa88f0
2022-04-07 12:14:14 +02:00
Nikita Popov
ed4e6e0398
[cmake] Remove LLVM_ENABLE_NEW_PASS_MANAGER cmake option
...
Or rather, error out if it is set to something other than ON. This
removes the ability to enable the legacy pass manager by default,
but does not remove the ability to explicitly enable it through
various flags like -flegacy-pass-manager or -enable-new-pm=0.
I checked, and our test suite definitely doesn't pass with
LLVM_ENABLE_NEW_PASS_MANAGER=OFF anymore.
Differential Revision: https://reviews.llvm.org/D123126
2022-04-06 09:52:21 +02:00
Sterling Augustine
61d5d12ca9
Update llvm-config.h.cmake for 7b983917d4
2022-03-18 12:59:15 -07:00
Benjamin Kramer
d3f4562cbd
[bazel] Sync llvm-config.h after 112aafcaf4
2022-03-18 10:45:54 +01:00
Sterling Augustine
6f958b6ff5
Update llvm-config.h.cmake for LLVM_UNREACHABLE_OPTIMIZE
2022-03-17 19:04:42 -07:00
Adrian Kuegel
7c786240bc
[Bazel] Update llvm-config.h to follow the typo fix.
2022-02-16 14:56:20 +01:00
Benjamin Kramer
356705f94f
[bazel] Sync llvm-config.h.cmake after a1862d78eb
2022-02-09 11:28:25 +01:00
Fangrui Song
c27890b5fd
[Bazel] Port e8bff9ae54
(move LLVM_ENABLE_ZLIB)
2022-02-07 11:45:31 -08:00
Tres Popp
99b5a8049b
Match bazel config with cmake after f29256a64
2022-01-21 09:50:05 +01:00
Dmitri Gribenko
fac18d7377
[Bazel] Add LLVM_BUILD_* variables to llvm-config.h to mirror ec37e0bbaf
2021-12-16 20:56:16 +01:00
Reid Kleckner
c6cfd385b1
[Bazel] Add LLVM_ENABLE_CURL to Bazel llvm-config.h.cmake for e0b259f2
2021-12-02 16:15:48 -08:00
Geoffrey Martin-Noble
011d8633eb
[Bazel] Update config for 070315d04c
...
This updates the Bazel configuration for
https://github.com/llvm/llvm-project/commit/070315d04c6b which moved
`LLVM_SUPPORT_XCODE_SIGNPOSTS` from llvm-config.h.cmake to
config.h.cmake.
Also adds a comment for `HAVE_PROC_PID_RUSAGE`, that I spotted was
missing.
Differential Revision: https://reviews.llvm.org/D111569
2021-10-11 11:44:38 -07:00
Geoffrey Martin-Noble
668aa531d6
[Bazel] Update for dbed061bf1
...
This adds Bazel configuration for the TargetMCA targets, which currently
only includes AMDGPU.
Reviewed By: rnk
Differential Revision: https://reviews.llvm.org/D106996
2021-07-28 13:24:16 -07:00
Geoffrey Martin-Noble
4aeb2e60df
Introduce a Bazel build configuration
...
This patch introduces configuration for a Bazel BUILD in a side
directory in the monorepo.
This is following the approval of
https://github.com/llvm/llvm-www/blob/main/proposals/LP0002-BazelBuildConfiguration.md
As detailed in the README, the Bazel BUILD is not supported
by the community in general, and is maintained only by interested
parties. It follows the requirements of the LLVM peripheral tier:
https://llvm.org/docs/SupportPolicy.html#peripheral-tier .
This is largely copied from https://github.com/google/llvm-bazel ,
with a few filepath tweaks and the addition of the README.
Reviewed By: echristo, keith, dblaikie, kuhar
Differential Revision: https://reviews.llvm.org/D90352
2021-06-22 12:47:43 -07:00