packaging flang

Sylvestre Ledru sylvestre at debian.org
Tue Sep 19 09:46:12 UTC 2017


Le 19/09/2017 à 10:32, Alastair McKinstry a écrit :
> Hi,
> 
> I'm investigating packaging the new fortran compiler flang for Debian.
> 
> flang is based on llvm, similar to clang:
> 
> https://github.com/flang-compiler/flang
I have been monitoring too ;)

> Firstly, have there been any other efforts or plans to do so? I see no
> bug in WNPP.
No plan for this.
I haven't hear about anyone on this.

> Secondly, flang builds following the instructions on the page, against
> the tagged release_40 versions of llvm. It requires llvm-openmp, and
> hasn't been moved to 5.0 (much less 6.0); if I was to package flang,
> would I need to package llvm-openmp and will 4.0 be present in Buster?
llvm-openmp has a pretty (very?) stable ABI/API. I am not really worried about the compatibility
with more recent versions.

However, it is unlikely that Buster will ship with llvm 4.0 as LLVM has 2 releases per year.

> Finally, flang has its own  'mod' format (precompiled header files) that
> will conflict with gfortran, so I am working on a proposal to use
> dh-fortran-mod and a fortran helper to debhelper to move .mod files to 
> non-conflicting directories to avoid this.
I don't have an opinion on this!

Cheers,
Sylvestre



More information about the Pkg-llvm-team mailing list