diff --git a/README.md b/README.md index bb64bae..c53c90a 100644 --- a/README.md +++ b/README.md @@ -122,3 +122,18 @@ adb shell chmod +x /data/local/tmp/crc32c_tests adb shell 'cd /data/local/tmp && ./crc32c_tests' adb shell rm /data/local/tmp/crc32c_tests ``` + + +### iOS testing + +The following command builds the project against the iOS SDK, which is useful +for benchmarking against Apple's ARM chips ("Apple Sillicon"). + +```bash +cmake .. -GXcode \ + -DCMAKE_SYSTEM_NAME=iOS \ + -DCMAKE_OSX_ARCHITECTURES="arm64;x86_64" \ + -DCMAKE_OSX_DEPLOYMENT_TARGET=13 \ + -DCMAKE_XCODE_ATTRIBUTE_ONLY_ACTIVE_ARCH=NO DCRC32C_USE_GLOG=0 \ + -DCMAKE_BUILD_TYPE=Release && cmake --build . +``` diff --git a/third_party/benchmark b/third_party/benchmark index e991355..08fdf6e 160000 --- a/third_party/benchmark +++ b/third_party/benchmark @@ -1 +1 @@ -Subproject commit e991355c02b93fe17713efe04cbc2e278e00fdbd +Subproject commit 08fdf6eb84cc8a5b65d84041257c908de5879bf5 diff --git a/third_party/googletest b/third_party/googletest index 3b49be0..0953a17 160000 --- a/third_party/googletest +++ b/third_party/googletest @@ -1 +1 @@ -Subproject commit 3b49be074d5c1340eeb447e6a8e78427051e675a +Subproject commit 0953a17a4281fc26831da647ad3fcd5e21e6473b