File tree Expand file tree Collapse file tree
easybuild/toolchains/compiler Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -144,7 +144,8 @@ class LLVMCompilers(Compiler):
144144 COMPILER_OPTIMAL_ARCHITECTURE_OPTION = {
145145 ** (Compiler .COMPILER_OPTIMAL_ARCHITECTURE_OPTION or {}),
146146 # -mcpu=native is recommended way to specify feature set for aarch64, see:
147- # https://github.com/easybuilders/easybuild-framework/pull/5139#issuecomment-3961654073
147+ # https://github.com/easybuilders/easybuild-framework/pull/5139#issuecomment-3961654073 and
148+ # https://developer.arm.com/community/arm-community-blogs/b/tools-software-ides-blog/posts/compiler-flags-across-architectures-march-mtune-and-mcpu
148149 (systemtools .AARCH64 , systemtools .ARM ): '-mcpu=native' ,
149150 (systemtools .POWER , systemtools .POWER ): '-mcpu=native' , # no support for march=native on POWER
150151 (systemtools .POWER , systemtools .POWER_LE ): '-mcpu=native' , # no support for march=native on POWER
You can’t perform that action at this time.
0 commit comments