This is an archive of the discontinued LLVM Phabricator instance.

[CMake] Re-enable libomptarget and restrict tests to Clang 6.0.0
ClosedPublic

Authored by Hahnfeld on Oct 18 2017, 6:46 AM.

Details

Summary

We have just fixed the codegen of omp_is_initial_device() to reliably work
when offloading to the same device, see commit rL316001. This fixes the
failing tests that were the reason why we disabled the library for 5.0.

Diff Detail

Repository
rL LLVM

Event Timeline

Hahnfeld created this revision.Oct 18 2017, 6:46 AM
hans edited edge metadata.Oct 18 2017, 7:44 AM

When we ran into the test failures last time, in PR33859, it turned out there were no upstream buildbots running the tests, so we didn't find out they were failing until we started the release process. Are the tests run by any buildbots now?

In D39052#900899, @hans wrote:

When we ran into the test failures last time, in PR33859, it turned out there were no upstream buildbots running the tests, so we didn't find out they were failing until we started the release process. Are the tests run by any buildbots now?

Good point, let me find that out and come back to you.

In D39052#900899, @hans wrote:

When we ran into the test failures last time, in PR33859, it turned out there were no upstream buildbots running the tests, so we didn't find out they were failing until we started the release process. Are the tests run by any buildbots now?

Good point, let me find that out and come back to you.

Turned out they were not (yet). See linked revision that adapts the buildbot configuration to change that.

In D39052#900899, @hans wrote:

When we ran into the test failures last time, in PR33859, it turned out there were no upstream buildbots running the tests, so we didn't find out they were failing until we started the release process. Are the tests run by any buildbots now?

Good point, let me find that out and come back to you.

Turned out they were not (yet). See linked revision that adapts the buildbot configuration to change that.

Hi Hans,

the following bots are now configured to test libomptarget:
http://lab.llvm.org:8011/builders/openmp-clang-x86_64-linux-debian
http://lab.llvm.org:8011/builders/openmp-clang-ppc64le-linux-debian
And this one will just build libomptarget with GCC:
http://lab.llvm.org:8011/builders/openmp-gcc-x86_64-linux-debian

Unfortunately, there is still an error with the arguments passed to lit that I just fixed but the master needs to be restarted...

Jonas

hans added a comment.Nov 1 2017, 10:56 AM
In D39052#900899, @hans wrote:

When we ran into the test failures last time, in PR33859, it turned out there were no upstream buildbots running the tests, so we didn't find out they were failing until we started the release process. Are the tests run by any buildbots now?

Good point, let me find that out and come back to you.

Turned out they were not (yet). See linked revision that adapts the buildbot configuration to change that.

Hi Hans,

the following bots are now configured to test libomptarget:
http://lab.llvm.org:8011/builders/openmp-clang-x86_64-linux-debian
http://lab.llvm.org:8011/builders/openmp-clang-ppc64le-linux-debian
And this one will just build libomptarget with GCC:
http://lab.llvm.org:8011/builders/openmp-gcc-x86_64-linux-debian

Unfortunately, there is still an error with the arguments passed to lit that I just fixed but the master needs to be restarted...

OK, let me know when that's fixed so we can get this landed.

mkuron added a subscriber: mkuron.Nov 3 2017, 9:45 AM
In D39052#912897, @hans wrote:

Hi Hans,

the following bots are now configured to test libomptarget:
http://lab.llvm.org:8011/builders/openmp-clang-x86_64-linux-debian
http://lab.llvm.org:8011/builders/openmp-clang-ppc64le-linux-debian
And this one will just build libomptarget with GCC:
http://lab.llvm.org:8011/builders/openmp-gcc-x86_64-linux-debian

Unfortunately, there is still an error with the arguments passed to lit that I just fixed but the master needs to be restarted...

OK, let me know when that's fixed so we can get this landed.

http://lab.llvm.org:8011/builders/openmp-clang-ppc64le-linux-debian/builds/23 is now green since the last restart. The x86 bots are currently offline but they use the same configuration so I expect them to work...

hans accepted this revision.Nov 22 2017, 9:06 AM

ok

This revision is now accepted and ready to land.Nov 22 2017, 9:06 AM
Hahnfeld added inline comments.Nov 22 2017, 9:11 AM
libomptarget/test/CMakeLists.txt
30–52 ↗(On Diff #119475)

btw: This will get much nicer with D40083. But I don't want to hold this one back...

This revision was automatically updated to reflect the committed changes.