Skip to content

Commit 2302d2e

Browse files
committed
[Comgr] Do not compute opencl-c.h hash
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.
1 parent 2a99bfa commit 2302d2e

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)