]> git.openstreetmap.org Git - chef.git/blobdiff - cookbooks/taginfo/recipes/default.rb
Build taginfo tools in release mode
[chef.git] / cookbooks / taginfo / recipes / default.rb
index cba2f68901320559e78c4a15dfda5fdc8caa15c4..c63b8707c1f45d2217ea7d65c980be6c71653161 100644 (file)
@@ -119,7 +119,7 @@ node[:taginfo][:sites].each do |site|
     user "taginfo"
     group "taginfo"
     cwd "#{directory}/build"
-    command "cmake #{directory}/taginfo-tools && make"
+    command "cmake #{directory}/taginfo-tools -DCMAKE_BUILD_TYPE=Release && make"
     subscribes :run, "apt_package[libprotozero-dev]"
     subscribes :run, "apt_package[libosmium2-dev]"
     subscribes :run, "git[#{directory}/taginfo-tools]"