diff options
author | Federico Mena Quintero <federico@gnome.org> | 2022-08-04 20:01:02 -0500 |
---|---|---|
committer | Federico Mena Quintero <federico@gnome.org> | 2022-08-05 11:51:27 -0500 |
commit | 1bfb7ad7946f2cc646c8aa8914af0073576e104c (patch) | |
tree | 171073aa39f69851a5d9433fff164548888b78ed /.gitlab-ci.yml | |
parent | 5f3994d3d51066bc6ed8db63544617a2a7888043 (diff) | |
download | librsvg-1bfb7ad7946f2cc646c8aa8914af0073576e104c.tar.gz |
Switch from LLVM source-based instrumentation back to gcov
I.e. from -Cinstrument-coverage to -Zprofile
This makes grcov take a long amount of time to run, hmmm...
Part-of: <https://gitlab.gnome.org/GNOME/librsvg/-/merge_requests/724>
Diffstat (limited to '.gitlab-ci.yml')
-rw-r--r-- | .gitlab-ci.yml | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/.gitlab-ci.yml b/.gitlab-ci.yml index 2e5e7929..19501ef4 100644 --- a/.gitlab-ci.yml +++ b/.gitlab-ci.yml @@ -276,7 +276,9 @@ coverage: LLVM_PROFILE_FILE: "coverage-profiles/coverage-%p-%m.profraw" LDFLAGS: "--coverage -L/usr/lib64/clang/14.0.6/lib/linux" LIBS: "-lclang_rt.profile-x86_64" - RUSTFLAGS: "-Cinstrument-coverage -Ccodegen-units=1 -Clink-dead-code -Coverflow-checks=off" + RUSTC_BOOTSTRAP: "1" # hack to make -Zprofile work on the non-nightly compiler + CARGO_INCREMENTAL: "0" # -Zprofile (gcov) doesn't like incremental compilation + RUSTFLAGS: "-Zprofile -Ccodegen-units=1 -Clink-dead-code -Coverflow-checks=off" script: - mkdir -p _build - cd _build |