summaryrefslogtreecommitdiffstats
path: root/Makefile.pre.in
Commit message (Collapse)AuthorAgeFilesLines
* [3.6] bpo-31536: Avoid wholesale rebuild after `make regen-all` (GH-3678) ↵Miss Islington (bot)2017-09-281-9/+19
| | | | | | (#3797) bpo-31536: Avoid wholesale rebuild after `make regen-all`
* [3.6] Update multissl test helper (GH-3349) (#3415)Christian Heimes2017-09-071-0/+7
| | | | Signed-off-by: Christian Heimes <christian@python.org> (cherry picked from commit d3b9f97)
* [3.6] bpo-30871: Add test.pythoninfo (#3174)Victor Stinner2017-08-211-0/+5
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * bpo-30871: Add test.pythoninfo (#3075) * Add Lib/test/pythoninfo.py: script collecting various informations about Python to help debugging test failures. * regrtest: remove sys.hash_info and sys.flags from header. * Travis CI, Appveyor: run pythoninfo before tests (cherry picked from commit b907abc88589f7bea52c5afe172ececc6edcda70) * bpo-30871: pythoninfo: add expat and _decimal (#3121) * bpo-30871: pythoninfo: add expat and _decimal * Remove _decimal.__version__ The string is hardcoded, not really interesting. (cherry picked from commit f6ebd838f00b4c211c72d85ee49749e910cd3afe) * bpo-30871: Add "make pythoninfo" (#3120) (cherry picked from commit a3a01a2fceab2188b282ab9911f79c99a4c32273) * bpo-30871: pythoninfo: more sys, os, time data (#3130) * bpo-30871: pythoninfo: more sys, os, time data PythonInfo now converts types other than intger to string by default. * fix typo (cherry picked from commit ad7eaed54382b346784e51a6f0122ce81e8842b5) * bpo-31231: Fix pythoninfo in Travis config (#3134) bpo-31231, bpo-30871: Replace "./python -m test.pythoninfo" with "make pythoninfo", since macOS uses ./python.exe. (cherry picked from commit 92b1f90143286385c0ff5be98d3721b90580a912)
* [3.6] bpo-30814, bpo-30876: Add new import test files to projects. ↵Serhiy Storchaka2017-07-271-0/+2
| | | | | (GH-2851). (#2912) (cherry picked from commit d5ed47dea25e04a3a144eddf99a4ac4a29242dbc)
* [3.6] bpo-28787: Fix out of tree --with-dtrace builds (GH-135) (#1543)stratakis2017-05-111-0/+1
| | | | | | | | * bpo-28787: Fix out of tree --with-dtrace builds * Unsilence directory creation * Add Misc/NEWS and Misc/ACKS entries. (cherry picked from commit f6eae5bf1c5d7b83e5d5bdbecfff928e478c1cfd)
* [3.6] bpo-29243: Fix Makefile with respect to --enable-optimizations ↵torsava2017-05-091-7/+7
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | (GH-1478) (#1518) * bpo-29243: Fix Makefile with respect to --enable-optimizations (#1478) * bpo-29243: Fix Makefile with respect to --enable-optimizations When using the Profile Guided Optimization (./configure --enable-optimizations) Python is built not only during `make` but rebuilt again during `make test`, `make install` and others. This patch fixes the issue. Note that this fix produces no change at all in the Makefile if configure is run witout --enable-optimizations. * !squash (cherry picked from commit a1054c3b0037d4c2a5492e79fc193f36245366c7) * [3.6] bpo-29243: Fix Makefile with respect to --enable-optimizations (GH-1478) * bpo-29243: Fix Makefile with respect to --enable-optimizations When using the Profile Guided Optimization (./configure --enable-optimizations) Python is built not only during `make` but rebuilt again during `make test`, `make install` and others. This patch fixes the issue. Note that this fix produces no change at all in the Makefile if configure is run witout --enable-optimizations. * !squash. (cherry picked from commit a1054c3b0037d4c2a5492e79fc193f36245366c7)
* bpo-30289: remove Misc/python-config.sh when make distclean (#1498) (#1506)Xiang Zhang2017-05-091-1/+2
|
* [3.6] bpo-23404: make touch becomes make regen-all (#1405) (#1461)Victor Stinner2017-05-041-77/+72
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * bpo-23404: make touch becomes make regen-all (#1405) Don't rebuild generated files based on file modification time anymore, the action is now explicit. Replace "make touch" with "make regen-all". Changes: * Remove "make touch", Tools/hg/hgtouch.py and .hgtouch * Add a new "make regen-all" command to rebuild all generated files * Add subcommands to only generate specific files: - regen-ast: Include/Python-ast.h and Python/Python-ast.c - regen-grammar: Include/graminit.h and Python/graminit.c - regen-importlib: Python/importlib_external.h and Python/importlib.h - regen-opcode: Include/opcode.h - regen-opcode-targets: Python/opcode_targets.h - regen-typeslots: Objects/typeslots.inc * Rename PYTHON_FOR_GEN to PYTHON_FOR_REGEN * pgen is now only built by by "make regen-grammar" * Add $(srcdir)/ prefix to paths to source files to handle correctly compilation outside the source directory Note: $(PYTHON_FOR_REGEN) is no more used nor needed by "make" default target building Python. (cherry picked from commit a5c62a8e9f0de6c4133825a5710984a3cd5e102b) * bpo-30273: Update sysconfig (#1464) The AST_H_DIR variable was removed from Makefile.pre.in by the commit a5c62a8e9f0de6c4133825a5710984a3cd5e102b (bpo-23404). AST_H_DIR was hardcoded to "Include", so replace the removed variable by its content. Remove also ASDLGEN variable from sysconfig example since this variable was also removed. (cherry picked from commit b109a1d3360fc4bb87b9887264e3634632d392ca)
* bpo-30104: Use -fno-strict-aliasing on clang (#1376)Victor Stinner2017-05-021-0/+9
| | | | | | | | Python/dtoa.c is not compiled correctly with clang 4.0 and optimization level -O2 or higher, because of an aliasing issue on the double/ULong[2] union. Only compile dtoa.c with -fno-strict-aliasing. LLVM bug report: https://bugs.llvm.org//show_bug.cgi?id=31928
* [3.6] bpo-27593: Get SCM build info from git instead of hg. (#446) (#454)Ned Deily2017-03-041-6/+6
| | | | | | | | | | | * bpo-27593: Get SCM build info from git instead of hg. (#446) sys.version and the platform module python_build(), python_branch(), and python_revision() functions now use git information rather than hg when building from a repo. Based on original patches by Brett Cannon and Steve Dower. (cherry picked from commit 5c4b0d063aba0a68c325073f5f312a2c9f40d178)
* Fixes #29261: merged fix from 3.5.Vinay Sajip2017-01-131-1/+1
|\
| * Fixes #29261: added venv/scripts/common to LIBSUBDIRS.Vinay Sajip2017-01-131-1/+1
| |
* | Issue #28930: Add a Makefile rule for bytes_methods.c.Xiang Zhang2016-12-151-1/+1
| | | | | | | | | | Add a dependency to stringlib to make sure that bytes_methods.c is recompiled if stringlib is modified.
* | Issue #10656: Merge AIX build fix from 3.5Martin Panter2016-11-201-1/+1
|\ \ | |/
| * Issue #10656: Fix out-of-tree building on AIXMartin Panter2016-11-201-1/+1
| | | | | | | | | | The ld_so_aix script and python.exp file are created in the build directory. Patch by Tristan Carel and Michael Haubenwallner.
* | Issue #28444: Merge with 3.5.Xavier de Gaye2016-10-291-0/+1
|\ \ | |/
| * Issue #28444: Fix missing extensions modules when cross compiling.Xavier de Gaye2016-10-291-0/+1
| |
* | Issue #28046: Fix the removal of the sysconfigdata moduleXavier de Gaye2016-10-281-3/+1
| | | | | | | | from lib-dynload on install.
* | mark dtrace stubs as static inline; remove stubsBenjamin Peterson2016-10-211-1/+0
| | | | | | | | | | C99 inline semantics don't work everywhere. (https://bugs.python.org/issue28092) We don't want these to have external visibility anyway.
* | Merge 3.5Victor Stinner2016-09-291-0/+4
|\ \ | |/
| * Issue #28258: Explain the LC_ALL change in a commentVictor Stinner2016-09-291-0/+4
| |
* | Issue #28258: Fixed build with Estonian locale (python-config and distcleanSerhiy Storchaka2016-09-291-2/+2
|\ \ | |/ | | | | targets in Makefile). Patch by Arfrever Frehtes Taifersar Arahesis.
| * Issue #28258: Fixed build with Estonian locale (python-config and distcleanSerhiy Storchaka2016-09-291-2/+2
| | | | | | | | targets in Makefile). Patch by Arfrever Frehtes Taifersar Arahesis.
* | lcov: ignore more 3rd party code and internal test/debug/dummy filesChristian Heimes2016-09-211-1/+9
| |
* | Issue #15819: Merge include search from 3.5 into 3.6Martin Panter2016-09-131-1/+1
|\ \ | |/
| * Issue #15819: Remove old unconditional -IInclude optionMartin Panter2016-09-131-1/+1
| | | | | | | | | | A newer instance of this option, enabled in the configure script when building outside the source tree, made this redundant.
* | Buildbot: give 20 minute per test fileVictor Stinner2016-09-121-1/+1
| | | | | | | | | | | | | | | | | | | | | | It seems like at least 2 buildbots need more than 15 minutes per test file. Example with "AMD64 Snow Leop 3.x": 10 slowest tests: - test_tools: 14 min 40 sec - test_tokenize: 11 min 57 sec - test_datetime: 11 min 25 sec - ...
* | add dtrace inline stubsBenjamin Peterson2016-09-101-0/+1
| |
* | Issue #28046: Remove platform-specific directories from sys.pathZachary Ware2016-09-101-13/+5
| |
* | DTrace support: function calls, GC activity, line executionŁukasz Langa2016-09-101-3/+33
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Tested on macOS 10.11 dtrace, Ubuntu 16.04 SystemTap, and libbcc. Largely based by an initial patch by Jesús Cea Avión, with some influence from Dave Malcolm's SystemTap patch and Nikhil Benesch's unification patch. Things deliberately left out for simplicity: - ustack helpers, I have no way of testing them at this point since they are Solaris-specific - PyFrameObject * in function__entry/function__return, this is SystemTap-specific - SPARC support - dynamic tracing - sys module dtrace facility introspection All of those might be added later.
* | Fix make buildbottest to not re-trigger a profile-opt build. issue28035.Gregory P. Smith ext:(%20%5BGoogle%20Inc.%5D)2016-09-091-1/+1
|\ \ | |/
| * Fix make buildbottest to not re-trigger a profile-opt build. issue28035.Gregory P. Smith ext:(%20%5BGoogle%20Inc.%5D)2016-09-091-1/+1
| |
| * Issue #26359: Add the --with-optimizations flag.Brett Cannon2016-09-071-4/+4
| |
* | remove --with(out)-signal-module, since the signal module is non-optionalBenjamin Peterson2016-09-091-6/+1
| |
* | indicate the dependence of odict and dictobject on dict-common.hBenjamin Peterson2016-09-081-1/+2
| |
* | Issue #28027: Remove Lib/plat-* filesZachary Ware2016-09-081-22/+0
| |
* | Issue #15352: Rebuild frozen modules when marshal.c is changed.Eric Snow2016-09-081-2/+2
| |
* | Adds test.support.PGO and skips tests that are not useful for PGO.Steve Dower2016-09-071-1/+1
| |
* | Issue #26359: Add the --with-optimizations configure flag.Brett Cannon2016-09-071-4/+4
| | | | | | | | | | The flag will activate LTO and PGO build support when available. Thanks to Alecsandur Patrascu of Intel for the original patch.
* | Fixes issue26307: The profile-opt build now applys PGO to the built-in modules.Gregory P. Smith ext:(%20%5BGoogle%20Inc.%5D)2016-09-061-1/+1
|\ \ | |/
| * Fixes issue26307: The profile-opt build now applys PGO to the built-inGregory P. Smith ext:(%20%5BGoogle%20Inc.%5D)2016-09-061-1/+1
| | | | | | | | modules.
* | Fix out-of-tree builds for blake2Christian Heimes2016-09-061-4/+4
| |
* | Issue #26798: Add BLAKE2 (blake2b and blake2s) to hashlib.Christian Heimes2016-09-061-1/+7
| |
* | Merge with 3.5Zachary Ware2016-08-301-1/+1
|\ \ | |/
| * Include test/test_warnings/data as wellZachary Ware2016-08-301-1/+1
| |
* | Merge with 3.5Zachary Ware2016-08-301-0/+1
|\ \ | |/
| * Include test_tools and test_warnings in installZachary Ware2016-08-301-0/+1
| | | | | | | | | | | | | | test_tools is pretty much useless unless somebody copies the scripts it tests into the proper location, but we might as well install it anyway to make sure it skips properly. test_warnings just didn't get included when it was turned into a package in 94966dfd3bd3.
| * Issue #27726: Fix "make tags"Victor Stinner2016-08-171-3/+3
| | | | | | | | | | | | | | | | * Memove -t option of ctags. The option was kept for backward compatibility, but it was completly removed recently. Patch written by Stéphane Wirtel. * Set locale to C to call sort. vim expects that the tags file is sorted using english collation, so it fails if the locale is french for example. Use LC_ALL=C to force english sorting order. .
* | remove unused list of pgen srcsBenjamin Peterson2016-08-211-23/+0
| |
* | Fix "make tags": set locale to C to call sortVictor Stinner2016-08-171-1/+1
| | | | | | | | | | | | vim expects that the tags file is sorted using english collation, so it fails if the locale is french for example. Use LC_ALL=C to force english sorting order. Issue #27726.