mirror of
https://github.com/bitcoin/bitcoin.git
synced 2026-06-04 10:12:28 +02:00
Some of the primary changes are:
- lief.EXE_FORMATS became lief.Binary.FORMATS IN 0.14.0
- 494f116c6b/doc/sphinx/changelog.rst (L702)
- lief.ARCHITECTURES became lief.Header.ARCHITECTURES in 0.16.0
- 494f116c6b/doc/sphinx/changelog.rst (L226C18-L227C18)
- lief.ELF.ARCH.x86_64 became lief.ELF.ARCH.X86_64
This commit includes a workaround for the bug fixed in
https://github.com/lief-project/LIEF/pull/1218, but the workaround can
be kept, since it makes `has_nx` checks stricter by enforcing both heap
and stack are non-executable.
This change also requires a patch to partially revert a commit to LIEF
(f23ced2f4f)
which broke compatibility with versions of scikit-build-core <= 0.10.x.
This patch can be dropped once the guix time machine advances to or
beyond 35c5f07e96,
which bumps the scikit-build-core version in guix from 0.9.3 to 0.10.7.
Co-authored-by: willcl-ark <will8clark@gmail.com>
Co-authored-by: fanquake <fanquake@gmail.com>
Co-authored-by: Hennadii Stepanov <32963518+hebasto@users.noreply.github.com>
22 lines
880 B
Diff
22 lines
880 B
Diff
Partially revert f23ced2f4ffc170d0a6f40ff4a1bee575e3447cf
|
|
|
|
Restore compat with python-scikit-build-core 0.9.x
|
|
Can be dropped when using python-scikit-build-core >= 0.10.x
|
|
|
|
--- a/api/python/backend/setup.py
|
|
+++ b/api/python/backend/setup.py
|
|
@@ -101,12 +101,12 @@ def _get_hooked_config(is_editable: bool) -> Optional[dict[str, Union[str, List[
|
|
config_settings = {
|
|
"logging.level": "DEBUG",
|
|
"build-dir": config.build_dir,
|
|
- "build.targets": config.build.targets,
|
|
"install.strip": config.strip,
|
|
"backport.find-python": "0",
|
|
"wheel.py-api": config.build.py_api,
|
|
"cmake.source-dir": SRC_DIR.as_posix(),
|
|
"cmake.build-type": config.build.build_type,
|
|
+ "cmake.targets": config.build.targets,
|
|
"cmake.args": [
|
|
*config.cmake_generator,
|
|
*config.get_cmake_args(is_editable),
|