summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorstratakis <cstratak@redhat.com>2017-05-10 15:08:15 (GMT)
committerVictor Stinner <victor.stinner@gmail.com>2017-05-10 15:08:15 (GMT)
commitf6eae5bf1c5d7b83e5d5bdbecfff928e478c1cfd (patch)
treeb10c1e4e4f122dbfc2dcf18dc83e4c9ea6d6b5cf
parent2ddf5a19c3a06978edff2c8ba0aaf5df3528204a (diff)
downloadcpython-f6eae5bf1c5d7b83e5d5bdbecfff928e478c1cfd.zip
cpython-f6eae5bf1c5d7b83e5d5bdbecfff928e478c1cfd.tar.gz
cpython-f6eae5bf1c5d7b83e5d5bdbecfff928e478c1cfd.tar.bz2
bpo-28787: Fix out of tree --with-dtrace builds (#135)
* bpo-28787: Fix out of tree --with-dtrace builds * Unsilence directory creation * Add Misc/NEWS and Misc/ACKS entries
-rw-r--r--Makefile.pre.in1
-rw-r--r--Misc/ACKS1
-rw-r--r--Misc/NEWS3
3 files changed, 5 insertions, 0 deletions
diff --git a/Makefile.pre.in b/Makefile.pre.in
index 1ba52e7..6e11bfb 100644
--- a/Makefile.pre.in
+++ b/Makefile.pre.in
@@ -872,6 +872,7 @@ Python/frozen.o: $(srcdir)/Python/importlib.h $(srcdir)/Python/importlib_externa
# 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.
Include/pydtrace_probes.h: $(srcdir)/Include/pydtrace.d
+ $(MKDIR_P) Include
$(DTRACE) $(DFLAGS) -o $@ -h -s $<
: sed in-place edit with POSIX-only tools
sed 's/PYTHON_/PyDTrace_/' $@ > $@.tmp
diff --git a/Misc/ACKS b/Misc/ACKS
index 6f80ab7..3c4155e 100644
--- a/Misc/ACKS
+++ b/Misc/ACKS
@@ -1487,6 +1487,7 @@ Daniel Stokes
Michael Stone
Serhiy Storchaka
Ken Stox
+Charalampos Stratakis
Dan Stromberg
Donald Stufft
Daniel Stutzbach
diff --git a/Misc/NEWS b/Misc/NEWS
index 997a034..5ee7ea6 100644
--- a/Misc/NEWS
+++ b/Misc/NEWS
@@ -1051,6 +1051,9 @@ Documentation
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``,
``make install`` and some other make targets when configured with
``--enable-optimizations``.