Skip to content

Commit eec5a2a

Browse files
committed
wiredtiger: enable runtime CPU detection
1 parent 97715bd commit eec5a2a

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
@@ -31,6 +31,7 @@
3131
"spidermonkey",
3232
"svt-av1",
3333
"vc",
34+
"wiredtiger",
3435
"x265",
3536
"xxhash",
3637
"zlib-ng-compat"

0 commit comments

Comments
 (0)