patryk4815 wrote: @DavidSpickett I found that `get-python-config.py` wasn't fully correct for cross-compilation. I've added a comment there specifying which functions should be used.
Guide how to cross compile, eg. for riscv64: ``` export _PYTHON_HOST_PLATFORM="linux-riscv64" export _PYTHON_SYSCONFIGDATA_NAME="_sysconfigdata__linux_riscv64-linux-gnu" export PYTHONPATH="<native-python>/lib/python3.12/site-packages:<riscv64-python>/lib/python3.12/site-packages" ``` ^ just replace with proper paths in `PYTHONPATH` https://github.com/llvm/llvm-project/pull/123735 _______________________________________________ lldb-commits mailing list lldb-commits@lists.llvm.org https://lists.llvm.org/cgi-bin/mailman/listinfo/lldb-commits