Skip to content

Commit

Permalink
.github: Attempt to fix ubuntu 20.04 clang build
Browse files Browse the repository at this point in the history
clang-11 only seems to pull in libstdc++-9-dev, not libstdc++-10-dev.
The former does not seem to have <span> causing the following
compilation error:

	In file included from ../vendor/adb/client/file_sync_client.cpp:46:
	../vendor/adb/compression_utils.h:21:10: fatal error: 'span' file not found
	#include <span>
  • Loading branch information
nmeum committed Jul 6, 2021
1 parent 14cdb05 commit 53df642
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion .github/workflows/build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -56,7 +56,7 @@ jobs:
pkgs: "gcc-10 g++-10"
env1: "CC=gcc-10 CXX=g++-10"
- os: "ubuntu:20.04"
pkgs: "clang-11"
pkgs: "clang-11 libstdc++-10-dev"
env1: "CC=clang-11 CXX=clang++-11"
- os: "alpine"
pkgs: "gcc"
Expand Down

0 comments on commit 53df642

Please sign in to comment.