-
-
Notifications
You must be signed in to change notification settings - Fork 383
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
PERF: Allow overwriting ABI/Optimization & Warning flags
Provide a mechanism for changing the default warning and ABI/OPTIMIZATION flags. The default ABI/Optimization flag settings are set to: -mtune=native # Tune the code for the computer used compile # ITK, but allow running on generic cpu # archetectures -march=corei7-avx # Use ABI settings to support corei7-avx # (circa 2013 ABI feature sets) The defaults can easily be overriden from the cmake comand line with: -DANTs_C_OPTIMIZATION_FLAGS:STRING="-march=native" -DANTs_CXX_OPTIMIZATION_FLAGS:STRING="-march=native" -DANTs_C_WARNING_FLAGS:STRING="-Wall -Werror" -DANTs_CXX_WARNING_FLAGS:STRING="-Wall -Werror"
- Loading branch information
1 parent
c56a0d8
commit dc50ca7
Showing
2 changed files
with
152 additions
and
40 deletions.
There are no files selected for viewing
This file contains 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
This file contains 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