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
27 g++-powerpc64le-linux-gnu
31 libboost-program-options-dev
43 python3-setuptools-scm
47 - export PATH="$HOME/.local/bin:/usr/lib/ccache:$PATH"
48 - export CCACHE_BASEDIR="$PWD"
49 - export CCACHE_DIR="$PWD/ccache"
50 - export CCACHE_COMPILERCHECK=content
51 - ccache --zero-stats || true
52 - ccache --show-stats || true
53 # one package per line to simplify sorting, git diff, etc.
55 python3 -m pip install --user
58 pytest-subtests==0.11.0
60 - git clone --depth 1 -b yosys-0.17 https://github.com/YosysHQ/yosys.git yosys
68 - git clone https://github.com/YosysHQ/SymbiYosys.git SymbiYosys
70 - git checkout d10e472edf4ea9be3aa6347b264ba575fbea933a
74 - git clone --depth 1 -b Yices-2.6.4 https://github.com/SRI-CSL/yices2.git yices2
82 - git clone --depth 1 -b z3-4.8.17 https://github.com/Z3Prover/z3.git z3
84 - python scripts/mk_make.py
90 - git clone --depth 1 https://gitlab.com/nmigen/nmigen.git nmigen
93 - python3 setup.py develop
96 - git clone --depth 1 https://git.libre-soc.org/git/mdis.git mdis
99 - python3 setup.py develop
102 - git clone --depth 1 https://git.libre-soc.org/git/nmutil.git nmutil
105 - python3 setup.py develop
108 - git clone --depth 1 https://git.libre-soc.org/git/pytest-output-to-files.git pytest-output-to-files
109 - pushd pytest-output-to-files
111 - python3 setup.py develop
114 # kernel.org recommends cloning from a bundle in CI since that uses a CDN
115 - 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
116 - git clone linux.bundle
118 - git remote set-url origin https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git
119 - git remote update origin
120 - git checkout v6.5.8
123 - python3 setup.py develop
125 - make generate &> generate.log || { cat generate.log; false; }
127 - python3 -m openpower.syscalls json linux > src/openpower/syscalls/syscalls.json
129 - SILENCELOG=1 SIM_NO_VCD=1 pytest -v --maxfail=10