From: "jaruga (Jun Aruga) via ruby-core" Date: 2023-05-29T09:05:37+00:00 Subject: [ruby-core:113695] [Ruby master Feature#19695] mkmf: Adding the extra option --with-verbose to enable verbose mode. 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://bugs.ruby-lang.org/ ______________________________________________ ruby-core mailing list -- ruby-core@ml.ruby-lang.org To unsubscribe send an email to ruby-core-leave@ml.ruby-lang.org ruby-core info -- https://ml.ruby-lang.org/mailman3/postorius/lists/ruby-core.ml.ruby-lang.org/