Install Jerasure and ISA-L libs
Install libraries to be tested w/ liberasurecode Change-Id: Ic1cd7b61c780cf794640e4ce0d57e6126ad5756b
This commit is contained in:
parent
7b547e0e46
commit
096effe62a
|
@ -1,15 +1,6 @@
|
||||||
- hosts: all
|
- hosts: all
|
||||||
|
roles:
|
||||||
|
- install_isal
|
||||||
|
- install_jerasure
|
||||||
|
- test_liberasurecode
|
||||||
|
|
||||||
tasks:
|
|
||||||
- name: Build and test
|
|
||||||
shell:
|
|
||||||
cmd: |
|
|
||||||
set -e
|
|
||||||
set -x
|
|
||||||
./autogen.sh
|
|
||||||
./configure
|
|
||||||
make
|
|
||||||
make test
|
|
||||||
make valgrind-test
|
|
||||||
executable: /bin/bash
|
|
||||||
chdir: '{{ zuul.project.src_dir }}'
|
|
||||||
|
|
|
@ -0,0 +1,26 @@
|
||||||
|
- name: Ensure legacy workspace directory
|
||||||
|
file:
|
||||||
|
path: '{{ ansible_user_dir }}/workspace'
|
||||||
|
state: directory
|
||||||
|
|
||||||
|
- name: install yasm
|
||||||
|
package:
|
||||||
|
name: yasm
|
||||||
|
state: present
|
||||||
|
become: yes
|
||||||
|
|
||||||
|
- name: Build and Install ISA-L
|
||||||
|
shell:
|
||||||
|
cmd: |
|
||||||
|
set -e
|
||||||
|
set -x
|
||||||
|
cd $WORKSPACE
|
||||||
|
git clone git://github.com/01org/isa-l.git
|
||||||
|
cd isa-l
|
||||||
|
./autogen.sh
|
||||||
|
./configure
|
||||||
|
make
|
||||||
|
sudo make install
|
||||||
|
executable: /bin/bash
|
||||||
|
chdir: '{{ ansible_user_dir }}/workspace'
|
||||||
|
environment: '{{ zuul | zuul_legacy_vars }}'
|
|
@ -0,0 +1,36 @@
|
||||||
|
- name: Ensure legacy workspace directory
|
||||||
|
file:
|
||||||
|
path: '{{ ansible_user_dir }}/workspace'
|
||||||
|
state: directory
|
||||||
|
|
||||||
|
- name: Build and Install GF-Complete
|
||||||
|
shell:
|
||||||
|
cmd: |
|
||||||
|
set -e
|
||||||
|
set -x
|
||||||
|
cd $WORKSPACE
|
||||||
|
git clone http://lab.jerasure.org/jerasure/gf-complete.git
|
||||||
|
cd gf-complete
|
||||||
|
./autogen.sh
|
||||||
|
./configure
|
||||||
|
make
|
||||||
|
sudo make install
|
||||||
|
executable: /bin/bash
|
||||||
|
chdir: '{{ ansible_user_dir }}/workspace'
|
||||||
|
environment: '{{ zuul | zuul_legacy_vars }}'
|
||||||
|
|
||||||
|
- name: Build and Install Jerasure
|
||||||
|
shell:
|
||||||
|
cmd: |
|
||||||
|
set -e
|
||||||
|
set -x
|
||||||
|
cd $WORKSPACE
|
||||||
|
git clone http://lab.jerasure.org/jerasure/jerasure.git
|
||||||
|
cd jerasure
|
||||||
|
autoreconf --force --install
|
||||||
|
./configure
|
||||||
|
make
|
||||||
|
sudo make install
|
||||||
|
executable: /bin/bash
|
||||||
|
chdir: '{{ ansible_user_dir }}/workspace'
|
||||||
|
environment: '{{ zuul | zuul_legacy_vars }}'
|
|
@ -0,0 +1,14 @@
|
||||||
|
- name: Build and test liberasurecode
|
||||||
|
shell:
|
||||||
|
cmd: |
|
||||||
|
set -e
|
||||||
|
set -x
|
||||||
|
sudo bash -c "echo /usr/local/lib >> /etc/ld.so.conf"
|
||||||
|
sudo ldconfig
|
||||||
|
./autogen.sh
|
||||||
|
./configure
|
||||||
|
make
|
||||||
|
make test
|
||||||
|
make valgrind-test
|
||||||
|
executable: /bin/bash
|
||||||
|
chdir: '{{ zuul.project.src_dir }}'
|
Loading…
Reference in New Issue