<html>
  <head>
    <meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
  </head>
  <body bgcolor="#FFFFFF" text="#000000">
    <p><font size="-1">Vivek,</font></p>
    <p><font size="-1">I use the following on Xubuntu 19.04 without
        problems, noting there are a number of packages that are useful
        to install.<br>
      </font></p>
    <p><font size="-1">cmake -G Ninja -DLLVM_ENABLE_PROJECTS="clang"
        -DLLVM_USE_LINKER=lld -DCMAKE_BUILD_TYPE="Release"
        -DLLVM_ENABLE_ASSERTIONS=On ../llvm</font></p>
    <p><font size="-1">Be sure to delete (rm -rf) your build directory
        and start new when you have to rerun cmake.</font></p>
    <p><font size="-1">I also install clang and lld from the
        distribution and use it for compiling and linking.</font></p>
    <p><font size="-1">Regards, Neil Nelson<br>
      </font></p>
    <div class="moz-cite-prefix"><font size="-1">On 8/6/19 12:32 AM,
        vivek pandya via llvm-dev wrote:<br>
      </font></div>
    <blockquote type="cite"
cite="mid:CAHYgpoKVCv23H08dHsr9nRmYQFBwCN4kLsXtnqRQJM5kPXquQQ@mail.gmail.com"><font
        size="-1">
      </font>
      <meta http-equiv="content-type" content="text/html; charset=UTF-8">
      <div dir="ltr">
        <div><font size="-1">Hello,</font></div>
        <div><font size="-1"><br>
          </font></div>
        <div><font size="-1">I build my release build with following
            cmake command on Ubuntu Linux: <br>
          </font></div>
        <div><font size="-1"><span style="font-family:monospace"><br>
            </span></font></div>
        <div><font size="-1"><span style="font-family:monospace">cmake
              ../llvm_git/llvm -GNinja -DCMAKE_BUILD_TYPE=Release
               -DLLVM_TARGETS_TO_BUILD='X86' -DLLVM_OPTIMIZED_TABLEGEN=1
              -DLLVM_ENABLE_RTTI=ON -DLLVM_ENABLE_EH=ON
              -DLLVM_ENABLE_PROJECTS='clang' -DLLVM_USE_LINKER=gold
              -DCMAKE_EXPORT_COMPILE_COMMANDS=ON
              -DLLVM_ENABLE_ASSERTIONS=On</span></font></div>
        <div><font size="-1"><br>
          </font></div>
        <div><font size="-1">Today after git pull <br>
          </font></div>
        <div><font size="-1"><br>
          </font></div>
        <div><font size="-1">my ninja command keeps re-running cmake.</font></div>
        <div><font size="-1"><br>
          </font></div>
        <div><font size="-1">Anyone elase facing same issue?</font></div>
        <div><font size="-1">Any hint on what is going wrong? <br>
          </font></div>
        <div><font size="-1"><br>
          </font></div>
        <div><font size="-1">Thanks,</font></div>
        <div><font size="-1">Vivek<br>
          </font></div>
        <div><font size="-1"> </font><br>
        </div>
      </div>
      <br>
      <fieldset class="mimeAttachmentHeader"></fieldset>
      <pre class="moz-quote-pre" wrap="">_______________________________________________
LLVM Developers mailing list
<a class="moz-txt-link-abbreviated" href="mailto:llvm-dev@lists.llvm.org">llvm-dev@lists.llvm.org</a>
<a class="moz-txt-link-freetext" href="https://lists.llvm.org/cgi-bin/mailman/listinfo/llvm-dev">https://lists.llvm.org/cgi-bin/mailman/listinfo/llvm-dev</a>
</pre>
    </blockquote>
  </body>
</html>