summaryrefslogtreecommitdiff
path: root/tools/ci/jobs/gccsnapshot.sh
blob: 7ac5fa464f82e270f6501110f09843c5998947e3 (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 libjudy-dev

do_init
build_init

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