mirror of
https://github.com/ruby/ruby.git
synced 2022-11-09 12:17:21 -05:00
update travis clang
Seems clang-7 has false-positives around memory sanitizer. This line should not be reported because the memory region is correctly unpoisoned beforehand: https://travis-ci.org/ruby/ruby/jobs/524766381 Clang 8 seems to fix it.
This commit is contained in:
parent
3175c54cb6
commit
d700a8a0eb
1 changed files with 31 additions and 6 deletions
37
.travis.yml
37
.travis.yml
|
@ -98,6 +98,31 @@ env:
|
||||||
before_install:
|
before_install:
|
||||||
- /usr/local/opt/openssl@1.1/bin/openssl version
|
- /usr/local/opt/openssl@1.1/bin/openssl version
|
||||||
|
|
||||||
|
- &clang-8
|
||||||
|
compiler: clang-8
|
||||||
|
addons:
|
||||||
|
apt:
|
||||||
|
config:
|
||||||
|
retries: true
|
||||||
|
update: true
|
||||||
|
sources:
|
||||||
|
- llvm-toolchain-xenial-8
|
||||||
|
packages:
|
||||||
|
- clang-8
|
||||||
|
- llvm-8-tools
|
||||||
|
- libffi-dev
|
||||||
|
- libgdbm-dev
|
||||||
|
- libgmp-dev
|
||||||
|
- libjemalloc-dev
|
||||||
|
- libncurses5-dev
|
||||||
|
- libncursesw5-dev
|
||||||
|
- libreadline6-dev
|
||||||
|
- libssl-dev
|
||||||
|
- libyaml-dev
|
||||||
|
- openssl
|
||||||
|
- valgrind
|
||||||
|
- zlib1g-dev
|
||||||
|
|
||||||
# --------
|
# --------
|
||||||
|
|
||||||
- &x86_64-linux
|
- &x86_64-linux
|
||||||
|
@ -163,13 +188,13 @@ env:
|
||||||
<<: *linux
|
<<: *linux
|
||||||
#<<: *cron-only
|
#<<: *cron-only
|
||||||
<<: *make-test-only
|
<<: *make-test-only
|
||||||
compiler: clang
|
<<: *clang-8
|
||||||
env:
|
env:
|
||||||
- ASAN_OPTIONS=detect_leaks=0
|
- ASAN_OPTIONS=detect_leaks=0
|
||||||
- cflags='-march=native -fsanitize=address -fno-omit-frame-pointer -fPIC'
|
- cflags='-march=native -fsanitize=address -fno-omit-frame-pointer -fPIC'
|
||||||
- debugflags=-ggdb3
|
- debugflags=-ggdb3
|
||||||
- optflags=-O1
|
- optflags=-O1
|
||||||
- LD=clang
|
- LD=clang-8
|
||||||
- LDFLAGS='-fsanitize=address -fPIC'
|
- LDFLAGS='-fsanitize=address -fPIC'
|
||||||
- CONFIG_FLAG='--with-out-ext=openssl --without-gmp --without-jemalloc --without-valgrind'
|
- CONFIG_FLAG='--with-out-ext=openssl --without-gmp --without-jemalloc --without-valgrind'
|
||||||
|
|
||||||
|
@ -178,11 +203,11 @@ env:
|
||||||
<<: *linux
|
<<: *linux
|
||||||
#<<: *cron-only
|
#<<: *cron-only
|
||||||
<<: *make-test-only
|
<<: *make-test-only
|
||||||
compiler: clang
|
<<: *clang-8
|
||||||
env:
|
env:
|
||||||
- cflags='-fsanitize=memory -fsanitize-memory-track-origins=2 -fno-omit-frame-pointer -fPIC'
|
- cflags='-fsanitize=memory -fsanitize-memory-track-origins=2 -fno-omit-frame-pointer -fPIC'
|
||||||
- optflags=-O1
|
- optflags=-O1
|
||||||
- LD=clang
|
- LD=clang-8
|
||||||
- LDFLAGS='-fsanitize=memory -fPIC'
|
- LDFLAGS='-fsanitize=memory -fPIC'
|
||||||
- CONFIG_FLAG='--with-out-ext=openssl --without-gmp --without-jemalloc --without-valgrind'
|
- CONFIG_FLAG='--with-out-ext=openssl --without-gmp --without-jemalloc --without-valgrind'
|
||||||
|
|
||||||
|
@ -191,13 +216,13 @@ env:
|
||||||
<<: *linux
|
<<: *linux
|
||||||
#<<: *cron-only
|
#<<: *cron-only
|
||||||
<<: *make-test-only
|
<<: *make-test-only
|
||||||
compiler: clang
|
<<: *clang-8
|
||||||
env:
|
env:
|
||||||
- cflags='-fsanitize=undefined,integer,nullability -fno-omit-frame-pointer'
|
- cflags='-fsanitize=undefined,integer,nullability -fno-omit-frame-pointer'
|
||||||
- cppflags=-DUNALIGNED_WORD_ACCESS=0
|
- cppflags=-DUNALIGNED_WORD_ACCESS=0
|
||||||
- debugflags=-ggdb3
|
- debugflags=-ggdb3
|
||||||
- optflags='-O1 -march=native'
|
- optflags='-O1 -march=native'
|
||||||
- LD=clang
|
- LD=clang-8
|
||||||
- LDFLAGS=-fsanitize=undefined,integer,nullability
|
- LDFLAGS=-fsanitize=undefined,integer,nullability
|
||||||
|
|
||||||
- &i686-linux
|
- &i686-linux
|
||||||
|
|
Loading…
Add table
Reference in a new issue