-
-
Notifications
You must be signed in to change notification settings - Fork 32.3k
gh-131556: Fix build-details.json
Makefile target
#131558
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Changes from all commits
File filter
Filter by extension
Conversations
Jump to
Diff view
Diff view
There are no files selected for viewing
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -730,7 +730,8 @@ list-targets: | |
|
||
.PHONY: build_all | ||
build_all: check-clean-src check-app-store-compliance $(BUILDPYTHON) platform sharedmods \ | ||
gdbhooks Programs/_testembed scripts checksharedmods rundsymutil build-details.json | ||
gdbhooks Programs/_testembed scripts checksharedmods rundsymutil \ | ||
$(shell [ -f pybuilddir.txt ] && cat pybuilddir.txt)/build-details.json | ||
|
||
.PHONY: build_wasm | ||
build_wasm: check-clean-src $(BUILDPYTHON) platform sharedmods \ | ||
|
@@ -936,8 +937,8 @@ pybuilddir.txt: $(PYTHON_FOR_BUILD_DEPS) | |
exit 1 ; \ | ||
fi | ||
|
||
build-details.json: pybuilddir.txt | ||
$(RUNSHARED) $(PYTHON_FOR_BUILD) $(srcdir)/Tools/build/generate-build-details.py `cat pybuilddir.txt`/build-details.json | ||
$(shell [ -f pybuilddir.txt ] && cat pybuilddir.txt)/build-details.json: pybuilddir.txt | ||
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. You cannot use It is a GNU-ism and will break on any other Make implementation, such as the default Make on BSD. If cpython were to move to require GNU Make then there are many changes which could be made to this Makefile that would make it significantly smaller, but alas, compatibility... |
||
$(RUNSHARED) $(PYTHON_FOR_BUILD) $(srcdir)/Tools/build/generate-build-details.py $(shell cat pybuilddir.txt)/build-details.json | ||
|
||
# Build static library | ||
$(LIBRARY): $(LIBRARY_OBJS) | ||
|
Uh oh!
There was an error while loading. Please reload this page.