summaryrefslogtreecommitdiff
path: root/tools/ci/jobs/gccsnapshot.sh
blob: 5e49d3eb7c76ae3a9afe4691128abfa5858de09f (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
#!/usr/bin/env bash

export CC=gcc
export CXX=g++
export LOGFILE=gcc-snapshot.log
export PATH=/usr/lib/gcc-snapshot/bin:$PATH

source ./tools/ci/scripts/init.sh

aptget_install gcc-snapshot \
    git-core \
    make autoconf automake autopoint \
    libtool libmysqlclient-dev libz-dev libpcre3-dev

do_init
build_init

# look like in gcc snapshot bug in this flag
export CFLAGS="-Wno-restrict"
run_configure $*
run_make