Skip to content

Commit

Permalink
Fix setup and build on Ubuntu 22.04 (#3)
Browse files Browse the repository at this point in the history
  • Loading branch information
chrisbutner committed Nov 15, 2022
1 parent 8bd1ae0 commit ffe2936
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 2 deletions.
1 change: 1 addition & 0 deletions meson.build
Original file line number Diff line number Diff line change
Expand Up @@ -64,6 +64,7 @@ stockfish_sources = [
stockfish = static_library(
'stockfish',
stockfish_sources,
override_options: ['werror=false'],
)

###############################################################################
Expand Down
4 changes: 2 additions & 2 deletions setup.sh
Original file line number Diff line number Diff line change
Expand Up @@ -21,8 +21,8 @@ pip3 install -U pip
pip3 install setuptools
pip3 install -r requirements-linux-common.txt

# Install cutechess dependencies.
sudo apt-get install -y --no-install-recommends qt5-default
# Install cutechess dependencies (Ubuntu 20.04 || Ubuntu 22.04).
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'

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

0 comments on commit ffe2936

Please sign in to comment.