File tree 2 files changed +2
-8
lines changed 2 files changed +2
-8
lines changed Original file line number Diff line number Diff line change @@ -330,7 +330,6 @@ jobs:
330
330
before_install :
331
331
- mkdir bin ; ln -s /usr/bin/gcc-5 bin/gcc
332
332
- sudo update-alternatives --install /usr/bin/g++ g++ /usr/bin/g++-5 90
333
- - sudo update-alternative --install /usr/bin/gcc gcc /usr/bin/gcc-5 90
334
333
- g++ --version
335
334
# Coverity runs as part of before_script
336
335
env :
@@ -344,7 +343,7 @@ install:
344
343
- ccache --max-size=1G
345
344
- make -C jbmc/src setup-submodules
346
345
- make -C src minisat2-download
347
- - make CC=gcc-5 -C src/ansi-c library_check
346
+ - make -C src/ansi-c library_check
348
347
- make -C src/cpp library_check
349
348
- make -C src "CXX=${COMPILER} ${EXTRA_CXXFLAGS}" -j3
350
349
- make -C jbmc/src "CXX=${COMPILER} ${EXTRA_CXXFLAGS}" -j3
Original file line number Diff line number Diff line change 1
1
#! /usr/bin/env bash
2
2
3
3
CC=$1
4
- echo " C COMPILER THAT IS BEING USED: $CC "
5
- $CC --version
6
4
shift
7
5
8
6
for f in " $@ " ; do
9
7
echo " Checking ${f} "
10
8
cp " ${f} " __libcheck.c
11
- # I don’t know why we’re not allowed to match a 'v' (that was already there)
12
- # but __builtin_add_overflow/__builtin_sub_overflow and __builtin_mul_overflow
13
- # are being used in implementations so they shouldn’t be replaced.
14
- perl -p -i -e ' s/(__builtin_(?!v|add_overflow|sub_overflow|mul_overflow))/s$1/' __libcheck.c
9
+ perl -p -i -e ' s/(__builtin_[^v])/s$1/' __libcheck.c
15
10
perl -p -i -e ' s/(_mm_.fence)/s$1/' __libcheck.c
16
11
perl -p -i -e ' s/(__sync_)/s$1/' __libcheck.c
17
12
perl -p -i -e ' s/(__atomic_)/s$1/' __libcheck.c
You can’t perform that action at this time.
0 commit comments