[前][次][番号順一覧][スレッド一覧]

ruby-changes:59606

From: Koichi <ko1@a...>
Date: Fri, 3 Jan 2020 04:51:21 +0900 (JST)
Subject: [ruby-changes:59606] 6f5ee1f092 (master): modify MJIT_CC only on RUBY_DEBUG=ci

https://git.ruby-lang.org/ruby.git/commit/?id=6f5ee1f092

From 6f5ee1f092414e4d60a403d82a57cf023b38c0b9 Mon Sep 17 00:00:00 2001
From: Koichi Sasada <ko1@a...>
Date: Fri, 3 Jan 2020 04:39:34 +0900
Subject: modify MJIT_CC only on RUBY_DEBUG=ci

Modify MJIT_CC (27fae1d4ad) only on CI environment.

diff --git a/configure.ac b/configure.ac
index 98bc488..55b2d93 100644
--- a/configure.ac
+++ b/configure.ac
@@ -276,7 +276,8 @@ AS_IF([test "x$cross_compiling" = xno], [ https://github.com/ruby/ruby/blob/trunk/configure.ac#L276
     AC_PATH_PROG([MJIT_CC], ${MJIT_CC})
 
     # if $CC is in /usr/lib/ccache/$CC, search original $CC (disable ccache)
-    AS_IF([echo $MJIT_CC | grep ^/usr/lib/ccache > /dev/null], [
+    AS_IF([echo $RUBY_DEBUG | grep ci > /dev/null &&
+           echo $MJIT_CC | grep ^/usr/lib/ccache > /dev/null], [
            PATH=`echo $PATH | sed "s/\/usr\/lib\/ccache://"` MJIT_CC=`which $CC`])
 
     AS_CASE([$target_os],
-- 
cgit v0.10.2


--
ML: ruby-changes@q...
Info: http://www.atdot.net/~ko1/quickml/

[前][次][番号順一覧][スレッド一覧]