From 72f0ead9f76ce9609651fa65edce845771167633 Mon Sep 17 00:00:00 2001 From: Philipp Wagner Date: Mon, 25 May 2020 17:48:44 +0100 Subject: [PATCH] [CI] Add dependency on pyyaml Pyyaml is needed for primgen (coming next), and for ibex_config.py. Install it through python-requirements.txt. This requires, unfortunately, an uninstallation of the distribution-provided version first (otherwise pip cannot install it). --- azure-pipelines.yml | 2 ++ python-requirements.txt | 2 ++ 2 files changed, 4 insertions(+) diff --git a/azure-pipelines.yml b/azure-pipelines.yml index 0eb5c31f..3c5951d1 100644 --- a/azure-pipelines.yml +++ b/azure-pipelines.yml @@ -47,6 +47,8 @@ jobs: - bash: | curl -L https://download.opensuse.org/repositories/home:phiwag:edatools/xUbuntu_16.04/Release.key | sudo apt-key add - sudo sh -c "echo 'deb http://download.opensuse.org/repositories/home:/phiwag:/edatools/xUbuntu_16.04/ /' > /etc/apt/sources.list.d/edatools.list" + # Uninstall distribution-provided version to get a newer version through pip + sudo apt-get remove -y python3-yaml sudo apt-get update sudo apt-get install -y \ python3 \ diff --git a/python-requirements.txt b/python-requirements.txt index 03e049f3..b517f5e1 100644 --- a/python-requirements.txt +++ b/python-requirements.txt @@ -7,3 +7,5 @@ git+https://github.com/lowRISC/edalize.git@ot # Development version with OT-specific changes git+https://github.com/lowRISC/fusesoc.git@ot + +pyyaml