diff options
author | Thiago da Silva <thiagodasilva@gmail.com> | 2018-09-21 11:29:15 -0400 |
---|---|---|
committer | Thiago da Silva <thiagodasilva@gmail.com> | 2018-10-22 10:40:16 -0400 |
commit | 096effe62a614085d4fccc3f67ddb06650ad5b5e (patch) | |
tree | a2d750ee0ed56e8ff15bd16088935de0e25f5e9f /roles/install_isal | |
parent | 7b547e0e46fc0a4172b602ec2a362eb1fa3a6431 (diff) | |
download | liberasurecode-096effe62a614085d4fccc3f67ddb06650ad5b5e.tar.gz |
Install Jerasure and ISA-L libs
Install libraries to be tested w/ liberasurecode
Change-Id: Ic1cd7b61c780cf794640e4ce0d57e6126ad5756b
Diffstat (limited to 'roles/install_isal')
-rw-r--r-- | roles/install_isal/tasks/main.yaml | 26 |
1 files changed, 26 insertions, 0 deletions
diff --git a/roles/install_isal/tasks/main.yaml b/roles/install_isal/tasks/main.yaml new file mode 100644 index 0000000..a9aa100 --- /dev/null +++ b/roles/install_isal/tasks/main.yaml @@ -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 }}' |