summaryrefslogtreecommitdiffstats
path: root/extras/devel-tools/devel-vagrant/ansible/roles/compile-gluster/tasks/main.yml
blob: 6ee258c77809854e0fc2b59106a2a7774fa6f4ef (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
---
- name: autogen.sh
  shell: chdir={{ item }} ./autogen.sh
  with_items: "{{ trg_path }}"

- name: configure
  shell: chdir={{ item }} CFLAGS="-g -O0 -Werror -Wall -Wno-error=cpp -Wno-error=maybe-uninitialized" \
        ./configure \
        --prefix=/usr \
        --exec-prefix=/usr \
        --bindir=/usr/bin \
        --sbindir=/usr/sbin \
        --sysconfdir=/etc \
        --datadir=/usr/share \
        --includedir=/usr/include \
        --libdir=/usr/lib64 \
        --libexecdir=/usr/libexec \
        --localstatedir=/var \
        --sharedstatedir=/var/lib \
        --mandir=/usr/share/man \
        --infodir=/usr/share/info \
        --libdir=/usr/lib64 \
        --enable-debug
  with_items: "{{ trg_path }}"

- name: make install
  shell: chdir={{ item }} make install
  with_items: "{{ trg_path }}"