Merge pull request #4018 from sfc-gh-tclinkenbeard/backport-gcc-rocks-override
Backport ability to disable building RocksDB with GCC (release 6.3)
This commit is contained in:
commit
870eade9c6
|
@ -106,10 +106,10 @@ endif()
|
|||
# RocksDB
|
||||
################################################################################
|
||||
|
||||
set(SSD_ROCKSDB_EXPERIMENTAL OFF CACHE BOOL "Build with experimental RocksDB support")
|
||||
set(SSD_ROCKSDB_EXPERIMENTAL ON CACHE BOOL "Build with experimental RocksDB support")
|
||||
# RocksDB is currently enabled by default for GCC but does not build with the latest
|
||||
# Clang.
|
||||
if (SSD_ROCKSDB_EXPERIMENTAL OR GCC)
|
||||
if (SSD_ROCKSDB_EXPERIMENTAL AND GCC)
|
||||
set(WITH_ROCKSDB_EXPERIMENTAL ON)
|
||||
else()
|
||||
set(WITH_ROCKSDB_EXPERIMENTAL OFF)
|
||||
|
|
Loading…
Reference in New Issue