Defining new architectures for TargetMachine #576
Replies: 1 comment 4 replies
-
I'm not sure I fully follow the Contrary to the software model where target platform could be defined and mutated however we wanted, the What you have defined in your example, should still be the way to define arbitrary If there is anything that doesn't work, please provide a sample and I will have a look at it. |
Beta Was this translation helpful? Give feedback.
-
Nokee 0.4 allows building for arbitrary targets by overloading, so to speak,
TargetMachine.architecture
:This way, one convinces Nokee that the project is buildable, and Nokee builds with the appropriate toolchain, which is configured via
model
. The project is buildable on any host with an LLVM toolchain and there is no target operating system.Upgrading to the latest 0.5 this construct ceases to compile because the
attribute
setter is no longer a member ofTargetMachineBuilder
. I have also noticed that theos
setter is no longer a member ofTargetMachineFactory
.What will be the recommended way to defne arbitrary
TargetMachine
s in 0.5?Beta Was this translation helpful? Give feedback.
All reactions