diff options
author | Michał Górny <mgorny@gentoo.org> | 2022-10-28 22:13:35 +0200 |
---|---|---|
committer | Michał Górny <mgorny@gentoo.org> | 2022-11-01 07:30:14 +0100 |
commit | 7b4b15042d2b9f513dc23a951e4a6e92492894e3 (patch) | |
tree | 85ea4a0ba59d065eeb1fc086618f3e0e8aee9811 /lldb/source/Plugins/ObjectFile/ELF/ObjectFileELF.cpp | |
parent | 5e0d29103a3f9252b26669f6d4bdc9dc29cef1f1 (diff) | |
download | llvm-7b4b15042d2b9f513dc23a951e4a6e92492894e3.zip llvm-7b4b15042d2b9f513dc23a951e4a6e92492894e3.tar.gz llvm-7b4b15042d2b9f513dc23a951e4a6e92492894e3.tar.bz2 |
[lit] Add pyproject.toml and fix build w/ modern setuptools backend
Add a `pyproject.toml` file that provides build system information
for PEP 517-compliant builders. While all the commonly used builders
provide fallback to running `setup.py` for backwards compatibility, this
ensures the best forward compatibility. It also provides a reliable way
of specifying the minimum required setuptools version. Effectively, it
will make it possible to remove `setup.py` in favor of purely
declarative configuration in the future, or even switch to a different
build system.
Update `setup.py` to explicitly add the current directory to `sys.path`
for importing `lit`. This is necessary, as the modern setuptools
backend does not guarantee that the current directory is present there.
Differential Revision: https://reviews.llvm.org/D136976
Diffstat (limited to 'lldb/source/Plugins/ObjectFile/ELF/ObjectFileELF.cpp')
0 files changed, 0 insertions, 0 deletions