Skip to content

Commit a206233

Browse files
authored
[Comgr] Do not compute opencl-c.h hash (llvm#1050)
The hash is not used, the header doesn't ever change. The header should change together with llvm's version (which is taken into account by the cache). But on several of our builds we pick the wrong header (from the system) anyways. Co-authored-by: Juan Manuel Martinez Caamaño <juamarti@amd.com>
1 parent 89b45d3 commit a206233

File tree

1 file changed

+0
-4
lines changed

1 file changed

+0
-4
lines changed

amd/comgr/cmake/opencl_pch.cmake

Lines changed: 0 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -50,7 +50,3 @@ endfunction()
5050

5151
generate_pch(1.2)
5252
generate_pch(2.0)
53-
54-
# hash the opencl header and pass the result to comgr compilation
55-
file(SHA256 ${OPENCL_C_H} OPENCL_C_SHA)
56-
list(APPEND AMD_COMGR_PRIVATE_COMPILE_DEFINITIONS "OPENCL_C_SHA=${OPENCL_C_SHA}")

0 commit comments

Comments
 (0)