]> granicus.if.org Git - python/commitdiff
bpo-30345: travis: use -Og with --with-pydebug (GH-14423)
authorInada Naoki <songofacandy@gmail.com>
Thu, 27 Jun 2019 17:05:37 +0000 (02:05 +0900)
committerGitHub <noreply@github.com>
Thu, 27 Jun 2019 17:05:37 +0000 (02:05 +0900)
.travis.yml

index 3e2cbb6fb0f29f8b8879d9b9209bfe4180bd1aab..cff401f5bcb2ca2ef1f474cf8742381173b49a3c 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`
   - |