8000 Update armccompiler.py · numpy/numpy@311ab52 · GitHub
[go: up one dir, main page]

Skip to content

Commit 311ab52

Browse files
tomgreen66charris
authored andcommitted
Update armccompiler.py
1 parent e6744fe commit 311ab52

File tree

1 file changed

+12
-7
lines changed

1 file changed

+12
-7
lines changed

numpy/distutils/armccompiler.py

+12-7
Original file line numberDiff line numberDiff line change
@@ -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

Comments
 (0)
0