This issue tracker has been migrated to GitHub, and is currently read-only.
For more information, see the GitHub FAQs in the Python's Developer Guide.

Author christian.heimes
Recipients Alex.Willmer, christian.heimes, eric.snow, gvanrossum
Date 2021-12-11.16:29:00
SpamBayes Score -1.0
Marked as misclassified Yes
Message-id <1639240141.07.0.562790564851.issue45949@roundup.psfhosted.org>
In-reply-to
Content
In his code review Eric made a point that the relationship of variables and their impact on normal and cross builds are not obvious. I'm going to introduce new variables for freezing and freezing dependencies. Bonus: Cross builds no longer build non-functional _bootstrap_python and Programs/_freeze_module.

Normal build:

PYTHON_FOR_FREEZE=./_bootstrap_python
FREEZE_MODULE_BOOTSTRAP=./Programs/_freeze_module
FREEZE_MODULE_BOOTSTRAP_DEPS=Programs/_freeze_module
FREEZE_MODULE=$(PYTHON_FOR_FREEZE) $(srcdir)/Programs/_freeze_module.py
FREEZE_MODULE_DEPS=_bootstrap_python $(srcdir)/Programs/_freeze_module.py


Cross build:

PYTHON_FOR_FREEZE=/path/to/build/python
FREEZE_MODULE_BOOTSTRAP=$(PYTHON_FOR_FREEZE) $(srcdir)/Programs/_freeze_module.py
FREEZE_MODULE_BOOTSTRAP_DEPS=$(srcdir)/Programs/_freeze_module.py
FREEZE_MODULE=$(FREEZE_MODULE_BOOTSTRAP)
FREEZE_MODULE_DEPS=$(FREEZE_MODULE_BOOTSTRAP_DEPS)
History
Date User Action Args
2021-12-11 16:29:01christian.heimessetrecipients: + christian.heimes, gvanrossum, eric.snow, Alex.Willmer
2021-12-11 16:29:01christian.heimessetmessageid: <1639240141.07.0.562790564851.issue45949@roundup.psfhosted.org>
2021-12-11 16:29:01christian.heimeslinkissue45949 messages
2021-12-11 16:29:00christian.heimescreate