This is an archive of the discontinued LLVM Phabricator instance.

[mlir][spirv] Fix ADDITIONAL_HEADER_DIRS for SPIR-V libraries
ClosedPublic

Authored by antiagainst on Jan 3 2020, 5:04 AM.

Diff Detail

Event Timeline

antiagainst created this revision.Jan 3 2020, 5:04 AM
Herald added a project: Restricted Project. · View Herald TranscriptJan 3 2020, 5:04 AM

Unit tests: pass. 61175 tests passed, 0 failed and 729 were skipped.

clang-tidy: fail. Please fix clang-tidy findings.

clang-format: pass.

Build artifacts: diff.json, clang-tidy.txt, clang-format.patch, CMakeCache.txt, console-log.txt, test-results.xml

rriddle accepted this revision.Jan 3 2020, 9:49 AM
This revision is now accepted and ready to land.Jan 3 2020, 9:49 AM
This revision was automatically updated to reflect the committed changes.
mehdi_amini added inline comments.Jan 16 2020, 10:41 PM
mlir/lib/Dialect/SPIRV/Transforms/CMakeLists.txt
6

Why is this needed?

The build is passing for me without this. I can't find where a header would be included from one of these source files?

antiagainst marked an inline comment as done.Jan 17 2020, 4:57 AM
antiagainst added inline comments.
mlir/lib/Dialect/SPIRV/Transforms/CMakeLists.txt
6

This is not needed for build. It is for aiding IDEs if I understand the original intent of ADDTIONAL_HEADERS_DIRS correctly (https://reviews.llvm.org/D7460). This is also to be consistent with other CMakeLists.txt we have in MLIR.