]> git-server-git.apps.pok.os.sepia.ceph.com Git - rocksdb.git/commit
Fix use of crc32c 3way on portable builds using MSVC (#10667)
authorDaniel Engel <danielen1337@gmail.com>
Tue, 8 Nov 2022 19:56:55 +0000 (11:56 -0800)
committerFacebook GitHub Bot <facebook-github-bot@users.noreply.github.com>
Tue, 8 Nov 2022 19:56:55 +0000 (11:56 -0800)
commit55d58d91e7784a42e116f1055b5dee9fe077c021
treed3ec39ce2efea5f1f3606f8f1ad615ab0253d69a
parentb8de2291adb8fd8ba68db2578ec095cf1f7a540b
Fix use of crc32c 3way on portable builds using MSVC (#10667)

Summary:
Hello,
As discussed previously in this [discussion](https://github.com/facebook/rocksdb/pull/9680#discussion_r853105163), the mentioned PR introduced a regression in portable versions that compile with MSVC - crc_3way optimization won't be used even in cases where it is supported.

This PR aims to fix just that.

Pull Request resolved: https://github.com/facebook/rocksdb/pull/10667

Reviewed By: akankshamahajan15

Differential Revision: D40644592

Pulled By: ajkr

fbshipit-source-id: dadbeb10d57c19800e74288258ec3b96095557dd
CMakeLists.txt
util/crc32c.cc