(os_name, target_arch)
| 2324 | configure_library('sqlite', o, pkgname='sqlite3') |
| 2325 | |
| 2326 | def bundled_ffi_supported(os_name, target_arch): |
| 2327 | if target_arch == 'x86': |
| 2328 | target_arch = 'ia32' |
| 2329 | |
| 2330 | if target_arch in {'arm', 'arm64', 'ia32', 'x64', 'x86_64', |
| 2331 | 'riscv64', 'loong64'}: |
| 2332 | return True |
| 2333 | |
| 2334 | if target_arch in {'mips', 'mipsel', 'mips64el'}: |
| 2335 | return os_name in {'freebsd', 'linux', 'openbsd'} |
| 2336 | |
| 2337 | if target_arch == 'ppc64': |
| 2338 | return os_name in {'aix', 'freebsd', 'linux', 'mac', 'openbsd'} |
| 2339 | |
| 2340 | return False |
| 2341 | |
| 2342 | def configure_ffi(o): |
| 2343 | use_ffi = not options.without_ffi |
no outgoing calls
no test coverage detected
searching dependent graphs…