GeezerVisonThe World Wide Web, restored to 800 pixels of glory. | |||||||||||||||||||||||||||||||||||||||||
| Home|About|Gaming cabinet|Archives|How it works|Starter sites | |||||||||||||||||||||||||||||||||||||||||
GeezerVison is showing github.com — bpo-45950: Fix macOS framework builds of _bootstrap_python (GH-29936) by tiran · Pull Request #29936 · python/cpython Conversation
|
|
🤖 New build scheduled with the buildbot fleet by @tiran for commit 02dc19dd98f2eaa19c2de25eb5a48dec857fa7b1 🤖 If you want to schedule another build, you need to add the ":hammer: test-with-buildbots" label again. |
Sorry, something went wrong.
There was an error while loading. Please reload this page.
02dc19d to
cb45323
Compare
cb45323 to
0a3a53c
Compare
| # like getpath.o with additional -DPY_BOOTSTRAP_PYTHON=1 | ||
| Modules/getpath_bootstrap.o: $(srcdir)/Modules/getpath.c Python/frozen_modules/getpath.h Makefile $(PYTHON_HEADERS) | ||
| $(CC) -c $(PY_CORE_CFLAGS) -DPYTHONPATH='"$(PYTHONPATH)"' \ | ||
| -DPREFIX='"$(prefix)"' \ | ||
| -DEXEC_PREFIX='"$(exec_prefix)"' \ | ||
| -DVERSION='"$(VERSION)"' \ | ||
| -DVPATH='"$(VPATH)"' \ | ||
| -DPLATLIBDIR='"$(PLATLIBDIR)"' \ | ||
| -DPY_BOOTSTRAP_PYTHON=1 \ | ||
| -o $@ $(srcdir)/Modules/getpath.c |
There was an error while loading. Please reload this page.
There was a problem hiding this comment.
The reason will be displayed to describe this comment to others. Learn more.
Wouldn't it be more elegant to have a two-line file named getpath_bootstrap.c using the default .c.o rule?
#define BOOTSTRAP_PYTHON 1 #include "getpath.c"
Sorry, something went wrong.
There was an error while loading. Please reload this page.
There was a problem hiding this comment.
The reason will be displayed to describe this comment to others. Learn more.
I agree that the approach is not elegant. getpath.c requires additional macros
Lines 24 to 28 in ddbab69
| #if (!defined(PREFIX) || !defined(EXEC_PREFIX) \ | |
| || !defined(VERSION) || !defined(VPATH) \ | |
| || !defined(PLATLIBDIR)) | |
| #error "PREFIX, EXEC_PREFIX, VERSION, VPATH and PLATLIBDIR macros must be defined" | |
| #endif |
Sorry, something went wrong.
There was an error while loading. Please reload this page.
There was an error while loading. Please reload this page.
Successfully merging this pull request may close these issues.
There was an error while loading. Please reload this page.