Post

Replies

Boosts

Views

Activity

How to stop iCloud from syncing node_modules?
How would one achieve to stop iCloud from syncing build folders like node_modules? I don‘t think it makes sense to have them synced to iCloud since they can be reinstalled anytime from npm, so no important data gets lost. Also the upload takes a toll on performance since node_modules can be a lot of files. It's just quite a disruptive experience for any Node.js developer using macOS.
0
1
868
Feb ’22
Why does march=native not work on Apple M1?
Whenever I try to compile any C++ program with march=native on a Macbook with a M1 chip, I get the following error when using clang: clang: error: the clang compiler does not support '-march=native' However, it used to work on an older Macbook with an Intel CPU. Does clang not support this architecture (yet)? clang --version gives: Apple clang version 12.0.0 (clang-1200.0.32.29) Target: arm64-apple-darwin20.2.0
3
0
6k
Jan ’21