Skip to content

Commit

Permalink
use hard-coded build date for RocksDB
Browse files Browse the repository at this point in the history
so that repeated builds with the same source code produce the same
binary executable.
note that the now-hard coded build date is not used by ArangoDB at all,
so its actual value does not matter, as long as it is hard-coded.
  • Loading branch information
jsteemann committed Jun 10, 2024
1 parent be790c8 commit fc73b17
Showing 1 changed file with 5 additions and 0 deletions.
5 changes: 5 additions & 0 deletions arangodb.cmake
Original file line number Diff line number Diff line change
Expand Up @@ -67,3 +67,8 @@ if (MSVC)
endif ()
set(USE_RTTI ON CACHE BOOL "enable RTTI")

# note: the actual timestamp does not matter here. we only want it to be
# a fixed value, so that building at different timestamps produces the same
# binary executable and build id.
# the build date of RocksDB is not used by ArangoDB at all.
set(BUILD_DATE "2024-06-10 17:48:39" CACHE STRING "the time we first built rocksdb")

0 comments on commit fc73b17

Please sign in to comment.