this is a horrible PR
This commit is contained in:
parent
1ee2662ab5
commit
ba94b536be
@ -6,9 +6,10 @@ language: c
|
|||||||
addons:
|
addons:
|
||||||
apt:
|
apt:
|
||||||
sources:
|
sources:
|
||||||
- llvm-toolchain-trusty-4.0
|
- ubuntu-toolchain-r-test
|
||||||
|
- llvm-toolchain-precise-3.8
|
||||||
packages:
|
packages:
|
||||||
- clang-4.0
|
- clang-3.8
|
||||||
|
|
||||||
before_script:
|
before_script:
|
||||||
- gem install coveralls-lcov
|
- gem install coveralls-lcov
|
||||||
|
@ -13,5 +13,7 @@ make clean > /dev/null
|
|||||||
|
|
||||||
scan_build=$(which scan-build)
|
scan_build=$(which scan-build)
|
||||||
[ -z "$scan_build" ] && scan_build=$(find /usr/bin/ -name 'scan-build-*' | sort -nr | head -n1) || true
|
[ -z "$scan_build" ] && scan_build=$(find /usr/bin/ -name 'scan-build-*' | sort -nr | head -n1) || true
|
||||||
[ -z "$scan_build" ] && { echo "couldn't find clang scan-build"; exit 1; } || true
|
[ -z "$scan_build" ] && { echo "couldn't find clang scan-build"; exit 1; } || echo "run $scan_build"
|
||||||
CFLAGS="" EXTRALIBS="" $scan_build make -f makefile.unix all CFLAGS="" EXTRALIBS=""
|
export CFLAGS="-DUSE_LTM -DLTM_DESC -I/usr/include"
|
||||||
|
export EXTRALIBS="-ltommath"
|
||||||
|
$scan_build make -f makefile.unix all CFLAGS="$CFLAGS" EXTRALIBS="$EXTRALIBS"
|
||||||
|
Loading…
Reference in New Issue
Block a user