packaging flang

Alastair McKinstry mckinstry at debian.org
Tue Sep 19 10:18:33 UTC 2017


>> 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.
So presuming I go ahead with this:
(1) flang would be in the pkg-llvm-team maintainance.
(2) flang currently needs its own branch of clang (flang_release_40) to
compile.  I think it can be included in the flang sources short-term,
but needs to be merged back into the main release long-term. I presume
this is the plan with upstream, but haven't checked.
>> 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.
Agree, and I would be willing to package it too.
> However, it is unlikely that Buster will ship with llvm 4.0 as LLVM has 2 releases per year.
Ok. I'd need to investigate how big a diff there is with the release_40
branch, and whats needed.
>> 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!
I've contacted both gfortran and flang upstreams for their opinions,
with no responses.
> Cheers,
> Sylvestre
Regards
Alastair

-- 
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 --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 819 bytes
Desc: OpenPGP digital signature
URL: <http://lists.alioth.debian.org/pipermail/pkg-llvm-team/attachments/20170919/4f425307/attachment-0001.sig>


More information about the Pkg-llvm-team mailing list