[llvm-dev] llvm-build: error: invalid target to enable: 'ABC' (not in project)

87 views
Skip to first unread message

Hassan ELMADI via llvm-dev

unread,
Sep 28, 2018, 5:21:11 PM9/28/18
to llvm...@lists.llvm.org
Hi,
I'm new to LLVM. I tried to build LLVM for an existing architecture (ARM) and it worked. Then I tried building it for a new architecture that I added (ABC) and I got this error

CMake Error at CMakeLists.txt:540 (message):
  Unexpected failure executing llvm-build: Usage: llvm-build [options]



  llvm-build: error: invalid target to enable: 'ABC' (not in project)


-- Configuring incomplete, errors occurred!

Does anyone know what the problem is? I am using LLVM 3.9.0.

Thanks

Hassan Elmadi

Hassan ELMADI via llvm-dev

unread,
Sep 28, 2018, 5:25:20 PM9/28/18
to llvm...@lists.llvm.org
PS: I'm using Ubuntu 18.04

Hassan Elmadi

From: llvm-dev <llvm-dev...@lists.llvm.org> on behalf of Hassan ELMADI via llvm-dev <llvm...@lists.llvm.org>
Sent: Friday, September 28, 2018 2:21 PM
To: llvm...@lists.llvm.org
Subject: [llvm-dev] llvm-build: error: invalid target to enable: 'ABC' (not in project)
 

David Greene via llvm-dev

unread,
Oct 1, 2018, 1:55:02 PM10/1/18
to Hassan ELMADI, llvm...@lists.llvm.org
That's a *very* old LLVM and you're unlikely to get much help with it.

It's hard to know with the limited information available but I'd guess
either ABC is not a directory under lib/Target or ABC is not listed in
lib/Target/LLVMBuild.txt.

-David

> _______________________________________________
> LLVM Developers mailing list
> llvm...@lists.llvm.org
> http://lists.llvm.org/cgi-bin/mailman/listinfo/llvm-dev
_______________________________________________
LLVM Developers mailing list
llvm...@lists.llvm.org
http://lists.llvm.org/cgi-bin/mailman/listinfo/llvm-dev

Reply all
Reply to author
Forward
0 new messages