diff --git a/CHANGES.md b/CHANGES.md index 2ae58596..b3b5a468 100644 --- a/CHANGES.md +++ b/CHANGES.md @@ -1,3 +1,7 @@ +## 0.1.5 (2021-10-8) + +- Disable LTO build of CPython in release mode. Turning on LTO turns out to be rather detrimental to link time when building downstream binaries. + ## 0.1.4 (2021-10-5) - Bump the bundled CPython version to 3.10.0 diff --git a/lib/taglessFinal/dune b/lib/taglessFinal/dune index 289a3402..ef4064f6 100644 --- a/lib/taglessFinal/dune +++ b/lib/taglessFinal/dune @@ -2,15 +2,9 @@ vendor/Modules (dirs :standard _*)) -(env - (release - (env-vars - (CPYTHON_CONFIGURE_OPTION --with-lto)))) - (rule (deps - (source_tree vendor) - (env_var CPYTHON_CONFIGURE_OPTION)) + (source_tree vendor)) (targets libpython.a pyconfig.h) (action (no-infer @@ -21,7 +15,7 @@ MACOSX_DEPLOYMENT_TARGET 11.0 (progn - (system "./configure $CPYTHON_CONFIGURE_OPTION") + (run ./configure) (run make libpython3.10.a)))) (copy vendor/libpython3.10.a libpython.a) (copy vendor/pyconfig.h pyconfig.h)))))