Dear.
I am trying to register a new backend say Dummy with LLVM. I have added the target to the configure script following the currently registered targets (also done the target registration steps in the docs). On running the ./configure there are no errors. When on doing the make the following error occurs.
llvm-build: error: invalid target to enable: ‘Dummy’ (not in project)
Can anyone point me in the right direction?
Regards,
Pratik
From: llvmdev-bounces@cs.uiuc.edu [mailto:llvmdev-bounces@cs.uiuc.edu] On Behalf Of pratik dand
Sent: 13 June 2014 05:00
To: LLVM Developers Mailing List
Subject: [LLVMdev] Adding a new target
Dear.
I am trying to register a new backend say Dummy with LLVM. I have added the target to the configure script following the currently registered targets (also done the target registration steps in the docs). On running the ./configure there are no errors. When on doing the make the following error occurs.
>
llvm-build: error: invalid target to enable: 'Dummy' (not in project)
Can anyone point me in the right direction?
Regards,
Pratik
Hi Pratik,
Have you added your target to: /lib/Target/LLVMBuild.txt? It has a list of subdirectories to build.
You may also find it useful to add it to /include/llvm/ADT/Triple.h.
I hope that helps.
Johnny
Privacy & Confidentiality Notice