Last active
February 14, 2023 07:54
-
-
Save rosterloh/d5dd4553686eb82d151c7449138d32a5 to your computer and use it in GitHub Desktop.
Mixin to optimise builds for Raspberry Pi 4
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
mixin: | |
- tune-pi4.mixin |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
{ | |
"build": { | |
"tune-pi4": { | |
"cmake-args": [ | |
"-DCMAKE_C_FLAGS=-march=armv8-a+crc -mtune=cortex-a72 -O3", | |
"-DCMAKE_CXX_FLAGS=-march=armv8-a+crc -mtune=cortex-a72 -O3" | |
] | |
} | |
} | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment