diff options
| author | Robert Schumacher <roschuma@microsoft.com> | 2018-03-09 00:54:42 -0800 |
|---|---|---|
| committer | Robert Schumacher <roschuma@microsoft.com> | 2018-03-09 06:08:45 -0800 |
| commit | 4bf7b425718cf922c1d62b13cc33450afcf75081 (patch) | |
| tree | 4c92900ba5f4bea09ed1f8c55172e16f8f1bef32 | |
| parent | d5ca6630393cd6fa2bd929672b1afd3a9bdd2728 (diff) | |
| download | vcpkg-4bf7b425718cf922c1d62b13cc33450afcf75081.tar.gz vcpkg-4bf7b425718cf922c1d62b13cc33450afcf75081.zip | |
[rocksdb] Disable optional dependencies to improve reliability.
| -rw-r--r-- | ports/rocksdb/CONTROL | 4 | ||||
| -rw-r--r-- | ports/rocksdb/portfile.cmake | 7 |
2 files changed, 6 insertions, 5 deletions
diff --git a/ports/rocksdb/CONTROL b/ports/rocksdb/CONTROL index f16c32192..19383f54a 100644 --- a/ports/rocksdb/CONTROL +++ b/ports/rocksdb/CONTROL @@ -1,4 +1,4 @@ Source: rocksdb -Version: 5.10.4 +Version: 5.10.4-1 Description: A library that provides an embeddable, persistent key-value store for fast storage -Build-Depends: snappy, lz4, gflags, zlib, gtest +Build-Depends: snappy, lz4, zlib, gtest diff --git a/ports/rocksdb/portfile.cmake b/ports/rocksdb/portfile.cmake index 6256a3b53..740c40114 100644 --- a/ports/rocksdb/portfile.cmake +++ b/ports/rocksdb/portfile.cmake @@ -1,7 +1,5 @@ include(vcpkg_common_functions) -find_program(GIT git) - if(NOT VCPKG_TARGET_ARCHITECTURE STREQUAL "x64") message(FATAL_ERROR "Rocksdb only supports x64") endif() @@ -35,7 +33,6 @@ vcpkg_configure_cmake( SOURCE_PATH ${SOURCE_PATH} PREFER_NINJA OPTIONS - -DGIT_EXECUTABLE=${GIT} -DGFLAGS=1 -DSNAPPY=1 -DLZ4=1 @@ -48,6 +45,10 @@ vcpkg_configure_cmake( -DROCKSDB_DISABLE_INSTALL_STATIC_LIB=${ROCKSDB_DISABLE_INSTALL_STATIC_LIB} -DROCKSDB_VERSION=5.10.3 -DCURRENT_INSTALLED_DIR=${CURRENT_INSTALLED_DIR} + -DCMAKE_DISABLE_FIND_PACKAGE_TBB=TRUE + -DCMAKE_DISABLE_FIND_PACKAGE_NUMA=TRUE + -DCMAKE_DISABLE_FIND_PACKAGE_gtest=TRUE + -DCMAKE_DISABLE_FIND_PACKAGE_Git=TRUE ) vcpkg_install_cmake() |
