Skip to content

Conversation

@xkszltl
Copy link
Contributor

@xkszltl xkszltl commented May 4, 2018

On Windows, the FindRocksDB script doesn't detect rocksdb installation built by cmake.
And it doesn't include/link the RocksDB dependencies either, like:

  • Snappy
  • Shlwapi.lib
  • Rpcrt4.lib

This PR try to detect in config mode first before using private find module.

@xkszltl xkszltl force-pushed the rocksdb branch 7 times, most recently from 28aecc2 to efacb9e Compare May 11, 2018 20:32
@xkszltl xkszltl changed the title Detect system RocksDB installation with CMake config files. [Caffe2] Detect system RocksDB installation with CMake config files. May 12, 2018
@xkszltl xkszltl force-pushed the rocksdb branch 2 times, most recently from 4cac412 to ab2f7f0 Compare May 14, 2018 01:25
@xkszltl xkszltl force-pushed the rocksdb branch 7 times, most recently from ab33d8b to cfd8ba1 Compare May 26, 2018 21:18
@zou3519 zou3519 added the caffe2 label May 29, 2018
@xkszltl xkszltl force-pushed the rocksdb branch 4 times, most recently from 8e2134c to acb912e Compare June 10, 2018 06:31
@xkszltl xkszltl force-pushed the rocksdb branch 3 times, most recently from ead915d to f7a432d Compare June 14, 2018 06:20
@xkszltl xkszltl force-pushed the rocksdb branch 4 times, most recently from e484c1b to 344dbd2 Compare June 27, 2018 04:36
Copy link
Contributor

@Yangqing Yangqing left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Thanks for the fix!

Copy link
Contributor

@facebook-github-bot facebook-github-bot left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Yangqing is landing this pull request. If you are a Facebook employee, you can view this diff on Phabricator.

@xkszltl xkszltl deleted the rocksdb branch August 13, 2018 01:46
@xkszltl xkszltl restored the rocksdb branch August 13, 2018 01:56
goodlux pushed a commit to goodlux/pytorch that referenced this pull request Aug 15, 2018
…7315)

Summary:
On Windows, the FindRocksDB script doesn't detect rocksdb installation built by cmake.
And it doesn't include/link the RocksDB dependencies either, like:
  * `Snappy`
  * `Shlwapi.lib`
  * `Rpcrt4.lib`

This PR try to detect in config mode first before using private find module.
Pull Request resolved: pytorch#7315

Differential Revision: D9287587

Pulled By: Yangqing

fbshipit-source-id: 314a36a14bfe04aa45013349c5537163fb4c5c00
@xkszltl xkszltl deleted the rocksdb branch January 3, 2019 02:21
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

6 participants