Skip to content

Commit 3f68d9b

Browse files
authored
Merge pull request #220027 from Homebrew/wiredtiger-crc
wiredtiger: enable runtime CPU detection
2 parents 1453194 + eec5a2a commit 3f68d9b

File tree

2 files changed

+4
-0
lines changed

2 files changed

+4
-0
lines changed

Formula/w/wiredtiger.rb

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -30,6 +30,9 @@ class Wiredtiger < Formula
3030
uses_from_macos "zlib"
3131

3232
def install
33+
# CRC32 hardware detection: https://github.com/wiredtiger/wiredtiger/tree/develop/src/checksum
34+
ENV.runtime_cpu_detection
35+
3336
args = %W[
3437
-DHAVE_BUILTIN_EXTENSION_SNAPPY=1
3538
-DHAVE_BUILTIN_EXTENSION_ZLIB=1

style_exceptions/runtime_cpu_detection_allowlist.json

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -32,6 +32,7 @@
3232
"spidermonkey",
3333
"svt-av1",
3434
"vc",
35+
"wiredtiger",
3536
"x265",
3637
"xxhash",
3738
"zlib-ng-compat"

0 commit comments

Comments
 (0)