]> granicus.if.org Git - python/commitdiff
bpo-30345: travis: use -Og with --with-pydebug (GH-14423)
authorMiss Islington (bot) <31488909+miss-islington@users.noreply.github.com>
Thu, 27 Jun 2019 17:23:59 +0000 (10:23 -0700)
committerGitHub <noreply@github.com>
Thu, 27 Jun 2019 17:23:59 +0000 (10:23 -0700)
(cherry picked from commit 21cfae107e410bf4b0ab3c142ca4449bc33290f5)

Co-authored-by: Inada Naoki <songofacandy@gmail.com>
.travis.yml

index d46f52c90d35371bf37f7dfd623f488b59b62eae..1d470728a536a85c0bc65a5c07461e25678899f0 100644 (file)
@@ -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`
   - |