Additional flags for ROMS (#27951)

Co-authored-by: mohan babu <mohbabul@amd.com>
This commit is contained in:
AMD Toolchain Support 2021-12-17 09:17:20 +05:30 committed by GitHub
parent 6443086222
commit f754ed9788
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -71,7 +71,8 @@ def _edit_arch(self, spec, prefix, lib):
"""
Edit Linux-flang.mk makefile to support AOCC compiler
"""
fflags = ['-fveclib=AMDLIBM', '-O3', '-ffast-math']
fflags = ['-fveclib=AMDLIBM', '-O3', '-ffast-math',
'-funroll-loops', '-Mstack_arrays', '-std=f2008']
make_aocc = join_path('Compilers',
'{0}-{1}.mk'.format(self.arch, lib))