summaryrefslogtreecommitdiff
path: root/.travis.yml
diff options
context:
space:
mode:
authorkazu <kazu@b2dd03c8-39d4-4d8f-98ff-823fe69b080e>2018-11-15 03:01:20 (GMT)
committerkazu <kazu@b2dd03c8-39d4-4d8f-98ff-823fe69b080e>2018-11-15 03:01:20 (GMT)
commitae6803039548016643c6ba018a41e4204817ebab (patch)
tree9958b82fa3462c27f49b6db21b8e10f1e6e76bde /.travis.yml
parent7855c23ae80e5f6c78846b80e9a74186834fd988 (diff)
Use CC without ccache as MJIT_CC
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@65732 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
Diffstat (limited to '.travis.yml')
-rw-r--r--.travis.yml1
1 files changed, 1 insertions, 0 deletions
diff --git a/.travis.yml b/.travis.yml
index 90d2aa9..c7ccb04 100644
--- a/.travis.yml
+++ b/.travis.yml
@@ -330,6 +330,7 @@ before_script:
gcc*) the_gcc=(ccache $CC ${GCC_FLAGS[@]} -fno-diagnostics-color) ;;
clang*) the_gcc=(ccache $CC ${GCC_FLAGS[@]} -fno-color-diagnostics) ;;
esac
+ if [ ccache = "${the_gcc[0]}" ]; then export MJIT_CC="${the_gcc[*]:1}"; fi
$SETARCH ../configure -C --disable-install-doc --prefix=/tmp/ruby-prefix --with-gcc="${the_gcc[*]}" $CONFIG_FLAG "${CONFIG_FLAG_ARRAY[@]}"
- "cp -pr config.cache config.status .ext/include ../config_1st"
- "$SETARCH make reconfig"