-
Notifications
You must be signed in to change notification settings - Fork 53
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
fix: Downgrade gcc toolchain on windows
Gcc version 8.0.2 produces coverage reports that are not readable by lcov(linux-test-project/lcov#38) As a result we are required to downgrade the gcc-toolchain Download older gcc version from http://repo.msys2.org/mingw/x86_64/ Disable optimizations flags for better coverage reports
- Loading branch information
Showing
3 changed files
with
22 additions
and
6 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,16 @@ | ||
#!/bin/bash | ||
|
||
#wget http://repo.msys2.org/mingw/x86_64/mingw-w64-x86_64-gcc-7.3.0-1-any.pkg.tar.xz \ | ||
# http://repo.msys2.org/mingw/x86_64/mingw-w64-x86_64-gcc-ada-7.3.0-1-any.pkg.tar.xz \ | ||
# http://repo.msys2.org/mingw/x86_64/mingw-w64-x86_64-gcc-fortran-7.3.0-1-any.pkg.tar.xz \ | ||
# http://repo.msys2.org/mingw/x86_64/mingw-w64-x86_64-gcc-libgfortran-7.3.0-1-any.pkg.tar.xz \ | ||
# http://repo.msys2.org/mingw/x86_64/mingw-w64-x86_64-gcc-libs-7.3.0-1-any.pkg.tar.xz \ | ||
# http://repo.msys2.org/mingw/x86_64/mingw-w64-x86_64-gcc-objc-7.3.0-1-any.pkg.tar.xz | ||
# | ||
|
||
pacman --noconfirm -U mingw-w64-x86_64-gcc-7.3.0-1-any.pkg.tar.xz \ | ||
mingw-w64-x86_64-gcc-ada-7.3.0-1-any.pkg.tar.xz \ | ||
mingw-w64-x86_64-gcc-fortran-7.3.0-1-any.pkg.tar.xz \ | ||
mingw-w64-x86_64-gcc-libgfortran-7.3.0-1-any.pkg.tar.xz \ | ||
mingw-w64-x86_64-gcc-libs-7.3.0-1-any.pkg.tar.xz \ | ||
mingw-w64-x86_64-gcc-objc-7.3.0-1-any.pkg.tar.xz |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters