Skip to content

Commit

Permalink
arch: add gcc 13
Browse files Browse the repository at this point in the history
  • Loading branch information
mloubout committed Nov 1, 2023
1 parent 5d27ec7 commit 0664936
Showing 1 changed file with 5 additions and 1 deletion.
6 changes: 5 additions & 1 deletion devito/arch/compiler.py
Original file line number Diff line number Diff line change
Expand Up @@ -448,6 +448,7 @@ def __lookup_cmds__(self):
class ArmCompiler(GNUCompiler):

def __init_finalize__(self, **kwargs):
GNUCompiler.__init_finalize__(self, **kwargs)
platform = kwargs.pop('platform', configuration['platform'])

# Graviton flag
Expand Down Expand Up @@ -771,6 +772,7 @@ def __lookup_cmds__(self):
class IntelKNLCompiler(IntelCompiler):

def __init_finalize__(self, **kwargs):
IntelCompiler.__init_finalize__(self, **kwargs)

language = kwargs.pop('language', configuration['language'])

Expand All @@ -783,6 +785,7 @@ def __init_finalize__(self, **kwargs):
class OneapiCompiler(IntelCompiler):

def __init_finalize__(self, **kwargs):
IntelCompiler.__init_finalize__(self, **kwargs)

platform = kwargs.pop('platform', configuration['platform'])
language = kwargs.pop('language', configuration['language'])
Expand Down Expand Up @@ -908,4 +911,5 @@ def __lookup_cmds__(self):
DEVITO_ARCH. Developers should add new compiler classes here.
"""
compiler_registry.update({'gcc-%s' % i: partial(GNUCompiler, suffix=i)
for i in ['4.9', '5', '6', '7', '8', '9', '10', '11', '12']})
for i in ['4.9', '5', '6', '7', '8', '9', '10',
'11', '12', '13']})

0 comments on commit 0664936

Please sign in to comment.