Browse Source

Build ufo in release mode

Matthias Vogelgesang 10 years ago
parent
commit
ad20d5da86
2 changed files with 2 additions and 2 deletions
  1. 1 1
      roles/compute-staging/handlers/main.yml
  2. 1 1
      roles/compute-staging/tasks/main.yml

+ 1 - 1
roles/compute-staging/handlers/main.yml

@@ -3,7 +3,7 @@
 # Configure and build core library
 #
 - name: configure ufo-core
-  command: chdir=/opt/ufo-core cmake . -DPREFIX={{ install_prefix }} -DLIBDIR={{ libdir }}
+  command: chdir=/opt/ufo-core cmake . -DPREFIX={{ install_prefix }} -DLIBDIR={{ libdir }} -DCMAKE_BUILD_TYPE=Release
   notify:
     - build ufo-core
 

+ 1 - 1
roles/compute-staging/tasks/main.yml

@@ -13,7 +13,7 @@
        dest=/opt/lamino-filters
 
 - name: configure filters
-  command: chdir=/opt/{{ item }} cmake . -DPREFIX={{ install_prefix }} -DLIBDIR={{ libdir }}
+  command: chdir=/opt/{{ item }} cmake . -DPREFIX={{ install_prefix }} -DLIBDIR={{ libdir }} -DCMAKE_BUILD_TYPE=Release
   notify:
     - build filters
   with_items: