-
-
Notifications
You must be signed in to change notification settings - Fork 123
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
update msvc ASAN support and copy required install dlls #77
base: main
Are you sure you want to change the base?
Conversation
copy sanitizer bin required for msvc
Codecov ReportAll modified and coverable lines are covered by tests ✅
❗ Your organization needs to install the Codecov GitHub app to enable full functionality. Additional details and impacted files@@ Coverage Diff @@
## main #77 +/- ##
=======================================
Coverage 24.70% 24.70%
=======================================
Files 6 6
Lines 251 251
Branches 142 143 +1
=======================================
Hits 62 62
- Misses 181 184 +3
+ Partials 8 5 -3
Flags with carried forward coverage won't be shown. Click here to find out more. ☔ View full report in Codecov by Sentry. |
I'm pretty certain that the build failures are related to cpp check now failing the constexpr unit tests, because it issues a warning that the tests will always be true.
Are you ok with a new option for cppcheck warnings as errors, currently it picks up the project warnings as errors. The other option would be to just not have it set in the constexpr tests. It is also picking up some errors in spdlog, I'm guessing there must be a way to tell spdlog to not check 3rd party libs, but I guess for me I'd rather still see them.
Not in any rush to merge this change, but it does make the windows builds clone->build->run, which I think is a plus. |
@DewJunkie The MSVC + ASAN + CMake has been no end of pain for me over the years. I dislike having to copy the DLL's around, but am up for it if it gets things working. There's a couple of other CI fixes in the pipeline, I'm going to try and get those merged first, then sort this one out with you. |
@lefticus too true. I can put some time into seeing if I can just mark those files as runtime dependencies, rather than forcing them to get installed. install() is one of my weaker cmake areas. |
MSVC does not allow the use of ASAN on debug builds, so modified sanitizers.cmake to reflect that.
MSVC requires the ASAN dlls to run, so I put an install for them into sanitizers.cmake.
The package updates are unrelated, but I was getting a lot of deprication warnings (promoted to errors) in msvc debug builds. Bumping the version to the latest resolved them.