]> git.openstreetmap.org Git - chef.git/commitdiff
Build taginfo tools in release mode
authorJochen Topf <jochen@topf.org>
Thu, 27 Aug 2020 07:33:13 +0000 (09:33 +0200)
committerJochen Topf <jochen@topf.org>
Thu, 27 Aug 2020 07:33:13 +0000 (09:33 +0200)
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]"