[flang-dev] [Classic Flang] RFC: Adding release_12x branch to flang-compiler/classic-flang-llvm-project
Bryan Chan via flang-dev
flang-dev at lists.llvm.org
Mon Mar 15 16:26:00 PDT 2021
Hi Michal,
That is really strange.
I was not able to reproduce the Driver test failures you saw. They all pass
for me, on both X86 and AArch64. I did see some libomptarget failures on
AArch64, but I believe those are failing on upstream LLVM 12 as well.
The CMake and ninja incantations I used to configure and build
classic-flang-llvm-project were:
cmake -G Ninja \
-DCMAKE_BUILD_TYPE=$buildtype \
-DCMAKE_INSTALL_PREFIX=$installdir \
-DCMAKE_C_COMPILER=gcc \
-DCMAKE_CXX_COMPILER=g++ \
-DLLVM_ENABLE_PROJECTS="clang;openmp" \
-DLLVM_ENABLE_ASSERTIONS=on \
-DLLVM_ENABLE_CLASSIC_FLANG=on \
-DLLVM_OPTIMIZED_TABLEGEN=on \
-DLLVM_TARGETS_TO_BUILD="X86;AArch64" \
../../llvm-project/llvm || exit 1
ninja -v check-all install 2>&1
I used GCC 9.3 instead of GCC 10, but I don't think that matters.
Is anyone else seeing the same failures?
--
Bryan Chan
On Mon, Mar 15, 2021 at 9:58 AM Michał Paszta <michal.paszta at mobica.com>
wrote:
> Hi Bryan,
>
> Thanks a lot for your efforts with creating this branch. I checked out
> both your classic-flang-llvm-project/release_12x branch and the code in PR
> #1010, that you mentioned. They both built fine for me with gcc-10, but I
> got some errors from the tests I ran. I expect we should also see them in
> CI, once the release_12x branch is pulled into the origin repo.
>
> Classic-flang-llvm-project errors:
>
> Failed Tests (4):
> Clang :: Driver/flang/classic-flang-must-preprocess.F
> Clang :: Driver/flang/classic-flang-must-preprocess.F95
> Clang :: Driver/flang/classic-flang.f
> Clang :: Driver/flang/classic-flang.f95
>
> make install went fine despite the test failures.
> With the new llvm-12 I ran the flang project tests and got this error:
>
> Failed Tests (1):
> Flang :: f90_correct/lit/array_constructor_nested_implied_do.sh
>
> This comes from a test I just added recently in PR#1004, so perhaps it
> just needs a slight adjustment to the newer llvm tools. I can check this.
>
> I am more worried about the llvm project failures. We do run clang and
> llvm tests on every PR, but when pulling the branch as a whole we won't see
> them until the first PR to the new branch is submitted for review (just
> like was the case with release_11x).
> Are you able to reproduce these failures on your side?
>
> Best regards,
>
> Michał Paszta
> Senior Consultant / Senior Group Manager
>
> Mobica Ltd.
> Address: Skierniewicka 10a, 01-230 Warszawa
>
>
> On Sun, Mar 14, 2021 at 6:24 PM Bryan Chan via flang-dev <
> flang-dev at lists.llvm.org> wrote:
>
>> Hi,
>>
>> I have created a candidate release_12x
>> <https://github.com/Huawei-PTLab/classic-flang-llvm-project/tree/release_12x>
>> branch in classic-flang-llvm-project. It is a rebase of all commits from
>> release_11x since 43ff75f2
>> <https://github.com/flang-compiler/classic-flang-llvm-project/commit/43ff75f2c3feef64f9d73328230d34dac8832a91>,
>> minus the DebugInfo additions that already exist in upstream LLVM 12. To
>> build Classic Flang with this branch, we also need some minor changes to
>> Classic Flang itself (see PR #1010
>> <https://github.com/flang-compiler/flang/pull/1010>). I have tested the
>> build on both X86 and AArch64, and made sure all regression tests pass.
>>
>> Any help from the community to review and test this branch would
>> be greatly appreciated. Once the final LLVM 12.0.0 is tagged, I will rebase
>> the branch and pull it into classic-flang-llvm-project, if there is no
>> objection from the community.
>>
>> Thanks,
>> --
>> Bryan Chan
>> _______________________________________________
>> flang-dev mailing list
>> flang-dev at lists.llvm.org
>> https://lists.llvm.org/cgi-bin/mailman/listinfo/flang-dev
>>
>
> Mobica is a global software services company, delivering and enabling
> technologies that transform business outcomes for the leading brands in
> Automotive, Silicon, FinTech, Media and Telecoms. Headquartered in Wilmslow
> UK with offices across Europe and the US, our established technical and
> delivery excellence in high quality software engineering drives success for
> our multinational customers on every continent, every day.
> Find out more at Mobica.com <https://www.mobica.com>
>
>
>
> Mobica Limited is a limited company registered in England and Wales with
> registered number 05169596 and VAT registered number 223837508. Our
> registered office is at Crown House, Manchester Road, Wilmslow, Cheshire,
> SK9 1BH, UK.
> This message is intended solely for the addressee(s) and may contain
> confidential information.
> If you have received this message in error, please send it back to us, and
> immediately and permanently delete it.
> Do not use, copy or disclose the information contained in this message or
> in any attachment.
> Mobica complies with all requirements of GDPR and other relevant data
> protection law. You can view our Privacy Policy at
> https://mobica.com/privacy-policy/
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.llvm.org/pipermail/flang-dev/attachments/20210315/34a7c9cd/attachment.html>
More information about the flang-dev
mailing list