diff options
| author | Thomas Green <tomgreen66@hotmail.com> | 2021-12-02 23:18:00 +0000 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2021-12-02 23:18:00 +0000 |
| commit | 5a15a1c45c7a209e968a038d67721a00c0f0a336 (patch) | |
| tree | 2ab5a5f66b9eb6ed9b8a3ce100a675de1c27b780 | |
| parent | 44a11064dd46b3fcc25e4946e792e42b191fe2f9 (diff) | |
| download | numpy-5a15a1c45c7a209e968a038d67721a00c0f0a336.tar.gz | |
Update armccompiler.py
| -rw-r--r-- | numpy/distutils/armccompiler.py | 19 |
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') |
