Skip to content

[CI] Minor fixes to CI accompanying C++17 version change #8028

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 7 commits into from
Nov 14, 2023

Conversation

NlightNFotis
Copy link
Contributor

Currently the Rust API build for macOS when running on develop is failing, with the toolchain saying that it cannot find the file for <algorithm>. This points to a stale or otherwise compromised build configuration, so this is an experimental PR to change the environment (macOS) to a newer version (12 -> 13) in an attempt to ameliorate the situation.

@NlightNFotis NlightNFotis self-assigned this Nov 13, 2023
Copy link

codecov bot commented Nov 13, 2023

Codecov Report

All modified and coverable lines are covered by tests ✅

Comparison is base (a8de0b7) 79.10% compared to head (5f0d5df) 79.10%.
Report is 6 commits behind head on develop.

Additional details and impacted files
@@           Coverage Diff            @@
##           develop    #8028   +/-   ##
========================================
  Coverage    79.10%   79.10%           
========================================
  Files         1699     1699           
  Lines       196508   196508           
========================================
+ Hits        155443   155446    +3     
+ Misses       41065    41062    -3     

☔ View full report in Codecov by Sentry.
📢 Have feedback on the report? Share it here.

@tautschnig tautschnig mentioned this pull request Nov 14, 2023
7 tasks
Python warns about the use of `\d`: we should use raw strings here as
that's not meant to be an escape sequence.
See
https://github.com/diffblue/cbmc/actions/runs/6856483568/job/18643716705?pr=6749
for one example of the failure: cargo-induced clang runs (via the cc
crate) weren't finding the C++ library (which ought to be libc++ and not
libstdc++ on this MacOS target). This appears to be caused by the
minimum build target being too low (where the cc crate is the one
setting that minimum). Override that by setting an environment variable.
See
https://github.com/rust-lang/cc-rs/blob/2d6a3b2119cf5eacc01e1f2877e064a7aede7819/src/lib.rs#L3497C52-L3497C76
for the Rust code implementing the logic.
The prefix lookup resulted in picking up the Release-Glucose cache from
check-macos-12-cmake-clang. This cache, however, was established with
Glucose as a SAT solver, which implies different compiler
command lines. Consequently, there would be 0 cache hits.
@NlightNFotis NlightNFotis marked this pull request as ready for review November 14, 2023 14:28
@NlightNFotis NlightNFotis merged commit ea77c96 into diffblue:develop Nov 14, 2023
@NlightNFotis NlightNFotis deleted the fix_rust_ci branch November 14, 2023 17:35
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants