[ATfL] Stop copying Fortran OpenMP headers and modules for packaging#640
[ATfL] Stop copying Fortran OpenMP headers and modules for packaging#640pawosm-arm wants to merge 1 commit intoarm-softwarefrom
Conversation
This copying has been introduced for the backward compatibility with ACfL and will soon collide with the ongoing work on standardizing the compiler-recognized place for flang modules and headers.
|
I have a few questions here. |
Their sources are there. But where they will land in the installation directory is up to the compiler, and this behavior changed with thime.
In the past, when classic flang has been a separate thing, fortran modules and headers for OpenMP were installed (make install) in the place where classic flang could find it. And it worked OK. In the new flang not enough attention has been paid to all of the corner cases of finding the runtime libs Fortran modules, so we started copying the OpenMP Fortran modules and FORTRAN70 header files to a general include directory, knowing that they were easily found in there. And it did the job for the two of ATfL releases. The work currently happening upstream is aiming at sorting this out, but I suspect it will still not sort it correctly for the FORTRAN70's
Yes, no point in doing it earlier.
First it got merged: llvm/llvm-project#169638 but it has been quickly reverted a minutes after I had prepared my own PR to remedy the situation for our toolchain (see the upstream revert commit llvm/llvm-project@d233e78). I've noticed that and did not assign any formal reviewers to the change discussed here. |
|
@tblah how come it is still not needed? |
This copying has been introduced for the backward compatibility with ACfL and will soon collide with the ongoing work on standardizing the compiler-recognized place for flang modules and headers.