diff options
author | Maksim Levental <maksim.levental@gmail.com> | 2025-10-06 13:17:04 -0400 |
---|---|---|
committer | GitHub <noreply@github.com> | 2025-10-06 17:17:04 +0000 |
commit | 84a214856ad989f37af19f5e8aaa9ec2346dde6f (patch) | |
tree | 5d27623df5613fff2bd0abb2a362b9d44e5c6e4a /clang/lib/Frontend/CompilerInvocation.cpp | |
parent | 2f3bb7678182182e47b0ab5e23fa09edaa390414 (diff) | |
download | llvm-84a214856ad989f37af19f5e8aaa9ec2346dde6f.zip llvm-84a214856ad989f37af19f5e8aaa9ec2346dde6f.tar.gz llvm-84a214856ad989f37af19f5e8aaa9ec2346dde6f.tar.bz2 |
[MLIR][Python] use `FetchContent_Declare` for nanobind and remove pybind (#161230)
Inspired by this comment
https://github.com/llvm/llvm-project/pull/157930#issuecomment-3346634290
(and long-standing issues related to finding nanobind/pybind in the
right place), this PR moves to using `FetchContent_Declare` to get the
nanobind dependency. This is pretty standard (see e.g.,
[IREE](https://github.com/iree-org/iree/blob/cf60359b7443b0e92e15fb6ffc011525dc40e772/CMakeLists.txt#L842-L848)).
This PR also removes pybind which has been deprecated for almost a year
(https://github.com/llvm/llvm-project/pull/117922) and which isn't
compatible (for whatever reason) with `FetchContent_Declare`.
---------
Co-authored-by: Jacques Pienaar <jpienaar@google.com>
Diffstat (limited to 'clang/lib/Frontend/CompilerInvocation.cpp')
0 files changed, 0 insertions, 0 deletions