Skip to content

Commit 6b7d38d

Browse files
mpiatkaMartinPulec
authored andcommitted
CI: Ubuntu install gcc-10
FFmpeg refuses to build on gcc 9, because of missing intrinsic _mm256_loadu2_m128i
1 parent 2ccefd5 commit 6b7d38d

File tree

1 file changed

+5
-0
lines changed

1 file changed

+5
-0
lines changed

.github/scripts/Linux/prepare.sh

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -28,6 +28,11 @@ sudo apt install libcurl4-nss-dev
2828
sudo apt install i965-va-driver-shaders # instead of i965-va-driver
2929
sudo apt install uuid-dev # Cineform
3030

31+
sudo apt install gcc-10
32+
sudo apt install g++-10
33+
sudo update-alternatives --install /usr/bin/gcc gcc /usr/bin/gcc-10 10
34+
sudo update-alternatives --install /usr/bin/g++ g++ /usr/bin/g++-10 10
35+
3136
get_build_deps_excl() { # $2 - pattern to exclude
3237
apt-cache showsrc "$1" | sed -n '/^Build-Depends:/{s/Build-Depends://;p;q}' | tr ',' '\n' | cut -f 2 -d\ | grep -v "$2"
3338
}

0 commit comments

Comments
 (0)