A helper class that parsing main arguments of CCompilerOpt
,
also parsing configuration statements in dispatch-able sources.
_Config.conf_min_features
Dictionary containing initialized target groups that configured
through class attribute conf_target_groups
.
The key is represent the group name and value is a tuple contains three items :
- bool, True if group has the 'baseline' option.
- list, list of CPU features.
- list, list of extra compiler flags.
Method | __init__ |
Undocumented |
Method | _parse_arg_features |
Undocumented |
Method | _parse_multi_target |
validate multi targets that defined between parentheses() |
Method | _parse_policy_autovec |
skip features that has no auto-vectorized support by compiler |
Method | _parse_policy_keepsort |
leave a notice that $keep_sort is on |
Method | _parse_policy_maxopt |
append the compiler optimization flags |
Method | _parse_policy_not_keepbase |
skip all baseline features |
Method | _parse_policy_not_keepsort |
sorted depend on the highest interest |
Method | _parse_policy_werror |
force warnings to treated as errors |
Method | _parse_target_tokens |
Undocumented |
Method | _parse_token_group |
validate group token |
Method | _parse_token_policy |
validate policy token |
Method | parse_targets |
No summary |
Class Variable | _parse_regex_arg |
Undocumented |
Class Variable | _parse_regex_target |
Undocumented |
Instance Variable | _parse_policies |
Undocumented |
Instance Variable | parse_baseline_flags |
Undocumented |
Instance Variable | parse_baseline_names |
Undocumented |
Instance Variable | parse_dispatch_names |
Undocumented |
Instance Variable | parse_is_cached |
Undocumented |
Instance Variable | parse_target_groups |
Undocumented |
numpy.distutils.ccompiler_opt.CCompilerOpt
Undocumented
Fetch and parse configuration statements that required for defining the targeted CPU features, statements should be declared in the top of source in between C comment and start with a special mark @targets.
Configuration statements are sort of keywords representing CPU features names, group of statements and policies, combined together to determine the required optimization.