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 # one package per line to simplify sorting, git diff, etc.
54 python3 -m pip install --user
57 pytest-subtests==0.11.0
59 - git clone --depth 1 -b yosys-0.17 https://github.com/YosysHQ/yosys.git yosys
67 - git clone https://github.com/YosysHQ/SymbiYosys.git SymbiYosys
69 - git checkout d10e472edf4ea9be3aa6347b264ba575fbea933a
73 - git clone --depth 1 -b Yices-2.6.4 https://github.com/SRI-CSL/yices2.git yices2
81 - git clone --depth 1 -b z3-4.8.17 https://github.com/Z3Prover/z3.git z3
83 - python scripts/mk_make.py
89 - git clone --depth 1 https://gitlab.com/nmigen/nmigen.git nmigen
92 - python3 setup.py develop
95 - git clone --depth 1 https://git.libre-soc.org/git/mdis.git mdis
98 - python3 setup.py develop
101 - git clone --depth 1 https://git.libre-soc.org/git/nmutil.git nmutil
104 - python3 setup.py develop
107 - git clone --depth 1 https://git.libre-soc.org/git/pytest-output-to-files.git pytest-output-to-files
108 - pushd pytest-output-to-files
110 - python3 setup.py develop
113 # kernel.org recommends cloning from a bundle in CI since that uses a CDN
114 - 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
115 - git clone linux.bundle
117 - git remote set-url origin https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git
118 - git remote update origin
119 - git checkout v6.5.8
122 - python3 setup.py develop
124 - make generate &> generate.log || { cat generate.log; false; }
126 - python3 -m openpower.syscalls json linux > src/openpower/syscalls/syscalls.json
128 - SILENCELOG='!*,default' pytest -v --maxfail=10