numpy.distutils.ccompiler_opt.CCompilerOpt.feature_names#

方法

distutils.ccompiler_opt.CCompilerOpt.feature_names(names=None, force_flags=None, macros=[])[source]#

傳回平台和 C 編譯器支援的 CPU 功能名稱集合。

參數:
names序列或 None,選填

指定特定的 CPU 功能以針對 C 編譯器進行測試。如果為 None(預設),則會測試目前所有支援的功能。注意:功能名稱必須為大寫。

force_flags列表或 None,選填

如果為 None(預設),則在測試期間將使用每個 CPU 功能的預設編譯器旗標。

macros元組列表,選填

C 巨集定義的列表。