Files
termux-packages/packages/python-llvmlite/ffi-build.py.patch
termux-pacman-bot f178b85f14 bump(main/python-llvmlite): 0.46.0
- Fixes https://github.com/termux/termux-packages/issues/27588

- Nested LLVM version 20.X.X now required - bumped to 20.1.8

- Replace `-DLLVM_TABLEGEN=$TERMUX_PKG_HOSTBUILD_DIR/bin/llvm-tblgen` with `-DLLVM_NATIVE_TOOL_DIR=$TERMUX_PKG_HOSTBUILD_DIR/bin` to resolve an error `Exec format error... llvm-min-tblgen`

- Out of space - add to `big-pkgs.list`
2025-12-22 00:50:55 +00:00

12 lines
312 B
Diff

--- a/ffi/build.py
+++ b/ffi/build.py
@@ -194,6 +194,8 @@ def main_posix(library_ext):
def main():
+ if os.environ.get("LLVMLITE_SKIP_BUILD_LIBRARY", "0") == "1":
+ return
ELF_systems = ('linux', 'gnu', 'freebsd', 'openbsd', 'netbsd')
if sys.platform == 'win32':
main_windows()