From 08b09f6dc3f8d0a3df195cf47b85afdeb5aa84a1 Mon Sep 17 00:00:00 2001 From: Sebastien Bourdeauducq Date: Thu, 12 Aug 2021 11:37:45 +0800 Subject: [PATCH] artiq_run: fix multiarch --- artiq/frontend/artiq_run.py | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/artiq/frontend/artiq_run.py b/artiq/frontend/artiq_run.py index 4e6f2b7a3..98e3c8221 100755 --- a/artiq/frontend/artiq_run.py +++ b/artiq/frontend/artiq_run.py @@ -21,7 +21,6 @@ from artiq.master.databases import DeviceDB, DatasetDB from artiq.master.worker_db import DeviceManager, DatasetManager from artiq.coredevice.core import CompileError, host_only from artiq.compiler.embedding import EmbeddingMap -from artiq.compiler.targets import OR1KTarget from artiq.compiler import import_cache from artiq.tools import * @@ -53,7 +52,7 @@ class FileRunner(EnvExperiment): def build(self, file): self.setattr_device("core") self.file = file - self.target = OR1KTarget() + self.target = self.core.target_cls() def run(self): kernel_library = self.compile()