<html>
  <head>
    <meta content="text/html; charset=utf-8" http-equiv="Content-Type">
  </head>
  <body bgcolor="#FFFFFF" text="#000000">
    <div class="moz-cite-prefix">Am 13.09.2016 um 06:12 schrieb Shawn
      McKenney:<br>
    </div>
    <blockquote
cite="mid:CAMpDnK24UP33ERDniUk8M1f7aSMin2JM36V2RwRNJMbB_cWHaw@mail.gmail.com"
      type="cite">
      <div dir="ltr">Thanks Ralf. I am now running into the issue
        below.I have both of the libraries but they are not in the ld
        path (KDE neon). </div>
    </blockquote>
    <br>
    <blockquote
cite="mid:CAMpDnK24UP33ERDniUk8M1f7aSMin2JM36V2RwRNJMbB_cWHaw@mail.gmail.com"
      type="cite">
      <div dir="ltr">I could help throw in a FindClang.cmake file to
        locate clang. There are a few out there that I could grab. If
        you want me to, let me know where to put it. Do we want it
        specific to the unittests or should we call FindClang at a
        higher level so the vars are available to others? I could drop
        it in the top-level cmake directory.</div>
    </blockquote>
    We need to investigate the llvm cmake details first. See below.<br>
    <blockquote
cite="mid:CAMpDnK24UP33ERDniUk8M1f7aSMin2JM36V2RwRNJMbB_cWHaw@mail.gmail.com"
      type="cite">
      <div dir="ltr">
        <div><br>
        </div>
        <div>
          <div class="gmail_extra"><br>
          </div>
          <div class="gmail_extra"><span style="font-family:monospace"><span
                style="color:rgb(0,0,0)">[ 98%] </span><span
                style="font-weight:bold;color:rgb(84,255,84)">Linking
                CXX executable test-llvm</span><span
                style="color:rgb(0,0,0)">
              </span><br>
              /usr/bin/ld: cannot find -lclangFrontend
              <br>
              /usr/bin/ld: cannot find -lclangTooling
              <br>
              collect2: error: ld returned 1 exit status
              <br>
              unittests/CMakeFiles/test-llvm.dir/build.make:128: recipe
              for target 'unittests/test-llvm' failed
              <br>
              make[2]: *** [unittests/test-llvm] Error 1
              <br>
              CMakeFiles/Makefile2:820: recipe for target
              'unittests/CMakeFiles/test-llvm.dir/all' failed
              <br>
              make[1]: *** [unittests/CMakeFiles/test-llvm.dir/all]
              Error 2
              <br>
              Makefile:138: recipe for target 'all' failed
              <br>
              make: *** [all] Error 2<br>
            </span></div>
        </div>
      </div>
    </blockquote>
    On opensuse 13.1 where I compile umbrello I get on umbrello
    configure.<br>
    <br>
    -- Found LLVM 3.6.1<br>
    -- Using LLVMConfig.cmake in: /usr/share/llvm/cmake<br>
    <br>
    and <br>
    <br>
    xxx@yyy:~> rpm -q -f /usr/share/llvm/cmake/<br>
    llvm-devel-3.6.1-4.1.x86_64<br>
    xxx@yyy:~>rpm -q llvm-devel<br>
    ... <br>
    usr/share/llvm/cmake/AddLLVM.cmake<br>
    /usr/share/llvm/cmake/AddLLVMDefinitions.cmake<br>
    /usr/share/llvm/cmake/AddOCaml.cmake<br>
    /usr/share/llvm/cmake/AddSphinxTarget.cmake<br>
    /usr/share/llvm/cmake/ChooseMSVCCRT.cmake<br>
    /usr/share/llvm/cmake/CrossCompile.cmake<br>
    /usr/share/llvm/cmake/FindOCaml.cmake<br>
    /usr/share/llvm/cmake/FindSphinx.cmake<br>
    /usr/share/llvm/cmake/GetSVN.cmake<br>
    /usr/share/llvm/cmake/HandleLLVMOptions.cmake<br>
    /usr/share/llvm/cmake/HandleLLVMStdlib.cmake<br>
    /usr/share/llvm/cmake/LLVM-Config.cmake<br>
    /usr/share/llvm/cmake/LLVMConfig.cmake<br>
    /usr/share/llvm/cmake/LLVMConfigVersion.cmake<br>
    /usr/share/llvm/cmake/LLVMExports-relwithdebinfo.cmake<br>
    /usr/share/llvm/cmake/LLVMExports.cmake<br>
    /usr/share/llvm/cmake/LLVMParseArguments.cmake<br>
    /usr/share/llvm/cmake/LLVMProcessSources.cmake<br>
    /usr/share/llvm/cmake/TableGen.cmake<br>
    <br>
    It looks that the llvm-devel package contains all related stuff for
    finding clang. You have the llvm-devel installed ?<br>
    <br>
    The question is if this is available on all supported platforms
    (linux, windows, mac) and distributions ? <br>
    If the answer is yes, we do not need any specific stuff on umbrello
    side. <br>
    <br>
    BTW: Also there are cmake specific docs at 
    <a class="moz-txt-link-freetext" href="http://www.llvm.org/docs/CMake.html">http://www.llvm.org/docs/CMake.html</a>, which may give additional
    answers.<br>
    <br>
    Ralf <br>
    <br>
  </body>
</html>