Bug#909463: ITP: flang -- Fortran compiler using the LLVM toolkit

Alastair McKinstry mckinstry at debian.org
Tue Oct 16 12:58:47 BST 2018


Hi Sylvestre,

I've been looking at 'f18' which appears to be the next evolution of 
'flang'

https://github.com/flang-compiler/f18

It appears building the front-end would be easier, but I've been testing 
against llvm-7-dev (installed), and get:

    cmake ..
    -- The CXX compiler identification is GNU 8.2.0
    -- Check for working CXX compiler: /usr/bin/c++
    -- Check for working CXX compiler: /usr/bin/c++ -- works
    -- Detecting CXX compiler ABI info
    -- Detecting CXX compiler ABI info - done
    -- Detecting CXX compile features
    -- Detecting CXX compile features - done
    -- Build Type: Debug
    CMake Error at
    /usr/lib/llvm-7/lib/cmake/clang/ClangTargets.cmake:544 (message):
       The imported target "clangBasic" references the file

          "/usr/lib/llvm-7/lib/libclangBasic.a"

       but this file does not exist.  Possible reasons include:

       * The file was deleted, renamed, or moved to another location.

       * An install or uninstall procedure did not complete successfully.

       * The installation package was faulty and contained

          "/usr/lib/llvm-7/lib/cmake/clang/ClangTargets.cmake"

       but not all the files it references.

    Call Stack (most recent call first):
       /usr/lib/cmake/clang-7/ClangConfig.cmake:19 (include)
       CMakeLists.txt:42 (find_package)


Is libclangBasic.a to be expected on eg. amd64? According to 
packages.debian.org, it's present in


	libclang-7-dev <https://packages.debian.org/sid/libclang-7-dev> 
[powerpcspe, sparc64, x32, ppc64]

Any ideas?

regards

Alastair



On 24/09/2018 15:03, Alastair McKinstry wrote:
>
> On 24/09/2018 10:47, Sylvestre Ledru wrote:
>> Hello,
>>
>> Looks luck! please let me know how I can help :)
>>
>> S
>
> Thanks!
>
> I'm following the instructions here: 
> https://github.com/flang-compiler/flang/wiki/Building-Flang
>
> 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:
> https://polly.llvm.org/
>
> Its now breaking because the main build needs llvm-lit.
>
> This appears to be an internal build tool to llvm. Can it be exposed, 
> or what would you recommend ?
>
> thanks
>
> Alastair
>
>
>>
>> Le 24/09/2018 à 10:08, Alastair McKinstry a écrit :
>>> Package: wnpp
>>> Severity: wishlist
>>> Owner: Alastair McKinstry <mckinstry at debian.org>
>>>
>>> * Package name    : flang
>>>    Version         : 7.0
>>>    Upstream Author : Steve Scalpone <sscalpone at nvidia.com>
>>> * URL             : https://github.com/flang-compiler
>>> * License         : BSD
>>>    Programming Lang: C++, Fortran
>>>    Description     : Fortran compiler using the LLVM toolkit
>>>
>>>
>>>
>>> Flang is a Fortran compiler targeting LLVM.
>>>
>>> Flang is a Fortran language front-end designed for integration with 
>>> LLVM and the LLVM optimizer.
>>>
>>> Flang+LLVM is a production-quality Fortran solution designed to be 
>>> co-installed and is fully interoperable with Clang C++.
>>>
>>> Flang single-core and OpenMP performance is now on par with GNU 
>>> Fortran; for certain applications up to 40% faster.
>>> Flang has implemented Fortran 2003 and has a near full 
>>> implementation of OpenMP through version 4.5 targeting multicore CPUs.
>>>
>>> This will be maintained with the LLVM packaging team.
>>>
>>> _______________________________________________
>>> Pkg-llvm-team mailing list
>>> Pkg-llvm-team at alioth-lists.debian.net
>>> https://alioth-lists.debian.net/cgi-bin/mailman/listinfo/pkg-llvm-team
>
-- 
Alastair McKinstry, <alastair at sceal.ie>, <mckinstry at debian.org>, https://diaspora.sceal.ie/u/amckinstry
Misentropy: doubting that the Universe is becoming more disordered.

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://alioth-lists.debian.net/pipermail/pkg-llvm-team/attachments/20181016/38ddac55/attachment.html>


More information about the Pkg-llvm-team mailing list