-
Notifications
You must be signed in to change notification settings - Fork 9
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
803 Conform to new checkpoint API, make required #804
Conversation
- Conform to 1.0.0-beta.8 changes in checkpoint, refactoring the namespaces and checkpoint API - Checkpoint is considered a optional dependency, but VT has been failing to compile without checkpoint for a long time. Thus, make it a required dependency. - Remove all the conditional logic on HAS_SERIALIZTION_LIBRARY - Remove the "mock" checkpoint-replacement serializer that handled all the basic types, std::vector, std::tuple of basic arthimetic types when checkpoinmt was not present.
Codecov Report
@@ Coverage Diff @@
## develop #804 +/- ##
===========================================
- Coverage 79.88% 79.87% -0.01%
===========================================
Files 341 341
Lines 10632 10630 -2
===========================================
- Hits 8493 8491 -2
Misses 2139 2139
|
I am completely at a loss as to what is wrong with the alpine-clang build after spending an hour trying to debug why the fuck cmake isn't including the proper directories. The generated targets file looks fine... but for some reason on that platform (with what should be a sufficient version of cmake), it doesn't include the interface directories from the imported target. |
Do you need to add a |
I tried that and it didn't solve the problem. |
@lifflander I just spent a day dealing with a similar horror. Can you try setting policy CM0060 to true (it may need to be a default)? This should be done just after your project declaration. |
I tried setting this: if (POLICY CMP0060)
cmake_policy(SET CM0060 OLD)
endif() But, I'm getting this:
|
The problem doesn't happen unless checkpoint is linked in, instead of being in the build tree. The generated checkpointTargets.cmake has the appropriate |
I found the bug! In the alpine image, I had accidentally installed checkpoint globally |
Fixes #803
Conform to 1.0.0-beta.8 changes in checkpoint, refactoring the
namespaces and checkpoint API
Checkpoint is considered a optional dependency, but VT has been
failing to compile without checkpoint for a long time. Thus, make it
a required dependency.
Remove all the conditional logic on
HAS_SERIALIZTION_LIBRARY
Remove the "mock" checkpoint-replacement serializer that handled all
the basic types,
std::vector
,std::tuple
of basic arthimetic typeswhen checkpoint was not present.