Skip to content

Commit

Permalink
[ci] Install OpenOCD in CI
Browse files Browse the repository at this point in the history
The edatools OBS repository now has a versioned build of OpenOCD,
similar to what I've done for Verilator. Use this build of OpenOCD in
CI. For end users of OpenTitan the installation guide recommends
self-compiling OpenOCD, which remains a viable option.

OpenOCD 0.11.0 is actually not release yet, and we're using 0.11.0-rc2
for the time being, with the final release expected to happen any day
now.

Signed-off-by: Philipp Wagner <[email protected]>
  • Loading branch information
imphil committed Feb 25, 2021
1 parent 2ba5f99 commit b02d9c8
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 0 deletions.
1 change: 1 addition & 0 deletions azure-pipelines.yml
Original file line number Diff line number Diff line change
Expand Up @@ -7,6 +7,7 @@

variables:
VERILATOR_VERSION: 4.104
OPENOCD_VERSION: 0.11.0
TOOLCHAIN_PATH: /opt/buildcache/riscv
VERIBLE_VERSION: v0.0-808-g1e17daa
# Release tag from https://github.com/lowRISC/lowrisc-toolchains/releases
Expand Down
1 change: 1 addition & 0 deletions ci/install-package-dependencies.yml
Original file line number Diff line number Diff line change
Expand Up @@ -43,6 +43,7 @@ steps:
cp apt-requirements.txt apt-requirements-ci.txt
echo "verilator-$(VERILATOR_VERSION)" >> apt-requirements-ci.txt
echo "openocd-$(OPENOCD_VERSION)" >> apt-requirements-ci.txt
echo rsync >> apt-requirements-ci.txt
cat apt-requirements-ci.txt
Expand Down

0 comments on commit b02d9c8

Please sign in to comment.