Skip to content

Commit ffe2936

Browse files
committed
Fix setup and build on Ubuntu 22.04 (#3)
1 parent 8bd1ae0 commit ffe2936

File tree

2 files changed

+3
-2
lines changed

2 files changed

+3
-2
lines changed

meson.build

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -64,6 +64,7 @@ stockfish_sources = [
6464
stockfish = static_library(
6565
'stockfish',
6666
stockfish_sources,
67+
override_options: ['werror=false'],
6768
)
6869

6970
###############################################################################

setup.sh

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -21,8 +21,8 @@ pip3 install -U pip
2121
pip3 install setuptools
2222
pip3 install -r requirements-linux-common.txt
2323

24-
# Install cutechess dependencies.
25-
sudo apt-get install -y --no-install-recommends qt5-default
24+
# Install cutechess dependencies (Ubuntu 20.04 || Ubuntu 22.04).
25+
sudo bash -c 'apt-get install -y --no-install-recommends qt5-default || apt-get install -y --no-install-recommends qtbase5-dev qtchooser qt5-qmake qtbase5-dev-tools'
2626

2727
# Build and install protobuf.
2828
curl -L https://github.com/protocolbuffers/protobuf/releases/download/v3.13.0/protobuf-cpp-3.13.0.tar.gz | tar -xz

0 commit comments

Comments
 (0)