@@ -12,12 +12,17 @@ class ArmCCompiler(UnixCCompiler):
1212 cc_exe = 'armclang'
1313 cxx_exe = 'armclang++'
1414
15- def __init__ (self , verbose = 0 , dry_run = 0 , force = 0 ):
16- UnixCCompiler .__init__ (self , verbose , dry_run , force )
15+ def __init__ (self , verbose = 0 , dry_run = 0 , force = 0 ):
16+ UnixCCompiler .__init__ (self , verbose , dry_run , force )
1717 cc_compiler = self .cc_exe
1818 cxx_compiler = self .cxx_exe
19- self .set_executables (compiler = cc_compiler + ' -mcpu=native -O3 -fPIC' ,
20- compiler_so = cc_compiler + ' -mcpu=native -O3 -fPIC' ,
21- compiler_cxx = cxx_compiler + ' -mcpu=native -O3 -fPIC' ,
22- linker_exe = cc_compiler + ' -lamath' ,
23- linker_so = cc_compiler + ' -lamath -shared' )
19+ self .set_executables (compiler = cc_compiler +
20+ ' -mcpu=native -O3 -fPIC' ,
21+ compiler_so = cc_compiler +
22+ ' -mcpu=native -O3 -fPIC' ,
23+ compiler_cxx = cxx_compiler +
24+ ' -mcpu=native -O3 -fPIC' ,
25+ linker_exe = cc_compiler +
26+ ' -lamath' ,
27+ linker_so = cc_compiler +
28+ ' -lamath -shared' )
0 commit comments