Message408315
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) |
|
Date |
User |
Action |
Args |
2021-12-11 16:29:01 | christian.heimes | set | recipients:
+ christian.heimes, gvanrossum, eric.snow, Alex.Willmer |
2021-12-11 16:29:01 | christian.heimes | set | messageid: <1639240141.07.0.562790564851.issue45949@roundup.psfhosted.org> |
2021-12-11 16:29:01 | christian.heimes | link | issue45949 messages |
2021-12-11 16:29:00 | christian.heimes | create | |
|