mesos-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Andrew Schwartzmeyer (JIRA)" <>
Subject [jira] [Commented] (MESOS-7296) CMake 2.8.10 does not support TIMESTAMP
Date Thu, 23 Mar 2017 22:24:41 GMT


Andrew Schwartzmeyer commented on MESOS-7296:

Ah, I see. Still a work-around caused by us not moving to CMake 3.

> CMake 2.8.10 does not support TIMESTAMP
> ---------------------------------------
>                 Key: MESOS-7296
>                 URL:
>             Project: Mesos
>          Issue Type: Bug
>          Components: build, cmake
>         Environment: Anywhere with CMake 2.x instead of 3.x (specifically 2.8.10).
>            Reporter: Andrew Schwartzmeyer
>            Priority: Trivial
>              Labels: build
> The patch moved the build time and date info out
of compile definitions and into a build file. While testing, an existent bug was discovered
where the CMake command `string(TIMESTAMP BUILD_TIME "%s" UTC)` is unsupported with CMake
2.8.10. Instead of replacing the variable with the time, it replaces with with "%s".
> This is not a Linux vs Windows bug. This is specifically unsupported in 2.8.10. Configuring
with `cmake3` does not reproduce the bug.

This message was sent by Atlassian JIRA

View raw message