Skip to content

Commit

Permalink
use the term Apple Silicon instead of outdated M1
Browse files Browse the repository at this point in the history
Signed-off-by: onur-ozkan <work@onurozkan.dev>
  • Loading branch information
onur-ozkan committed Jun 27, 2024
1 parent b2d9e52 commit 058afa0
Show file tree
Hide file tree
Showing 4 changed files with 4 additions and 4 deletions.
2 changes: 1 addition & 1 deletion docs/ANDROID_CROSS_ON_M1_MAC.md
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
## Cross-compiling MM for Android on M1 Mac
## Cross-compiling MM for Android on Apple Silicon

1. Ensure that your terminal is added to `Developer tools` in MacOS Security & Privacy settings.
2. The cross-compilation requires Android NDK version 21. Custom brew cask file is located at the root of this repo.
Expand Down
2 changes: 1 addition & 1 deletion docs/DEV_ENVIRONMENT.md
Original file line number Diff line number Diff line change
Expand Up @@ -61,7 +61,7 @@
```
CC=/usr/local/opt/llvm/bin/clang AR=/usr/local/opt/llvm/bin/llvm-ar wasm-pack test --firefox --headless mm2src/mm2_main
```
- for OSX users (M1):
- for OSX users (Apple Silicon):
```
CC=/opt/homebrew/opt/llvm/bin/clang AR=/opt/homebrew/opt/llvm/bin/llvm-ar wasm-pack test --firefox --headless mm2src/mm2_main
```
Expand Down
2 changes: 1 addition & 1 deletion docs/WASM_BUILD.md
Original file line number Diff line number Diff line change
Expand Up @@ -25,7 +25,7 @@ To build WASM release binary run one of the following commands according to your
```
CC=/usr/local/opt/llvm/bin/clang AR=/usr/local/opt/llvm/bin/llvm-ar wasm-pack build mm2src/mm2_bin_lib --target web --out-dir wasm_build/deps/pkg/
```
- for OSX users (M1):
- for OSX users (Apple Silicon):
```
CC=/opt/homebrew/opt/llvm/bin/clang AR=/opt/homebrew/opt/llvm/bin/llvm-ar wasm-pack build mm2src/mm2_bin_lib --target web --out-dir wasm_build/deps/pkg/
```
Expand Down
2 changes: 1 addition & 1 deletion mm2src/db_common/src/sqlite.rs
Original file line number Diff line number Diff line change
Expand Up @@ -310,7 +310,7 @@ where
}

/// As per https://twitter.com/marcan42/status/1494213862970707969, I've noticed significant SQLite performance
/// difference on M1 Mac and Linux.
/// difference on Apple Silicon Mac and Linux.
/// But according to https://phiresky.github.io/blog/2020/sqlite-performance-tuning/, these pragmas should
/// be safe to use, while giving great speed boost.
/// With these, Mac and Linux have comparable SQLite performance.
Expand Down

0 comments on commit 058afa0

Please sign in to comment.