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

Miss Islington (bot) webhook-mailer at python.org
Thu Jun 27 13:24:09 EDT 2019


https://github.com/python/cpython/commit/60f24b23bf6ac485d195bb904635bdc3fe646b07
commit: 60f24b23bf6ac485d195bb904635bdc3fe646b07
branch: 3.8
author: Miss Islington (bot) <31488909+miss-islington at users.noreply.github.com>
committer: GitHub <noreply at github.com>
date: 2019-06-27T10:23:59-07:00
summary:

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

(cherry picked from commit 21cfae107e410bf4b0ab3c142ca4449bc33290f5)

Co-authored-by: Inada Naoki <songofacandy at gmail.com>

files:
M .travis.yml

diff --git a/.travis.yml b/.travis.yml
index d46f52c90d35..1d470728a536 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