Hassan ELMADI via llvm-dev
2018-Sep-28  21:21 UTC
[llvm-dev] llvm-build: error: invalid target to enable: 'ABC' (not in project)
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 -------------- next part -------------- An HTML attachment was scrubbed... URL: <http://lists.llvm.org/pipermail/llvm-dev/attachments/20180928/309ce2b6/attachment-0001.html>
Hassan ELMADI via llvm-dev
2018-Sep-28  21:25 UTC
[llvm-dev] llvm-build: error: invalid target to enable: 'ABC' (not in project)
PS: I'm using Ubuntu 18.04 Hassan Elmadi ________________________________ From: llvm-dev <llvm-dev-bounces at lists.llvm.org> on behalf of Hassan ELMADI via llvm-dev <llvm-dev at lists.llvm.org> Sent: Friday, September 28, 2018 2:21 PM To: llvm-dev at lists.llvm.org Subject: [llvm-dev] llvm-build: error: invalid target to enable: 'ABC' (not in project) 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 -------------- next part -------------- An HTML attachment was scrubbed... URL: <http://lists.llvm.org/pipermail/llvm-dev/attachments/20180928/8fb50cbd/attachment.html>
David Greene via llvm-dev
2018-Oct-01  17:54 UTC
[llvm-dev] llvm-build: error: invalid target to enable: 'ABC' (not in project)
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
Hassan ELMADI via llvm-dev <llvm-dev at lists.llvm.org> writes:
> 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
>
> _______________________________________________
> LLVM Developers mailing list
> llvm-dev at lists.llvm.org
> http://lists.llvm.org/cgi-bin/mailman/listinfo/llvm-dev