summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--numpy/distutils/armccompiler.py19
1 files changed, 12 insertions, 7 deletions
diff --git a/numpy/distutils/armccompiler.py b/numpy/distutils/armccompiler.py
index 92385e905..feb8f7e31 100644
--- a/numpy/distutils/armccompiler.py
+++ b/numpy/distutils/armccompiler.py
@@ -12,12 +12,17 @@ class ArmCCompiler(UnixCCompiler):
cc_exe = 'armclang'
cxx_exe = 'armclang++'
- def __init__ (self, verbose=0, dry_run=0, force=0):
- UnixCCompiler.__init__ (self, verbose, dry_run, force)
+ def __init__(self, verbose=0, dry_run=0, force=0):
+ UnixCCompiler.__init__(self, verbose, dry_run, force)
cc_compiler = self.cc_exe
cxx_compiler = self.cxx_exe
- self.set_executables(compiler=cc_compiler + ' -mcpu=native -O3 -fPIC',
- compiler_so=cc_compiler + ' -mcpu=native -O3 -fPIC',
- compiler_cxx=cxx_compiler + ' -mcpu=native -O3 -fPIC',
- linker_exe=cc_compiler + ' -lamath',
- linker_so=cc_compiler + ' -lamath -shared')
+ self.set_executables(compiler=cc_compiler +
+ ' -mcpu=native -O3 -fPIC',
+ compiler_so=cc_compiler +
+ ' -mcpu=native -O3 -fPIC',
+ compiler_cxx=cxx_compiler +
+ ' -mcpu=native -O3 -fPIC',
+ linker_exe=cc_compiler +
+ ' -lamath',
+ linker_so=cc_compiler +
+ ' -lamath -shared')