Skip to content

Commit 10d4c97

Browse files
committed
[ci] Add missing dependency and fix RTD config
Cairo libraries are required for a python dependency. New RTD config introduced to fix build errors introduced by new urllib. We need to ensure the docs a built on a modern ubuntu with a sufficiently new python (see readthedocs/readthedocs.org#10290).
1 parent 1120e8d commit 10d4c97

File tree

2 files changed

+22
-1
lines changed

2 files changed

+22
-1
lines changed

.readthedocs.yml

+20
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,20 @@
1+
# .readthedocs.yaml
2+
# Read the Docs configuration file
3+
# See https://docs.readthedocs.io/en/stable/config-file/v2.html for details
4+
5+
# Required
6+
version: 2
7+
8+
# Set the version of Python and other tools you might need
9+
build:
10+
os: ubuntu-22.04
11+
tools:
12+
python: "3.11"
13+
14+
# Build documentation in the docs/ directory with Sphinx
15+
sphinx:
16+
configuration: doc/conf.py
17+
18+
python:
19+
install:
20+
- requirements: doc/requirements.txt

ci/install-build-deps.sh

+2-1
Original file line numberDiff line numberDiff line change
@@ -49,7 +49,8 @@ case "$ID-$VERSION_ID" in
4949
libelf-dev \
5050
clang-format \
5151
wget \
52-
xz-utils
52+
xz-utils \
53+
libcairo2-dev
5354

5455
wget https://storage.googleapis.com/ibex-cosim-builds/ibex-cosim-"$IBEX_COSIM_VERSION".tar.gz
5556
$SUDO_CMD mkdir -p /tools/riscv-isa-sim

0 commit comments

Comments
 (0)