[clang] [clang][python] Add CLANG_DISABLE_RUN_PYTHON_TESTS CMake option to disable clang python bindings tests (PR #111367)

Vlad Serebrennikov via cfe-commits cfe-commits at lists.llvm.org
Wed Oct 9 02:18:08 PDT 2024


Endilll wrote:

> Though now I write this, I'm thinking it would make more sense to set RUN_PYTHON_TESTS to FALSE if CMAKE_CROSSCOMPILING is set. What do you think?

Yes, I like this direction much more. Probably you should also print a message during configuration saying that those tests are excluded because of cross setup.

Do you know what the state of support for cross environments is in general? If they are generally well-maintained, we're more incentivized to do a proper support for them for Python bindings tests.

https://github.com/llvm/llvm-project/pull/111367


More information about the cfe-commits mailing list