Benjamin Kramer
28944dbb2a
[bazel] Add missing dependencies for e34dbb127a
2024-06-28 13:26:53 +02:00
Keith Smiley
c63eaddb62
[bazel] Port #96805 ( #96988 )
2024-06-27 17:08:41 -07:00
Benjamin Kramer
43953af9d3
[bazel] Port e035ef0e74
2024-06-27 16:40:33 +02:00
Benjamin Kramer
eabe091cdb
[bazel] Add missing dependency for 5ed5d723db
2024-06-25 14:49:28 +02:00
Oleksandr "Alex" Zinenko
01fb5290eb
Fix bazel after 18cf1cd92b
...
mlir-config.h is included but not listed in dependencies
2024-06-25 09:32:03 +02:00
Keith Smiley
a030c8bc87
[bazel] Add support for building lldb-dap ( #96556 )
2024-06-24 14:43:05 -07:00
Keith Smiley
dd8d978b76
[bazel] Switch mach_gen to apple_genrule ( #96551 )
...
mig is a tool vendored with Xcode. Using apple_genrule makes sure that
the bazel selected version of Xcode is preferred, and that the action is
invalidated when that version changes.
2024-06-24 14:42:51 -07:00
Keith Smiley
b1a93dbaba
[bazel] Export distributable lldb files ( #96549 )
...
If you're building and vendoring lldb, you might need to also vendor
these files.
2024-06-24 13:31:02 -07:00
Keith Smiley
0534953253
[bazel] Port #95312 ( #96533 )
2024-06-24 11:35:16 -07:00
Angel Zhang
13c1fec471
Reland "[mlir][spirv] Add a generic convert-to-spirv pass" ( #96359 )
...
This PR relands #95942 , which was reverted in #96332 due to link
failures. It fixes the issue by updating CMake dependencies. The bazel
support, originally introduced in #96334 , is also included in this PR.
---------
Co-authored-by: Keith Smiley <keithbsmiley@gmail.com >
2024-06-24 11:11:35 -04:00
Keith Smiley
f82a595b7f
[bazel] Fix mpfr_wrapper build ( #96341 )
2024-06-21 11:06:28 -07:00
Keith Smiley
8abb5ae1c2
Revert "[bazel] Port #95942 " ( #96340 )
...
Original change was reverted
Reverts llvm/llvm-project#96334
2024-06-21 11:04:28 -07:00
Keith Smiley
1eddf3519f
[bazel] Port #95942 ( #96334 )
2024-06-21 09:57:46 -07:00
Joel Wee
9048150cbc
Fix bazel build after bc82793
2024-06-21 13:21:44 +00:00
JoelWee
52bec3e362
Revert f5c2ef2597
2024-06-21 14:18:40 +01:00
JoelWee
f5c2ef2597
Fix bazel build after bc82793b
2024-06-21 14:12:06 +01:00
Danial Klimkin
797724975b
Fix bazel build past e2296d8295 ( #96166 )
2024-06-20 12:43:46 +02:00
Danial Klimkin
1d1d007b4b
Fix bazel build past abd95342f0 ( #96143 )
2024-06-20 09:08:46 +02:00
MaheshRavishankar
5207632f86
[mlir][GPU] Move GPUDeviceMappingAttr.td to GPU/IR. ( #95880 )
...
This seems to be in the wrong place with `GPU/TransformOps`
2024-06-18 10:04:45 -07:00
Benjamin Chetioui
153fca5d6a
[mlir][bzl] Fix broken BUILD due to typo in CAPITransformsObjects in BUILD.bazel.
2024-06-14 16:40:53 +02:00
Jacques Pienaar
93181db7fb
[mlir][bzl] Add missing dep
...
The file was added to MLIRBindingsPythonCoreNoCAPI but objects weren't.
Signed-off-by: Jacques Pienaar <jpienaar@google.com >
2024-06-13 20:48:17 +00:00
Emilio Cota
90d166aded
[mlir][bazel] fixes for 3c9a9c7365
2024-06-12 11:10:42 -04:00
Emilio Cota
8b18684708
[mlir][bazel] fixes for 18cf1cd92b
2024-06-11 18:56:26 -04:00
Jacques Pienaar
18cf1cd92b
[mlir] Add PDL C & Python usage ( #94714 )
...
Following a rather direct approach to expose PDL usage from C and then
Python. This doesn't yes plumb through adding support for custom
matchers through this interface, so constrained to basics initially.
This also exposes greedy rewrite driver. Only way currently to define
patterns is via PDL (just to keep small). The creation of the PDL
pattern module could be improved to avoid folks potentially accessing
the module used to construct it post construction. No ergonomic work
done yet.
---------
Signed-off-by: Jacques Pienaar <jpienaar@google.com >
2024-06-11 07:45:12 -07:00
Dmitry Chernenkov
be6248a42a
[Bazel] Layering fix for 65310f34d7
2024-06-11 14:26:18 +00:00
Benjamin Kramer
37e9bf9d15
[bazel] Add missing dependency for 3cc2710e0d
2024-06-11 15:48:41 +02:00
Emilio Cota
3254f31a66
[mlir][bazel] fixes for e276cf0
2024-06-10 14:24:03 -04:00
Dmitry Chernenkov
97159a378c
[mlir][Bazel] Fix for 4722911
2024-06-10 15:45:53 +00:00
Dmitry Chernenkov
11a944c50a
[bazel][libc]Fix test bazel for 6b21e17049
2024-06-10 14:33:02 +00:00
Keith Smiley
06188d9af7
[bazel] Port #94081 ( #94805 )
2024-06-07 14:42:17 -07:00
Keith Smiley
4196c185b1
[bazel] Port #94078 ( #94792 )
2024-06-07 12:25:33 -07:00
Haojian Wu
5d0308f393
[bazel] Port for 649edb8eb2
2024-06-06 21:15:08 +02:00
Jordan Rupprecht
ab33fa59a2
[bazel] Fix smoke/BUILD.bazel layering in nextafter_test_template ( #94641 )
...
After 63cda2d19c .
See also a97871e07d .
2024-06-06 11:46:05 -05:00
Adam Paszke
23d86165aa
[Bazel] Generate LLVM_HAS_XYZ_TARGET macros in llvm config ( #94476 )
...
Otherwise code that depends on those targets being enabled might not get
compiled correctly even if the targets are explicitly included in the
configuration (in my case NVVM target for MLIR).
2024-06-06 10:12:09 -05:00
Haojian Wu
a97871e07d
[bazel] Fix layering check violation for nextafter_test_template target for 63cda2d
2024-06-06 15:43:56 +02:00
Haojian Wu
4559d83b24
[bazel] Port for 8516f54e6a
...
Remove some #includes in ExpandVariadics.cpp as it will cause layering
violations.
2024-06-06 12:32:48 +02:00
Michael Jones
20483edd27
[libc] Unpoison epoll structs ( #94536 )
...
The epoll wait functions return structs via pointer, but those structs
need to be unpoisoned before return. This patch adds that unpoisoning.
2024-06-05 15:02:28 -07:00
Keith Smiley
3d44926712
[bazel] Sync config with main ( #94521 )
2024-06-05 12:00:00 -07:00
Jordan Rupprecht
4e0d9370f4
[bazel][windows] Add ntdll linkopt for Support ( #94501 )
...
Mirror the cmake change in cb7690af09
```
lld-link: error: undefined symbol: __declspec(dllimport) RtlGetLastNtStatus
>>> referenced by Support.lib(ErrorHandling.obj):(class std::error_code __cdecl llvm::mapLastWindowsError(void))
```
2024-06-05 12:33:48 -05:00
Haojian Wu
2d9b83750f
[bazel] Add missing dep for __support_cpp_expected
2024-06-05 15:13:29 +02:00
Keith Smiley
2e0e163bb5
[bazel] Port #94109 ( #94395 )
2024-06-04 13:08:48 -07:00
Keith Smiley
3b2df5b6ee
[bazel] Port #94218 ( #94390 )
2024-06-04 12:48:45 -07:00
Keith Smiley
fbaec0f46b
[bazel] Reduce output on CI ( #94298 )
...
This makes bazel only show the output for tests that don't pass. This
should reduce a ton of info in the log to make it easier to find
failures. The log is so long now that you can no longer view the whole
thing in 1 buildkite job.
2024-06-04 12:23:06 -07:00
Haojian Wu
90049bbbea
[bazel] Add missing dep for __support_threads_sleep
2024-06-04 15:07:23 +02:00
Benjamin Chetioui
b7e472ce56
[mlir][bazel] Fix build after 46672c1dc3.
2024-06-04 08:43:53 +02:00
Christian Sigg
4ab73549ff
[mlir][bazel] Really fix BUILD after d0413438ec.
2024-06-04 07:30:58 +02:00
Christian Sigg
22dcdcc7e7
[mlir][bazel] Fix BUILD after d0413438ec.
2024-06-04 07:24:49 +02:00
Kareem Ergawy
d0413438ec
[flang][OpenMP] Handle omp.private in FirOpBuilder::getAllocaBlock() ( #93927 )
...
Fixes a crash uncovered by
[pr89651](https://github.com/llvm/llvm-test-suite/blob/main/Fortran/gfortran/regression/gomp/pr89651.f90 )
in the test suite.
Fixes a crash caused by missing handling of `omp.private` ops in
`FirOpBuilder::getAllocaBlock()`.
2024-06-04 05:03:39 +02:00
Michael Jones
572b4e70cb
[libc][bazel] simplify type_traits with glob ( #94079 )
...
Previously the `type_traits` target manually listed all of the type
traits files. This patch replaces that with a glob to make the build
simpler.
2024-06-03 12:51:01 -07:00
Jordan Rupprecht
10ecdee651
Revert "fix(utils/**.py): fix comparison to None" ( #94261 )
...
Reverts llvm/llvm-project#94022
This is not actually valid bazel syntax. Buildbot failure: https://buildkite.com/llvm-project/upstream-bazel/builds/99430#018fdf11-6865-4d5d-be8e-7bfab59e3cd8
2024-06-03 12:19:50 -05:00