blob: 6dd8a99f1980f6f82f92843b5337b5b61df7aa3f (
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
30
31
32
33
34
|
- name: Ensure legacy workspace directory
file:
path: '{{ ansible_user_dir }}/workspace'
state: directory
- name: install yasm in RHEL based systems
yum:
name: yasm
enablerepo: epel
state: present
when: ansible_distribution in ['RedHat', 'CentOS']
become: yes
- 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 https://github.com/intel/isa-l.git -b v2.30.0
cd isa-l
./autogen.sh
./configure
make
sudo make install
executable: /bin/bash
chdir: '{{ ansible_user_dir }}/workspace'
environment: '{{ zuul | zuul_legacy_vars }}'
|