Skip to content

openmp testing should pass nogpulib #68141

Closed
@JonChesterfield

Description

@JonChesterfield

At present, check-openmp on amdgpu fails with error: cannot find ROCm device library

The test setup is in libomptarget/test/lit.cfg where one can add -nogpulib. That then fails because nogpulib implies no devicertl, which seems dubious to me since openmp definitely cannot ever work without the devicertl. So I'd like to change nogpulib to link in the devicertl anyway.

If we don't want to change that, we can pass lomptarget.devicertl as well as nogpulib to get the right effect.

However I can't see how to do that from lit.cfg. The current commandline flags are prepended before the foo.cpp clause and the explicit library name (either the l form or the archive name) needs to come after it.

Alternatives?

Metadata

Metadata

Assignees

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions