[3.6] bpo-28787: Fix out of tree --with-dtrace builds (GH-135) (#1543)

* bpo-28787: Fix out of tree --with-dtrace builds

* Unsilence directory creation

* Add Misc/NEWS and Misc/ACKS entries.
(cherry picked from commit f6eae5bf1c)
This commit is contained in:
stratakis 2017-05-11 13:13:18 +02:00 committed by Victor Stinner
parent 98b49a00d4
commit a4465a5bd0
3 changed files with 5 additions and 0 deletions

View file

@ -875,6 +875,7 @@ Python/frozen.o: $(srcdir)/Python/importlib.h $(srcdir)/Python/importlib_externa
# follow our naming conventions. dtrace(1) uses the output filename to generate # follow our naming conventions. dtrace(1) uses the output filename to generate
# an include guard, so we can't use a pipeline to transform its output. # an include guard, so we can't use a pipeline to transform its output.
Include/pydtrace_probes.h: $(srcdir)/Include/pydtrace.d Include/pydtrace_probes.h: $(srcdir)/Include/pydtrace.d
$(MKDIR_P) Include
$(DTRACE) $(DFLAGS) -o $@ -h -s $< $(DTRACE) $(DFLAGS) -o $@ -h -s $<
: sed in-place edit with POSIX-only tools : sed in-place edit with POSIX-only tools
sed 's/PYTHON_/PyDTrace_/' $@ > $@.tmp sed 's/PYTHON_/PyDTrace_/' $@ > $@.tmp

View file

@ -1476,6 +1476,7 @@ Daniel Stokes
Michael Stone Michael Stone
Serhiy Storchaka Serhiy Storchaka
Ken Stox Ken Stox
Charalampos Stratakis
Dan Stromberg Dan Stromberg
Donald Stufft Donald Stufft
Daniel Stutzbach Daniel Stutzbach

View file

@ -130,6 +130,9 @@ Library
Build Build
----- -----
- bpo-28787: Fix out-of-tree builds of Python when configured with
``--with--dtrace``.
- bpo-29243: Prevent unnecessary rebuilding of Python during ``make test``, - bpo-29243: Prevent unnecessary rebuilding of Python during ``make test``,
``make install`` and some other make targets when configured with ``make install`` and some other make targets when configured with
``--enable-optimizations``. ``--enable-optimizations``.