DARMA-tasking / vt

DARMA/vt => Virtual Transport
Other
35 stars 9 forks source link

vt build system calls checkpoint cmake macros #1158

Open nlslatt opened 3 years ago

nlslatt commented 3 years ago

Describe the bug When an error occurs in find_package_local, cmake reports (correctly) that it was executing the version in checkpoint, not in vt, at least when checkpoint is dropped into vt's lib subdirectory.

To Reproduce Steps to reproduce the behavior:

  1. Example/test/snippet of code that fails
  2. Compiler, platform, libraries
  3. Run command: number of processors, threading options, etc.
  4. See error

Expected behavior A clear and concise description of what you expected to happen.

Screenshots If applicable, add screenshots to help explain your problem.

Platform (please complete the following information):

Additional context Add any other context about the problem here.

nlslatt commented 3 years ago

The link below describes some of the potential pitfalls of writing our own cmake function. We should probably plan some significant refactoring.

https://cmakedev.readthedocs.io/en/latest/cmake/writing_functions.html