Skip to content

Commit 27b5307

Browse files
committed
Fix typo and remove 'arm' infix from _guess_arm_aarch64_default_optarch
method
1 parent c6046a2 commit 27b5307

1 file changed

Lines changed: 3 additions & 3 deletions

File tree

  • easybuild/toolchains/compiler

easybuild/toolchains/compiler/gcc.py

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -134,12 +134,12 @@ def _set_optimal_architecture(self, default_optarch=None):
134134

135135
if LooseVersion(gcc_version) < LooseVersion('6'):
136136
# on AArch64, -mcpu=native is not supported prior to GCC 6,
137-
# so try to guess a proper default optarch is none was specified
138-
default_optarch = self._guess_arm_aarch64_default_optarch()
137+
# so try to guess a proper default optarch if none was specified
138+
default_optarch = self._guess_aarch64_default_optarch()
139139

140140
super(Gcc, self)._set_optimal_architecture(default_optarch=default_optarch)
141141

142-
def _guess_arm_aarch64_default_optarch(self):
142+
def _guess_aarch64_default_optarch(self):
143143
"""
144144
Guess default optarch for AARCH64 (vanilla ARM cores only)
145145
This heuristic may fail if the CPU module is not supported by the GCC version being used.

0 commit comments

Comments
 (0)