Commit Graph

398 Commits

Author SHA1 Message Date
Martin Panter ed722d9e39 Issue #27229: Comment in middle of shell command fails on BSD and OS X 2016-06-07 01:07:32 +00:00
Martin Panter ab1455829b Issue #27229: Fix in-tree cross-build rule, by Xavier de Gaye 2016-06-07 00:27:17 +00:00
Gregory P. Smith ext:(%20%5BGoogle%20Inc.%5D) f9f8e18af3 Exclude unittests from the make profile-opt training run that either
take a rediculious amount of time to run, fail or provide little use
to the profile feedback.  (similar to what is already done in 3.5 and
by major Linux distro builds own profiling runs)
2016-06-02 23:50:07 +00:00
Gregory P. Smith ext:(%20%5BGoogle%20Inc.%5D) c543a0fc3b Issue #25702: A --with-lto configure option has been added that will
enable link time optimizations at build time during a make profile-opt.
Some compilers and toolchains are known to not produce stable code when
using LTO, be sure to test things thoroughly before relying on it.
It can provide a few % speed up over profile-opt alone.
2016-06-02 23:44:40 +00:00
Martin Panter b1d867f149 Issue #27076: Doc, comment and test function name spelling fixes
Most fixes to Doc/ and Lib/ directories by Ville Skyttä.
2016-05-26 05:28:50 +00:00
Martin Panter e9ee317062 Issue #22359: Avoid recursive $(MAKE); disable running cross-compiled pgen
Patches by Jonas Wagner and Xavier de Gaye.
2016-04-23 00:58:44 +00:00
doko@ubuntu.com 6ce9f4b9a4 Revert the last change:
Makefile.pre.in:
  - Modules/_math.o: Build using PY_CORE_CFLAGS as every extension
2016-03-23 13:17:23 +01:00
doko@ubuntu.com ed282af85f Makefile.pre.in:
- Modules/_math.o: Build using PY_CORE_CFLAGS as every extension
  - profile-opt: Fix bashism
2016-03-23 12:55:48 +01:00
Martin Panter 83e9b57632 Issue #24421: Compile _math.c separately to avoid race condition 2016-02-03 05:19:44 +00:00
Zachary Ware cb868363c2 Issue #25925: Backport C coverage reporting Makefile targets
Originally added by Christian Heimes in 85ec2b5bfcd2.

Initial patch for the backport by Alecsandru Patrascu.
2016-01-20 00:11:52 -06:00
Zachary Ware 6ed42ea08b Issue #25827: Add support for ICC to configure 2015-12-21 11:43:03 -06:00
Victor Stinner 04627633ed Issue #25696: Don't ignore errors in 'make bininstall' on creating $(LIBPC) directory 2015-12-13 21:25:42 +01:00
Victor Stinner 15a6c4239c Issue #25696: Fix installation of Python on UNIX with make -j9. 2015-12-13 21:19:28 +01:00
Brett Cannon 9537478463 Issue #25188: Add -P/--pgo to test.regrtest for PGO building.
Initial patch by Alecsandru Patrascu of Intel.
2015-10-02 16:21:34 -07:00
Brett Cannon 4ff151a72a Issue #24915: Make PGO builds support Clang and use the test suite for
profile data.

Thanks to Alecsandru Patrascu of Intel for the initial patch.
2015-09-18 15:09:42 -07:00
Benjamin Peterson 2c992a0788 backport computed gotos (#4753) 2015-05-28 12:45:31 -05:00
doko@ubuntu.com 9e7ece271f - Use PLATDIR for the platform directory everywhere (refactoring only) 2015-04-13 21:55:08 +02:00
Ned Deily 3f1d0b3121 Issue 22878: PEP 477 - "make install" and "make altinstall" integration
The backport of ensurepip to 2.7.9 allows pip to optionally be installed
or upgraded using the bundled pip provided by the new ensurepip module.
The option can be specified persistently using the configure option:

    ./configure --with-ensurepip[=upgrade|install|no]

It can also be overridden on either the "install" or "altinstall" targets:

    make [alt]install ENSUREPIP=[upgrade|install|no]

For Python 2, the default option is "no" (do not install pip).
2014-11-20 02:11:03 -08:00
Donald Stufft 8aaff54db3 Implement PEP 477 - Backport ensurepip (PEP 453) to 2.7
* Backports ensurepip to the 2.7 branch
* Backports some of the improved documentation to the 2.7 branch.
* Adds a private backport of the 3.x mock library as test._mock_backport
  to enable saner testing of ensurepip.

Key Differences from 3.x:

* Ensurepip does not have any Makefile integration, specifically
  it is not ran by default in the Makefile.
* There is no venv module in 2.7, so downstream distributors can
  completely disable ensurepip, ideally with a message redirecting
  to the correct way to install pip.
* To match the ``python`` command in 2.7, ensurepip will install
  the unversioned ``pip`` command as well.
* No-op and hide --default-pip and add --no-default-pip to restore
  the 3.x behavor on 2.7.
2014-11-11 10:24:11 -05:00
Ned Deily 8cb673816b Issue #21166: fix typo in comment 2014-08-23 18:09:25 -07:00
Ned Deily 983df8688d Issue #21166: Prevent possible segfaults and other random failures of
python --generate-posix-vars in pybuilddir.txt build target by ensuring
that pybuilddir.txt is always regenerated when configure is run and
that the newly built skeleton python does not inadvertently import
modules from previously installed instances.
2014-08-22 13:30:59 -07:00
Benjamin Peterson daeb925cc8 backport many ssl features from Python 3 (closes #21308)
A contribution of Alex Gaynor and David Reid with the generous support of
Rackspace. May God have mercy on their souls.
2014-08-20 14:14:50 -05:00
Ned Deily ac1bb81732 Issue #21383: Allow "make touch" to work when building outside of the
source directory.
2014-05-22 15:26:34 -07:00
Ned Deily 1964d5bdf7 Issue #19990: Install test/imghdrdata. 2014-02-02 13:59:26 -08:00
Charles-François Natali 7a2fe9c83c Issue #19965: Make sure that Python-ast.h is properly taken into account in the
makefile.
2013-12-15 19:07:44 +01:00
Ned Deily 00365f1e8e Issue #15392: Install idlelib/idle_test. 2013-11-03 20:08:17 -08:00
Ned Deily a2a9f571a5 Issue #1584: Provide options to override default search paths for Tcl and Tk
when building _tkinter.  configure has two new options; if used, both must
be specified:

  ./configure \
      --with-tcltk-includes="-I/opt/local/include" \
      --with-tcltk-libs="-L/opt/local/lib -ltcl8.5 -ltk8.5"

In addition, the options can be overridden with make:

   make \
       TCLTK_INCLUDES="-I/opt/local/include" \
       TCLTK_LIBS="-L/opt/local/lib -ltcl8.6 -ltk8.6"
2013-10-25 00:30:10 -07:00
Serhiy Storchaka 25f6893720 Issue #18919: Add test/audiodata to LIBSUBDIRS. 2013-10-14 21:18:29 +03:00
Martin v. Löwis 6d7f7e8819 Drop buildbottouch again; the master is using "make touch" now. 2013-10-02 17:03:05 +02:00
Martin v. Löwis 5ddb0a30fd Add fake buildbottouch target. 2013-09-30 16:18:31 +02:00
Eric V. Smith e38905b4fa Closes #18312: 'make distclean' no longer deletes files in dot-directories. 2013-07-02 09:02:03 -04:00
doko@ubuntu.com 6cb4343d0d - Issue #13150, #17512: sysconfig no longer parses the Makefile and config.h
files when imported, instead doing it at build time.  This makes importing
  sysconfig faster and reduces Python startup time by 20%.
2013-04-08 21:20:09 +02:00
Benjamin Peterson 469ee9d84c backout 66e30c4870bb for breaking OSX (#13150) 2013-03-22 09:37:13 -05:00
doko@ubuntu.com 28b7c05131 - Issue #13150: sysconfig no longer parses the Makefile and config.h files
when imported, instead doing it at build time.  This makes importing
  sysconfig faster and reduces Python startup time by 20%.
2013-03-21 15:02:16 -07:00
Ezio Melotti 617e2c186d #16004: Add `make touch`. 2013-03-11 09:14:09 +02:00
Serhiy Storchaka da5c2a0646 Issue #4591: Uid and gid values larger than 2**31 are supported now. 2013-02-12 09:27:53 +02:00
Serhiy Storchaka 083c0aac32 Clean trailing whitespaces in Makefile.pre.in and grpmodule.c. 2013-02-12 09:20:19 +02:00
Ned Deily ed1e4382c4 Issue #17161: make install now also installs a python2 and python man page. 2013-02-08 22:51:52 -08:00
doko@python.org d65e2bab3b - Issue #17086: Backport the patches from the 3.3 branch to cross-build
the package.
2013-01-31 23:52:03 +01:00
doko@python.org 4e63fbe04d - Issue #17029: Let h2py search the multiarch system include directory. 2013-01-25 13:08:27 +01:00
Christian Heimes 4fc0082602 - Issue #16593: Have BSD 'make -s' do the right thing, thanks to Daniel Shahaf 2012-12-02 08:14:50 +01:00
Trent Nelson abf205149c Issue #15819: use standard autoconf preset output variables.
Reported by: Roumen Petrov
2012-10-17 04:32:49 -04:00
Trent Nelson d86ceecf21 Issue #15819: additional fixes for out-of-tree builds from read-only src.
Unlike 3.2, 3.3 and 3.x, which add "-IObjects -IPython -IInclude" to
BASECPPFLAGS when building out-of-tree, 2.7 only needs to add -IInclude
(for Python-ast.h and graminit.h).
2012-10-16 09:42:45 -04:00
Ned Deily 10fc104fed Issue #15822: Fix installation of lib2to3 grammar pickles to ensure
they are created in the install locations and with the proper timestamp.
(Solution suggested by MvL)
2012-09-08 18:47:27 -07:00
Christian Heimes f84dcffcb9 Fix for fcc629208842
BSD's make doesn't support some of the features.
2012-09-07 02:24:58 +02:00
Christian Heimes f2acf63487 Issue #15591 and Issue #11715: silence output of setup.py when make is run with -s option. 2012-09-07 00:58:26 +02:00
Trent Nelson f6407a184d Issue #15819: Fix out-of-tree builds from a readonly source. 2012-08-30 14:56:13 +00:00
Matthias Klose 25cf30faf9 - fix typo introduced in http://hg.python.org/cpython/rev/f918d4a06c64 2012-08-28 19:23:56 +02:00
Matthias Klose 555b9e07ed - fix paste error (whitespace) from previous commit 2012-08-28 19:07:08 +02:00
Matthias Klose 63c6f511c3 - Issue #15591: Fix parsing MAKEFLAGS in the sharedmods target. 2012-08-28 18:52:28 +02:00