Join GitHub today
GitHub is home to over 28 million developers working together to host and review code, manage projects, and build software together.Sign up
Use cmake timestamp macro #472
Without this patch it is hard to build mariadb packages
See https://reproducible-builds.org/ for why this matters.
With this patch, it is possible, because recent cmake versions
Note: if requiring cmake-2.8.11 is not yet an option,
I contribute this change under the BSD-new license.
Thanks for your contribution!
CMake 2.8.11 is almost 5 years old, however we still have builders with older cmake building 10.2 (some even have cmake 2.7).
What if do something like
This will make reproducible builds on recent platforms, while keeping it compilable on older platforms.
Independently of alternative solution suggested by @vuvova, I like
@bmwiedemann I wonder if dropping