class documentation
class _CCompiler: (source)
Known subclasses: numpy.distutils.ccompiler_opt.CCompilerOpt
A helper class for CCompilerOpt
containing all utilities that
related to the fundamental compiler's functions.
Method | __init__ |
Undocumented |
Method | cc |
Remove the conflicts that caused due gathering implied features flags. |
Method | cc |
Same as the above but supports compile-time expressions. |
Method | cc |
Returns True if the compiler supports 'flags'. |
Instance Variable | cc |
Dictionary containing the initialized flags of _Config.conf_cc_flags |
Instance Variable | cc |
True if the compiler has debug flags |
Instance Variable | cc |
True if the compiler has native flags |
Instance Variable | cc |
Undocumented |
Instance Variable | cc |
True if the compiler is Clang |
Instance Variable | cc |
True if the compiler is GNU or if the compiler is unknown |
Instance Variable | cc |
True if the compiler is Intel compiler (unix like) |
Instance Variable | cc |
True if the compiler is Intel compiler (msvc like) |
Instance Variable | cc |
True if the compiler isn't supported directly, Note: that cause a fail-back to gcc |
Instance Variable | cc |
The target architecture name, or "unknown" if the architecture isn't supported |
Instance Variable | cc |
The compiler name, or "unknown" if the compiler isn't supported |
Instance Variable | cc |
True if the compiler has definition 'DISABLE_OPT*', or 'cc_on_noarch' is True |
Instance Variable | cc |
True when the target architecture is 64-bit Armv8-a+ |
Instance Variable | cc |
True when the target architecture is 32-bit ARMv7+ |
Instance Variable | cc |
True when the target architecture is unknown or not supported |
Instance Variable | cc |
True when the target architecture is 64-bit big-endian powerpc |
Instance Variable | cc |
True when the target architecture is 64-bit litle-endian powerpc |
Instance Variable | cc |
True when the target architecture is IBM/ZARCH on linux |
Instance Variable | cc |
True when the target architecture is 64-bit x86 |
Instance Variable | cc |
True when the target architecture is 32-bit x86 |
Method | _cc |
Undocumented |
Method | _cc |
Undocumented |
Class Variable | _cc |
Undocumented |
Class Variable | _cc |
Undocumented |
Class Variable | _cc |
Undocumented |
Class Variable | _cc |
Undocumented |
Class Variable | _cc |
Undocumented |
Class Variable | _cc |
Undocumented |
Remove the conflicts that caused due gathering implied features flags.
Examples
>>> self.cc_normalize_flags(['-march=armv8.2-a+fp16', '-march=armv8.2-a+dotprod']) ['armv8.2-a+fp16+dotprod']
>>> self.cc_normalize_flags( ['-msse', '-msse2', '-msse3', '-mssse3', '-msse4.1', '-msse4.2', '-mavx', '-march=core-avx2'] ) ['-march=core-avx2']
Parameters | |
flags | Undocumented |
'flags' list | flags should be sorted from the lowest to the highest interest. |
compiler flags | flags should be sorted from the lowest to the highest interest. |
Returns | |
list, filtered from any conflicts. |