Open leandron opened 5 years ago
I am working on Flang with LLVM 8. Apart from https://reviews.llvm.org/D60658, I also had to apply https://reviews.llvm.org/D57914 (to flang-driver) to eliminate a large number of warnings.
Does anybody have experience building against the recently forked llvm 9, or even more boldly, against head of master?
Does anybody have experience building against the recently forked llvm 9, or even more boldly, against head of master?
Building master
reproduces this same issue reported here. Apart from that, I think it is same procedure as building release_70
https://github.com/flang-compiler/flang/issues/821#issuecomment-552749772 Refer above comment for FLANG installation
As part of the CI server we are setting up, it seems that building Flang branches
release_80
ormaster
, using the respective branches offlang-compiler/llvm
is currently broken due to an issue withHandleLLVMOptions.cmake
(part of LLVM).We are able to reproduce the problem building on an Ubuntu 18.04 (AArch64) machine, following the guidelines at https://github.com/flang-compiler/flang/wiki/Building-Flang, of course pointing to branches
release_80
andmaster
, rather thanrelease_70
.When building Flang,
make install
fails with the following message:The same happens when using
flang-compiler/llvm:master
.The CMake version we use is
3.10.2
, above the minimum required3.4.3
(src: https://llvm.org/docs/CMake.html#quick-start):Tracking down the problem, it turns out it was a genuine problem on LLVM, already fixed by https://reviews.llvm.org/D60658. So this issue can be fixed by updating the LLVM forked version we use for both
release_80
andmaster
.