Switch from yasm to nasm

... and build it from source so we can build latest ISA-L
(otherwise, the version shipped by some distros would
complain about a %use directive).

Change-Id: Ic9284c0c24860e44f0c73281492ad4bf873b3d7c
This commit is contained in:
Tim Burke 2022-04-11 08:44:08 -07:00 committed by Tim Burke
parent f592409bcc
commit a8faa01f6c
1 changed files with 16 additions and 14 deletions

View File

@ -3,19 +3,21 @@
path: '{{ ansible_user_dir }}/workspace' path: '{{ ansible_user_dir }}/workspace'
state: directory state: directory
- name: install yasm in RHEL based systems - name: Build and Install nasm
yum: shell:
name: yasm cmd: |
enablerepo: epel set -e
state: present set -x
when: ansible_distribution in ['RedHat', 'CentOS'] cd $WORKSPACE
become: yes curl https://www.nasm.us/pub/nasm/releasebuilds/2.16.01/nasm-2.16.01.tar.gz | tar -xz
cd nasm*
- name: install yasm ./autogen.sh
package: ./configure
name: yasm make nasm
state: present sudo install -c nasm /usr/bin/nasm
become: yes executable: /bin/bash
chdir: '{{ ansible_user_dir }}/workspace'
environment: '{{ zuul | zuul_legacy_vars }}'
- name: Build and Install ISA-L - name: Build and Install ISA-L
shell: shell:
@ -23,7 +25,7 @@
set -e set -e
set -x set -x
cd $WORKSPACE cd $WORKSPACE
git clone https://github.com/intel/isa-l.git -b v2.30.0 git clone https://github.com/intel/isa-l.git
cd isa-l cd isa-l
./autogen.sh ./autogen.sh
./configure ./configure