Skip to content

Commit 83c2f91

Browse files
committed
aws-checksums: runtime cpu detection
1 parent 38266be commit 83c2f91

File tree

3 files changed

+8
-0
lines changed

3 files changed

+8
-0
lines changed

Formula/a/aws-checksums.rb

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -18,6 +18,10 @@ class AwsChecksums < Formula
1818
depends_on "aws-c-common"
1919

2020
def install
21+
# Intel: https://github.com/awslabs/aws-checksums/commit/e03e976974d27491740c98f9132a38ee25fb27d0
22+
# ARM: https://github.com/awslabs/aws-checksums/commit/d7005974347050a97b13285eb0108dd1e59cf2c4
23+
ENV.runtime_cpu_detection
24+
2125
system "cmake", "-S", ".", "-B", "build", "-DBUILD_SHARED_LIBS=ON", *std_cmake_args
2226
system "cmake", "--build", "build"
2327
system "cmake", "--install", "build"
Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,3 @@
1+
[
2+
"aws-checksums"
3+
]

style_exceptions/runtime_cpu_detection_allowlist.json

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,7 @@
11
[
22
"abseil",
33
"aom",
4+
"aws-checksums",
45
"awscli",
56
"bitcoin",
67
"blis",

0 commit comments

Comments
 (0)