artiq_run: fix multiarch

pull/1746/head
Sebastien Bourdeauducq 2021-08-12 11:37:45 +08:00
parent 7879d3630b
commit 67847f98f4
1 changed files with 1 additions and 2 deletions

View File

@ -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()