[Python-checkins] travis: Use -O3 option (GH-5599)

INADA Naoki webhook-mailer at python.org
Sat Feb 10 06:56:25 EST 2018


https://github.com/python/cpython/commit/e39429ab907df039a4bb6dbfece4c0ef32abeae0
commit: e39429ab907df039a4bb6dbfece4c0ef32abeae0
branch: 3.7
author: Miss Islington (bot) <31488909+miss-islington at users.noreply.github.com>
committer: INADA Naoki <methane at users.noreply.github.com>
date: 2018年02月10日T20:56:22+09:00
summary:
travis: Use -O3 option (GH-5599)
We don't use debugger on Travis.
(cherry picked from commit 8ff53564730f7ba503f5ad94418c309c48e8516d)
Co-authored-by: INADA Naoki <methane at users.noreply.github.com>
files:
M .travis.yml
diff --git a/.travis.yml b/.travis.yml
index 98d6b9a97b9b..dd0688717c08 100644
--- a/.travis.yml
+++ b/.travis.yml
@@ -15,7 +15,8 @@ env:
 - OPENSSL=1.1.0g
 - OPENSSL_DIR="$HOME/multissl/openssl/${OPENSSL}"
 - PATH="${OPENSSL_DIR}/bin:$PATH"
- - CFLAGS="-I${OPENSSL_DIR}/include"
+ # Use -O3 because we don't use debugger on Travis-CI
+ - CFLAGS="-I${OPENSSL_DIR}/include -O3"
 - LDFLAGS="-L${OPENSSL_DIR}/lib"
 # Set rpath with env var instead of -Wl,-rpath linker flag
 # OpenSSL ignores LDFLAGS when linking bin/openssl


More information about the Python-checkins mailing list

AltStyle によって変換されたページ (->オリジナル) /