[ruby-core:113662] [Ruby master Feature#19695] mkmf: Adding the extra option --with-verbose to enable verbose mode.

Issue #19695 has been reported by jaruga (Jun Aruga). ---------------------------------------- Feature #19695: mkmf: Adding the extra option --with-verbose to enable verbose mode. https://bugs.ruby-lang.org/issues/19695 * Author: jaruga (Jun Aruga) * Status: Open * Priority: Normal ---------------------------------------- I want the new feature to enable the verbose mode by setting the `V = 1` in the generated `Makefile` when building native extensions. Because the `V = 1` prints the compiler command lines. And it's useful to confirm and the compiler flags. It can be used like the commands below. ``` $ ruby /path/to/extconf.rb -- --with-verbose ``` ``` $ rake compiler -- --with-verbose ``` The pull-request is <https://github.com/ruby/ruby/pull/7863>. -- https://bugs.ruby-lang.org/

Issue #19695 has been updated by nobu (Nobuyoshi Nakada). LGTM ---------------------------------------- Feature #19695: mkmf: Adding the extra option --with-verbose to enable verbose mode. https://bugs.ruby-lang.org/issues/19695#change-103337 * Author: jaruga (Jun Aruga) * Status: Open * Priority: Normal ---------------------------------------- I want the new feature to enable the verbose mode by setting the `V = 1` in the generated `Makefile` at runtime when building native extensions. Because the `V = 1` prints the compiler command lines. And it's useful to confirm and update the compiler flags. It can be used like the command below. ``` $ ruby /path/to/extconf.rb -- --with-verbose $ grep '^V =' Makefile V = 1 ``` Or it can be used with `rake-compiler` gem. ``` $ rake compiler -- --with-verbose ``` The pull-request is <https://github.com/ruby/ruby/pull/7863>. -- https://bugs.ruby-lang.org/

Issue #19695 has been updated by jaruga (Jun Aruga).
$ rake compiler -- --with-verbose
Sorry for my typo in the commit message. It's not "rake compiler" but "rake compile". ``` $ rake compile -- --with-verbose ``` ---------------------------------------- Feature #19695: mkmf: Adding the extra option --with-verbose to enable verbose mode. https://bugs.ruby-lang.org/issues/19695#change-103341 * Author: jaruga (Jun Aruga) * Status: Closed * Priority: Normal ---------------------------------------- I want the new feature to enable the verbose mode by setting the `V = 1` in the generated `Makefile` at runtime when building native extensions. Because the `V = 1` prints the compiler command lines. And it's useful to confirm and update the compiler flags. It can be used like the command below. ``` $ ruby /path/to/extconf.rb -- --with-verbose $ grep '^V =' Makefile V = 1 ``` Or it can be used with `rake-compiler` gem. ``` $ rake compile -- --with-verbose ``` The pull-request is <https://github.com/ruby/ruby/pull/7863>. -- https://bugs.ruby-lang.org/
participants (2)
-
jaruga (Jun Aruga)
-
nobu (Nobuyoshi Nakada)