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

ruby-changes:42608

From: nobu <ko1@a...>
Date: Fri, 22 Apr 2016 14:17:44 +0900 (JST)
Subject: [ruby-changes:42608] nobu:r54682 (trunk): tk: suppress progress indicators

nobu	2016-04-22 15:14:21 +0900 (Fri, 22 Apr 2016)

  New Revision: 54682

  https://svn.ruby-lang.org/cgi-bin/viewvc.cgi?view=revision&revision=54682

  Log:
    tk: suppress progress indicators
    
    * ext/tk/extconf.rb: hack to disable progress indicators with
      parallel build, not to interleave other messages.

  Modified files:
    trunk/ext/tk/extconf.rb
Index: ext/tk/extconf.rb
===================================================================
--- ext/tk/extconf.rb	(revision 54681)
+++ ext/tk/extconf.rb	(revision 54682)
@@ -127,7 +127,7 @@ def maybe_64bit? https://github.com/ruby/ruby/blob/trunk/ext/tk/extconf.rb#L127
   /64|universal|s390x/ =~ RUBY_PLATFORM
 end
 
-if defined?(Logging.quiet) and Logging.quiet
+if defined?(Logging.quiet) and Logging.quiet and /--jobserver-fds=/ !~ ENV["MAKEFLAGS"]
   def progress(s)
     print(s)
   end

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

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