This is an archive of the discontinued LLVM Phabricator instance.

ClangBuilder: Enable fortran in test-suite
ClosedPublic

Authored by rovka on Jan 18 2021, 9:42 PM.

Details

Summary

Automatically enable running the fortran parts of the test-suite if
flang is part of the checkout. In order to do this, we need to pass two
CMake defines when configuring the test-suite: one telling it to enable
fortran and one pointing it at flang. The latter picks the most recently
built flang (i.e. it chooses the one from stage 2 if there is one).

At the moment, this only affects clang-cmake-aarch64-full.

Diff Detail

Event Timeline

rovka created this revision.Jan 18 2021, 9:42 PM
rovka requested review of this revision.Jan 18 2021, 9:42 PM
AlexisPerry removed a subscriber: AlexisPerry.

Thanks for adding Flang to the test suite.

LGTM

naromero77 accepted this revision.Jan 25 2021, 9:25 AM
This revision is now accepted and ready to land.Jan 25 2021, 9:25 AM
This revision was automatically updated to reflect the committed changes.