Skip to content

Commit ee6c8fe

Browse files
committed
[zcheri] Drop unused unaligned option from BuildCheriAllianceQEMU.
This is only used for MIPS.
1 parent 639be27 commit ee6c8fe

File tree

1 file changed

+0
-4
lines changed

1 file changed

+0
-4
lines changed

pycheribuild/projects/build_qemu.py

Lines changed: 0 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -584,8 +584,6 @@ class BuildCheriAllianceQEMU(BuildQEMUBase):
584584
native_install_dir = DefaultInstallDir.CHERI_ALLIANCE_SDK
585585
default_targets = "riscv64-softmmu,riscv64cheri-softmmu,riscv32-softmmu,riscv32cheri-softmmu,"
586586

587-
# Turn on unaligned loads/stores by default
588-
unaligned = BoolConfigOption("unaligned", show_help=False, help="Permit un-aligned loads/stores", default=False)
589587
statistics = BoolConfigOption(
590588
"statistics",
591589
show_help=True,
@@ -609,8 +607,6 @@ def get_firmware_dir(cls, caller: SimpleProject, cross_target: "Optional[CrossCo
609607

610608
def setup(self):
611609
super().setup()
612-
if self.unaligned:
613-
self.COMMON_FLAGS.append("-DCHERI_UNALIGNED")
614610
if self.statistics:
615611
self.COMMON_FLAGS.append("-DDO_CHERI_STATISTICS=1")
616612
if self.build_type == BuildType.DEBUG:

0 commit comments

Comments
 (0)