haiku/lgtm.yml
Jérôme Duval d057f0aedd lgtm.yml: disable Wformat-diag when building gcc
LGTM seems to provide GCC 9.2, for which the flag -Wformat-diag is falsely
detected as supported.

Change-Id: I95a5946d9c6cd2af73e85070973f855fba3fcc39
Reviewed-on: https://review.haiku-os.org/c/haiku/+/4786
Reviewed-by: Jérôme Duval <jerome.duval@gmail.com>
2021-12-14 06:06:41 +00:00

37 lines
1.0 KiB
YAML

extraction:
cpp:
prepare:
packages:
- git
- nasm
- autoconf
- automake
- texinfo
- flex
- bison
- gawk
- build-essential
- unzip
- wget
- zip
- less
- zlib1g-dev
- libzstd-dev
- xorriso
- libtool
- gcc-multilib
- python3
after_prepare:
- curl https://codeload.github.com/haiku/buildtools/zip/master -o master.zip
- mkdir $LGTM_WORKSPACE/buildtools
- unzip -qq master.zip -d $LGTM_WORKSPACE/buildtools
- rm master.zip
- cd $LGTM_WORKSPACE/buildtools/buildtools-master/jam && make && BINDIR=$LGTM_WORKSPACE/bin ./jam0 install
configure:
command:
- acx_cv_prog_cc_warning__Werror_format_diag=no ./configure --cross-tools-source $LGTM_WORKSPACE/buildtools/buildtools-master --build-cross-tools x86_64 --use-gcc-pipe -j2
index:
build_command:
- HAIKU_REVISION=hrev90000 $LGTM_WORKSPACE/bin/jam -j2 @nightly-raw