[Groonga-commit] groonga/groonga at 9c99493 [master] package windows: support memory debug build

Back to archive index

Kouhei Sutou null+****@clear*****
Sat Mar 19 00:10:46 JST 2016


Kouhei Sutou	2016-03-19 00:10:46 +0900 (Sat, 19 Mar 2016)

  New Revision: 9c99493e67e6cc6aafe8e282dbd23023d238e4e7
  https://github.com/groonga/groonga/commit/9c99493e67e6cc6aafe8e282dbd23023d238e4e7

  Message:
    package windows: support memory debug build

  Modified files:
    packages/windows/Rakefile

  Modified: packages/windows/Rakefile (+2 -0)
===================================================================
--- packages/windows/Rakefile    2016-03-19 00:09:55 +0900 (e3620a3)
+++ packages/windows/Rakefile    2016-03-19 00:10:46 +0900 (0313f10)
@@ -24,6 +24,7 @@ groonga_win32_x86_p = ENV["ARCHITECTURE"] == "x86"
 groonga_version = ENV["VERSION"]
 groonga_source = Pathname.new(ENV["SOURCE"]).expand_path
 debug_build_p = ENV["DEBUG_BUILD"] == "yes"
+memory_debug_build_p = ENV["MEMORY_DEBUG_BUILD"] == "yes"
 
 if groonga_win32_x86_p
   dist_dir = Pathname.new("dist-x86").expand_path
@@ -323,6 +324,7 @@ namespace :build do
         options << "--without-mecab"
       end
       options << "--enable-debug" if debug_build_p
+      options << "--enable-memory-debug" if memory_debug_build_p
       sh("./configure", *options) or exit(false)
       sh("env", "GREP_OPTIONS=--text", "nice", "make", "-j8") or exit(false)
       sh("env", "GREP_OPTIONS=--text", "make", "install") or exit(false)
-------------- next part --------------
HTML����������������������������...
Download 



More information about the Groonga-commit mailing list
Back to archive index