This is an archive of the discontinued LLVM Phabricator instance.

[SE] Fix config bug with CUDA tests
ClosedPublic

Authored by jhen on Sep 15 2016, 12:39 PM.

Details

Summary

It turns out CMake errors out if a processed directory contains source
files that are not used. This was causing an error with the CUDATest.cpp
file when configuring StreamExecutor with the CUDA platform disabled.

Moving CUDATest.cpp to its own directory fixes this problem.

Diff Detail

Repository
rL LLVM

Event Timeline

jhen updated this revision to Diff 71535.Sep 15 2016, 12:39 PM
jhen retitled this revision from to [SE] Fix config bug with CUDA tests.
jhen updated this object.
jhen added reviewers: jlebar, jprice.
jhen added a subscriber: parallel_libs-commits.
jlebar accepted this revision.Sep 15 2016, 1:18 PM
jlebar edited edge metadata.
This revision is now accepted and ready to land.Sep 15 2016, 1:18 PM
This revision was automatically updated to reflect the committed changes.