mirror of
https://github.com/m-labs/artiq.git
synced 2024-12-19 00:16:29 +08:00
compiler.targets: correctly pass CPU features to LLVM.
This commit is contained in:
parent
b263a55b1a
commit
5151adb9a8
@ -100,7 +100,7 @@ class Target:
|
||||
|
||||
lltarget = llvm.Target.from_triple(self.triple)
|
||||
llmachine = lltarget.create_target_machine(
|
||||
features=",".join(self.features),
|
||||
features=",".join(["+{}".format(f) for f in self.features]),
|
||||
reloc="pic", codemodel="default")
|
||||
|
||||
if os.getenv("ARTIQ_DUMP_ASSEMBLY"):
|
||||
|
Loading…
Reference in New Issue
Block a user