ruby-changes:53810
From: nobu <ko1@a...>
Date: Tue, 27 Nov 2018 17:39:45 +0900 (JST)
Subject: [ruby-changes:53810] nobu:r66028 (trunk): .travis.yml: discard config.cache if CC changed
nobu 2018-11-27 17:39:39 +0900 (Tue, 27 Nov 2018) New Revision: 66028 https://svn.ruby-lang.org/cgi-bin/viewvc.cgi?view=revision&revision=66028 Log: .travis.yml: discard config.cache if CC changed Modified files: trunk/.travis.yml Index: .travis.yml =================================================================== --- .travis.yml (revision 66027) +++ .travis.yml (revision 66028) @@ -339,6 +339,7 @@ before_script: https://github.com/ruby/ruby/blob/trunk/.travis.yml#L339 gcc*) the_gcc=(ccache $CC ${GCC_FLAGS[@]} -fno-diagnostics-color) ;; clang*) the_gcc=(ccache $CC ${GCC_FLAGS[@]} -fno-color-diagnostics) ;; esac + - "[ ! -f config.cache ] || [ \"$CC\" = \"`sed -n s/^ac_cv_prog_CC=//p config.cache`\" ] || (set -x; exec rm config.cache)" - "$SETARCH ../configure -C --disable-install-doc --prefix=/tmp/ruby-prefix --with-gcc=\"${the_gcc[*]}\" $CONFIG_FLAG" - "cp -pr config.cache config.status .ext/include ../config_1st" - "$SETARCH make reconfig" -- ML: ruby-changes@q... Info: http://www.atdot.net/~ko1/quickml/