[ci] Fix co-sim install

Due to a failure of mirror syncing the co-sim package cannot be
installed. This downloads it directly from the master server and
installs it manually.
This commit is contained in:
Greg Chadwick 2022-08-18 11:49:12 +01:00 committed by Greg Chadwick
parent 32801e8d12
commit 1affeff527

View file

@ -33,9 +33,9 @@ case "$ID-$VERSION_ID" in
$SUDO_CMD apt-get update
# Make spike-cosim repository available
curl -Ls https://download.opensuse.org/repositories/home:gac_lowrisc/xUbuntu_18.04/Release.key | $SUDO_CMD apt-key add -
$SUDO_CMD sh -c "echo 'deb http://download.opensuse.org/repositories/home:/gac_lowrisc/xUbuntu_18.04/ /' > /etc/apt/sources.list.d/spike-cosim.list" sudo apt update
$SUDO_CMD apt-get update
#curl -Ls https://download.opensuse.org/repositories/home:gac_lowrisc/xUbuntu_18.04/Release.key | $SUDO_CMD apt-key add -
#$SUDO_CMD sh -c "echo 'deb http://download.opensuse.org/repositories/home:/gac_lowrisc/xUbuntu_18.04/ /' > /etc/apt/sources.list.d/spike-cosim.list" sudo apt update
#$SUDO_CMD apt-get update
# Packaged dependencies
# Install python3-yaml through apt to get a version with libyaml bindings,
@ -58,9 +58,15 @@ case "$ID-$VERSION_ID" in
bison \
libelf-dev \
clang-format \
wget \
"verilator-$VERILATOR_VERSION" \
"ibex-cosim-$IBEX_COSIM_VERSION" \
xz-utils
# "ibex-cosim-$IBEX_COSIM_VERSION" \
# TODO: Remove this hack, workaround due to OBS mirrors not syncing
# correctly
wget https://download.opensuse.org/repositories/home:/gac_lowrisc/xUbuntu_18.04/amd64/ibex-cosim-0.4_0.4-1_amd64.deb
$SUDO_CMD dpkg -i ibex-cosim-0.4_0.4-1_amd64.deb
# Python dependencies
#