mirror of
https://github.com/mozilla/gecko-dev.git
synced 2024-10-19 08:15:31 +00:00
Bug 1577528 - Remove hardcoded clang version in ccov mozconfigs r=froydnj
So that we don't have to keep bumping them by hand with every compiler upgrade. This pattern was taken from the other uses of https://searchfox.org/mozilla-central/search?q=CLANG_LIB_DIR&case=true Differential Revision: https://phabricator.services.mozilla.com/D43990 --HG-- extra : moz-landing-system : lando
This commit is contained in:
parent
90152ac00d
commit
2883853abf
@ -12,6 +12,7 @@ ac_add_options --disable-profiling
|
||||
ac_add_options --disable-warnings-as-errors
|
||||
ac_add_options --enable-coverage
|
||||
|
||||
export LDFLAGS="--coverage -L$MOZ_FETCHES_DIR/clang/lib/clang/8.0.1/lib/linux/"
|
||||
CLANG_LIB_DIR="$(cd $MOZ_FETCHES_DIR/clang/lib/clang/* && cd lib/linux && pwd)"
|
||||
export LDFLAGS="--coverage -L$CLANG_LIB_DIR"
|
||||
export LIBS="-lclang_rt.profile-x86_64"
|
||||
export RUSTFLAGS="-Ccodegen-units=1 -Zprofile -Zno-landing-pads -Clink-dead-code -Coverflow-checks=off"
|
||||
|
@ -8,6 +8,7 @@ ac_add_options --disable-sandbox
|
||||
ac_add_options --disable-warnings-as-errors
|
||||
ac_add_options --enable-coverage
|
||||
|
||||
export LDFLAGS="-coverage -L$MOZ_FETCHES_DIR/clang/lib/clang/8.0.1/lib/darwin/"
|
||||
CLANG_LIB_DIR="$(cd $MOZ_FETCHES_DIR/clang/lib/clang/* && cd lib/darwin && pwd)"
|
||||
export LDFLAGS="-coverage -L$CLANG_LIB_DIR"
|
||||
export LIBS="-lclang_rt.profile_osx"
|
||||
export RUSTFLAGS="-Ccodegen-units=1 -Zprofile -Zno-landing-pads -Clink-dead-code -Coverflow-checks=off"
|
||||
|
Loading…
Reference in New Issue
Block a user