13 # one package per line to simplify sorting, git diff, etc.
15 apt-get -y install --no-install-recommends
18 binutils-powerpc64-linux-gnu
19 binutils-powerpc64le-linux-gnu
30 libboost-program-options-dev
42 python3-setuptools-scm
46 - export PATH="$HOME/.local/bin:/usr/lib/ccache:$PATH"
47 - export CCACHE_BASEDIR="$PWD"
48 - export CCACHE_DIR="$PWD/ccache"
49 - export CCACHE_COMPILERCHECK=content
50 - ccache --zero-stats || true
51 - ccache --show-stats || true
52 - python3 -m pip install --user pytest-xdist==3.3.1 pytest==7.3.1
54 - git clone --depth 1 -b yosys-0.17 https://github.com/YosysHQ/yosys.git yosys
62 - git clone https://github.com/YosysHQ/SymbiYosys.git SymbiYosys
64 - git checkout d10e472edf4ea9be3aa6347b264ba575fbea933a
68 - git clone --depth 1 -b Yices-2.6.4 https://github.com/SRI-CSL/yices2.git yices2
76 - git clone --depth 1 -b z3-4.8.17 https://github.com/Z3Prover/z3.git z3
78 - python scripts/mk_make.py
84 - git clone --depth 1 https://gitlab.com/nmigen/nmigen.git nmigen
87 - python3 setup.py develop
90 - git clone --depth 1 https://git.libre-soc.org/git/mdis.git mdis
93 - python3 setup.py develop
96 - git clone --depth 1 https://git.libre-soc.org/git/nmutil.git nmutil
99 - python3 setup.py develop
102 - git clone --depth 1 https://git.libre-soc.org/git/pytest-output-to-files.git pytest-output-to-files
103 - pushd pytest-output-to-files
105 - python3 setup.py develop
108 # kernel.org recommends cloning from a bundle in CI since that uses a CDN
109 - if [[ ! -f linux.bundle ]]; then aria2c -x 16 -s 16 -o linux.bundle https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git/clone.bundle || { rm -f linux.bundle; exit 1; }; fi
110 - git clone linux.bundle
112 - git remote set-url origin https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git
113 - git remote update origin
114 - git checkout v6.5.8
117 - python3 setup.py develop
119 - make generate &> generate.log || { cat generate.log; false; }
121 - python3 -m openpower.syscalls json linux > src/openpower/syscalls/syscalls.json
123 - SILENCELOG='!*,default' pytest -v --maxfail=10