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

Lines changed: 12 additions & 7 deletions
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)
pFad - Phonifier reborn

Pfad - The Proxy pFad of © 2024 Garber Painting. All rights reserved.

Note: This service is not intended for secure transactions such as banking, social media, email, or purchasing. Use at your own risk. We assume no liability whatsoever for broken pages.


Alternative Proxies:

Alternative Proxy

pFad Proxy

pFad v3 Proxy

pFad v4 Proxy