[Python-checkins] bpo-30345: travis: use -Og with --with-pydebug (GH-14423)

Inada Naoki webhook-mailer at python.org
Thu Jun 27 13:05:41 EDT 2019


https://github.com/python/cpython/commit/21cfae107e410bf4b0ab3c142ca4449bc33290f5
commit: 21cfae107e410bf4b0ab3c142ca4449bc33290f5
branch: master
author: Inada Naoki <songofacandy at gmail.com>
committer: GitHub <noreply at github.com>
date: 2019-06-28T02:05:37+09:00
summary:

bpo-30345: travis: use -Og with --with-pydebug (GH-14423)

files:
M .travis.yml

diff --git a/.travis.yml b/.travis.yml
index 3e2cbb6fb0f2..cff401f5bcb2 100644
--- a/.travis.yml
+++ b/.travis.yml
@@ -166,7 +166,8 @@ install:
 
 # Travis provides only 2 cores, so don't overdo the parallelism and waste memory.
 before_script:
-  - ./configure --with-pydebug
+  # -Og is much faster than -O0
+  - CFLAGS="${CFLAGS} -Og" ./configure --with-pydebug
   - make -j4 regen-all
   - changes=`git status --porcelain`
   - |



More information about the Python-checkins mailing list