mirror of https://github.com/m-labs/artiq.git
artiq_run: fix multiarch
This commit is contained in:
parent
7879d3630b
commit
67847f98f4
|
@ -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()
|
||||
|
|
Loading…
Reference in New Issue