This is an archive of the discontinued LLVM Phabricator instance.

llvm-exegesis: Fix unittests include dirs when llvm is a part of another project
ClosedPublic

Authored by kzhuravl on Apr 5 2018, 10:20 AM.

Details

Summary

When llvm is a part of another project (opencl in my case), CMAKE_SOURCE_DIR and CMAKE_BINARY_DIR are pointing to the parent project, which lead to build failures.

Diff Detail

Event Timeline

kzhuravl created this revision.Apr 5 2018, 10:20 AM
courbet accepted this revision.Apr 5 2018, 10:56 AM

Thanks !

This revision is now accepted and ready to land.Apr 5 2018, 10:56 AM
This revision was automatically updated to reflect the committed changes.