34 Commits

Author SHA1 Message Date
Romain Thomas 807947f7e0 cmake: raise an exception if the directory does not exist 2026-05-23 09:18:56 +02:00
Romain Thomas a2484a43b3 python: guard mutating bindings with nb::lock_self()
Ensure Python binding thread-safety on methods that
mutate the underlying binary. Note: this coverage is not exhaustive
but bootstrap the support for free-threaded Python builds.

resolve #1255
2026-04-25 08:24:45 +02:00
lief-agent db9c1bd4db tests: more coverage
AI DISCLAIMER: These new tests are 100% AI-generated and humman-reviewed
2026-04-18 21:45:33 +02:00
Romain Thomas e9764969d5 python: introduce lief-extra-compilation-flags 2026-04-12 19:17:04 +02:00
lief-agent 0dfd129b47 Fix color 2026-04-05 08:52:07 +02:00
Romain Thomas d1382c1863 Bootstrap runtime options 2026-03-20 15:40:36 +01:00
Romain Thomas 9f6c798506 Make stable ABI & free threading option aware of LIEF_STABLE_ABI/LIEF_FREE_THREADED 2026-02-21 18:22:37 +01:00
Romain Thomas 91bc6dfd6e Fix typo 2026-02-15 16:20:28 +01:00
Romain Thomas 007646df14 Initiate options to enable free-threaded build
Related to #1255
2026-02-15 16:13:43 +01:00
Romain Thomas bedb668860 Add option to enable the stable ABI 2026-02-15 11:54:25 +01:00
Romain Thomas 7eab46d68b Fix Github action 2026-01-31 14:48:20 +01:00
Romain Thomas 3aa88a2646 Raise an error if we don't provide wheels for a given platform 2026-01-24 09:37:20 +01:00
Romain Thomas 26821c7b6e Bump version 2025-09-14 16:02:46 +02:00
Romain Thomas 84f963a716 Initial support for the COFF format
Resolve #1091
2025-06-08 20:01:21 +02:00
Romain Thomas 149a6d18b3 Fix missing quote 2025-05-27 14:56:07 +02:00
Romain Thomas 625d84ca1e Fix typo 2025-05-17 14:57:26 +02:00
Romain Thomas f23ced2f4f Update build deps 2025-04-19 08:32:39 +02:00
Romain Thomas 1de8788c3c CI Update 2025-03-15 06:12:28 +01:00
Romain Thomas 99d540edc2 Improve support for Nanobind external version 2025-02-22 06:20:19 +01:00
Romain Thomas 35ae8dc742 Don't fail on a .x versioning 2024-12-12 21:06:18 +01:00
Romain Thomas 68fa8898fb Add support for user-provided flags 2024-12-08 13:42:51 +01:00
Romain Thomas 1e7b4beb00 Minor updates 2024-11-30 05:40:00 +01:00
Romain Thomas b267a99cb8 Update LIEF Python package README 2024-08-18 12:34:38 +02:00
Romain Thomas 4c67c5b5de Enable versioning from 'LIEF_VERSION_ENV' 2024-07-20 07:10:00 +02:00
Romain Thomas 7911cddb64 Forward platform to arch 2024-05-18 11:29:05 +02:00
Romain Thomas be3fc43c72 Add support for extrapoling variables in config 2024-05-04 09:01:17 +02:00
Romain Thomas 465475f5f4 Bump scikit-build-core to v0.9.3
Note:

We are affected by the 0.9.0 update on `wheel.exclude`:

> The meaning of wheel.exclude has been changed to match on the wheel path, rather than the source path

So we had to revert to `sdist.exclude`

[1]: https://github.com/scikit-build/scikit-build-core/releases/tag/v0.9.0
2024-05-04 09:00:10 +02:00
Romain Thomas fe432fe881 Update Python backend dependencies 2024-02-18 06:20:38 +01:00
Romain Thomas 3ec4d301aa Fix path 2024-01-27 11:27:06 +01:00
Romain Thomas 7c6a474387 Support release/ branches 2024-01-21 15:38:47 +01:00
Romain Thomas 47a78077b4 Add helpers for cross-compilation 2023-11-26 15:48:58 +01:00
Romain Thomas 0c472ca906 Replace str | None with Optional 2023-11-07 13:39:57 +01:00
Romain Thomas 23546d4bad Resolve #996
Usage:

```toml
[lief.build]
cxx-compiler = "/path/to/cxx"
c-compiler = "/path/to/c"
```
2023-11-07 11:43:12 +01:00
Romain Thomas 78006bc772 New build backend based on scikit-build-core 2023-11-04 04:06:51 +01:00