<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1">
<style type="text/css" style="display:none;"> P {margin-top:0;margin-bottom:0;} </style>
</head>
<body dir="ltr">
<div style="font-family: Calibri, Helvetica, sans-serif; font-size: 12pt; color: rgb(0, 0, 0);">
Hi,</div>
<div style="font-family: Calibri, Helvetica, sans-serif; font-size: 12pt; color: rgb(0, 0, 0);">
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</div>
<div style="font-family: Calibri, Helvetica, sans-serif; font-size: 12pt; color: rgb(0, 0, 0);">
<br>
</div>
<blockquote style="border-color: rgb(200, 200, 200); border-left: 3px solid rgb(200, 200, 200); padding-left: 1ex; margin-left: 0.8ex; color: rgb(102, 102, 102);">
<div style="font-family: Calibri, Helvetica, sans-serif; font-size: 12pt; color: rgb(0, 0, 0);">
<span>CMake Error at CMakeLists.txt:540 (message):<br>
</span>
<div>  Unexpected failure executing llvm-build: Usage: llvm-build [options]<br>
</div>
<div><br>
</div>
<div><br>
</div>
<div><br>
</div>
<div>  llvm-build: error: invalid target to enable: 'ABC' (not in project)<br>
</div>
<div><br>
</div>
<div><br>
</div>
<span>-- Configuring incomplete, errors occurred!</span></div>
<div style="font-family: Calibri, Helvetica, sans-serif; font-size: 12pt; color: rgb(0, 0, 0);">
<br>
</div>
</blockquote>
<div style="font-family: Calibri, Helvetica, sans-serif; font-size: 12pt; color: rgb(0, 0, 0);">
Does anyone know what the problem is? I am using LLVM 3.9.0.</div>
<div style="font-family: Calibri, Helvetica, sans-serif; font-size: 12pt; color: rgb(0, 0, 0);">
<br>
</div>
<div style="font-family: Calibri, Helvetica, sans-serif; font-size: 12pt; color: rgb(0, 0, 0);">
Thanks<br>
</div>
<div style="font-family: Calibri, Helvetica, sans-serif; font-size: 12pt; color: rgb(0, 0, 0);">
<br>
</div>
<div id="signature">
<div><font size="5" face="Lucida Handwriting, Cursive"><strong><em>Hassan Elmadi</em></strong></font></div>
</div>
</body>
</html>