<html>
  <head>
    <meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
  </head>
  <body text="#000000" bgcolor="#FFFFFF">
    <p>Hi Sylvestre,</p>
    <p>I've been looking at 'f18' which appears to be the next evolution
      of 'flang' <br>
    </p>
    <p><a class="moz-txt-link-freetext" href="https://github.com/flang-compiler/f18">https://github.com/flang-compiler/f18</a></p>
    <p>It appears building the front-end would be easier, but I've been
      testing against llvm-7-dev (installed), and get:</p>
    <blockquote>
      <p>cmake ..<br>
        -- The CXX compiler identification is GNU 8.2.0<br>
        -- Check for working CXX compiler: /usr/bin/c++<br>
        -- Check for working CXX compiler: /usr/bin/c++ -- works<br>
        -- Detecting CXX compiler ABI info<br>
        -- Detecting CXX compiler ABI info - done<br>
        -- Detecting CXX compile features<br>
        -- Detecting CXX compile features - done<br>
        -- Build Type: Debug<br>
        CMake Error at
        /usr/lib/llvm-7/lib/cmake/clang/ClangTargets.cmake:544
        (message):<br>
          The imported target "clangBasic" references the file<br>
        <br>
             "/usr/lib/llvm-7/lib/libclangBasic.a"<br>
        <br>
          but this file does not exist.  Possible reasons include:<br>
        <br>
          * The file was deleted, renamed, or moved to another location.<br>
        <br>
          * An install or uninstall procedure did not complete
        successfully.<br>
        <br>
          * The installation package was faulty and contained<br>
        <br>
             "/usr/lib/llvm-7/lib/cmake/clang/ClangTargets.cmake"<br>
        <br>
          but not all the files it references.<br>
        <br>
        Call Stack (most recent call first):<br>
          /usr/lib/cmake/clang-7/ClangConfig.cmake:19 (include)<br>
          CMakeLists.txt:42 (find_package)<br>
      </p>
    </blockquote>
    <p><br>
    </p>
    <p>Is libclangBasic.a to be expected on eg. amd64? According to
      packages.debian.org, it's present in <br>
    </p>
    <table>
      <tbody>
        <tr>
          <td class="file"><span class="keyword"></span><br>
          </td>
          <td> <a href="https://packages.debian.org/sid/libclang-7-dev">libclang-7-dev</a>
            [powerpcspe, sparc64, x32, ppc64] </td>
        </tr>
      </tbody>
    </table>
    <p>Any ideas?</p>
    <p>regards</p>
    <p>Alastair</p>
    <p><br>
    </p>
    <p><br>
    </p>
    <div class="moz-cite-prefix">On 24/09/2018 15:03, Alastair McKinstry
      wrote:<br>
    </div>
    <blockquote type="cite"
      cite="mid:e956c336-f3bf-1c3c-1c61-b8c3532b510d@debian.org">
      <br>
      On 24/09/2018 10:47, Sylvestre Ledru wrote:
      <br>
      <blockquote type="cite">Hello,
        <br>
        <br>
        Looks luck! please let me know how I can help :)
        <br>
        <br>
        S
        <br>
      </blockquote>
      <br>
      Thanks!
      <br>
      <br>
      I'm following the instructions here:
      <a class="moz-txt-link-freetext" href="https://github.com/flang-compiler/flang/wiki/Building-Flang">https://github.com/flang-compiler/flang/wiki/Building-Flang</a>
      <br>
      <br>
      and have gotten the flang-driver to build ok with llvm-7, once I
      disabled including POLLY into the tools. (I'll come back to that
      later). This appears to be a polyhedral optimizer:
      <br>
      <a class="moz-txt-link-freetext" href="https://polly.llvm.org/">https://polly.llvm.org/</a>
      <br>
      <br>
      Its now breaking because the main build needs llvm-lit.
      <br>
      <br>
      This appears to be an internal build tool to llvm. Can it be
      exposed, or what would you recommend ?
      <br>
      <br>
      thanks
      <br>
      <br>
      Alastair
      <br>
      <br>
      <br>
      <blockquote type="cite">
        <br>
        Le 24/09/2018 à 10:08, Alastair McKinstry a écrit :
        <br>
        <blockquote type="cite">Package: wnpp
          <br>
          Severity: wishlist
          <br>
          Owner: Alastair McKinstry <a class="moz-txt-link-rfc2396E" href="mailto:mckinstry@debian.org"><mckinstry@debian.org></a>
          <br>
          <br>
          * Package name    : flang
          <br>
             Version         : 7.0
          <br>
             Upstream Author : Steve Scalpone
          <a class="moz-txt-link-rfc2396E" href="mailto:sscalpone@nvidia.com"><sscalpone@nvidia.com></a>
          <br>
          * URL             : <a class="moz-txt-link-freetext" href="https://github.com/flang-compiler">https://github.com/flang-compiler</a>
          <br>
          * License         : BSD
          <br>
             Programming Lang: C++, Fortran
          <br>
             Description     : Fortran compiler using the LLVM toolkit
          <br>
          <br>
          <br>
          <br>
          Flang is a Fortran compiler targeting LLVM.
          <br>
          <br>
          Flang is a Fortran language front-end designed for integration
          with LLVM and the LLVM optimizer.
          <br>
          <br>
          Flang+LLVM is a production-quality Fortran solution designed
          to be co-installed and is fully interoperable with Clang C++.
          <br>
          <br>
          Flang single-core and OpenMP performance is now on par with
          GNU Fortran; for certain applications up to 40% faster.
          <br>
          Flang has implemented Fortran 2003 and has a near full
          implementation of OpenMP through version 4.5 targeting
          multicore CPUs.
          <br>
          <br>
          This will be maintained with the LLVM packaging team.
          <br>
          <br>
          _______________________________________________
          <br>
          Pkg-llvm-team mailing list
          <br>
          <a class="moz-txt-link-abbreviated" href="mailto:Pkg-llvm-team@alioth-lists.debian.net">Pkg-llvm-team@alioth-lists.debian.net</a>
          <br>
<a class="moz-txt-link-freetext" href="https://alioth-lists.debian.net/cgi-bin/mailman/listinfo/pkg-llvm-team">https://alioth-lists.debian.net/cgi-bin/mailman/listinfo/pkg-llvm-team</a>
          <br>
        </blockquote>
      </blockquote>
      <br>
    </blockquote>
    <pre class="moz-signature" cols="72">-- 
Alastair McKinstry, <a class="moz-txt-link-rfc2396E" href="mailto:alastair@sceal.ie"><alastair@sceal.ie></a>, <a class="moz-txt-link-rfc2396E" href="mailto:mckinstry@debian.org"><mckinstry@debian.org></a>, <a class="moz-txt-link-freetext" href="https://diaspora.sceal.ie/u/amckinstry">https://diaspora.sceal.ie/u/amckinstry</a>
Misentropy: doubting that the Universe is becoming more disordered. </pre>
  </body>
</html>