If enable pch, it request installed head file's path same as the compilered's path. But cross compiler can't satisfy it. So disable pch first. May re-enable it after workaround.
Signed-off-by: Yang Rong <[email protected]> --- backend/src/backend/program.cpp | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/backend/src/backend/program.cpp b/backend/src/backend/program.cpp index 472734b..f399201 100644 --- a/backend/src/backend/program.cpp +++ b/backend/src/backend/program.cpp @@ -686,7 +686,11 @@ namespace gbe { std::istringstream idirs(dirs); std::string pchFileName; bool findPCH = false; +#if defined(__ANDROID__) bool invalidPCH = false; +#else + bool invalidPCH = true; +#endif size_t start = 0, end = 0; std::string hdirs = OCL_HEADER_FILE_DIR; -- 2.1.4 _______________________________________________ Beignet mailing list [email protected] http://lists.freedesktop.org/mailman/listinfo/beignet
