Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
build: add descriptive warning about version
Problem: flux-sched's version comes from `git describe`, which is passed to CMake. CMake validates versions using a regex in `CMake/Source/cmProjectCommand.cxx`. When this is an invalid version, flux-sched can't build. This often happens in CI, forks, or stripped-down user environments, and often happens to new contributors. Solution: Validate the version before passing to CMake. If the version is invalid, throw a descriptive warning with some suggestions. Fixes #1291
- Loading branch information