Skip to content

Commit

Permalink
Merge branch 'origin/work/rename-morello-triplet' into 'master'
Browse files Browse the repository at this point in the history
Rename morello-elf compiler triplet to morello-elf

See merge request eng/toolchain/bb-runtimes!82
  • Loading branch information
burratoo committed Mar 22, 2024
2 parents 25a4f98 + 64defc3 commit cc84997
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 1 deletion.
4 changes: 4 additions & 0 deletions aarch64/__init__.py
Original file line number Diff line number Diff line change
Expand Up @@ -108,6 +108,10 @@ class MorelloTarget(Aarch64Target):
def parent(self):
return MorelloArch

@property
def target(self):
return "morello-elf"

@property
def compiler_switches(self):
return ("-march=morello+c64", "-mabi=purecap")
Expand Down
2 changes: 1 addition & 1 deletion support/rts_sources/profiles.py
Original file line number Diff line number Diff line change
Expand Up @@ -118,7 +118,7 @@ def light_scenarios(self, profile="light"):
if self.config.target is not None:
cpu = self.config.target.split("-")[0]

if cpu in ("aarch64",):
if cpu in ("aarch64", "morello"):
ret["CPU_Family"] = "aarch64"
ret["Has_FMA"] = "yes" if self.config.has_fpu else "no"
elif cpu in ("arm",):
Expand Down

0 comments on commit cc84997

Please sign in to comment.