Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

"Enable precompiled headers" breaks build #406

Closed
frantisekz opened this issue Mar 8, 2023 · 1 comment · Fixed by #415
Closed

"Enable precompiled headers" breaks build #406

frantisekz opened this issue Mar 8, 2023 · 1 comment · Fixed by #415
Assignees

Comments

@frantisekz
Copy link
Contributor

Since #297 , the build fails with multiple repeating errors:

CMake Error at cl_headers/CMakeLists.txt:36 (add_custom_command):
  Error evaluating generator expression:

    $<TARGET_FILE:clang>

  No target "clang"

(on every call to create_pcm)

I've tested b3b2d7f against LLVM 16 with -DPREFERRED_LLVM_VERSION=16.0.0 (llvm from system, spirv-llvm-translator from system built as a .so).

@haonanya do you have any ideas here?

@frantisekz
Copy link
Contributor Author

Pinging again, @haonanya , would you have some cycles to take a look please? It seems it's currently impossible to build opencl-clang as standalone library (which is required for distributions).

Thanks!

frantisekz added a commit to frantisekz/opencl-clang that referenced this issue Apr 14, 2023
frantisekz added a commit to frantisekz/opencl-clang that referenced this issue Apr 17, 2023
haonanya pushed a commit that referenced this issue Apr 21, 2023
wenju-he pushed a commit to wenju-he/opencl-clang that referenced this issue May 17, 2023
Fixes intel#406
Fixes intel#374

(cherry picked from commit 529a918)
haonanya pushed a commit that referenced this issue May 18, 2023
Fixes #406
Fixes #374

(cherry picked from commit 529a918)

Co-authored-by: František Zatloukal <Zatloukal.Frantisek@gmail.com>
haonanya pushed a commit that referenced this issue Sep 26, 2023
Fixes #406
Fixes #374

(cherry picked from commit 529a918)

Co-authored-by: Wenju He <wenju.he@intel.com>
Co-authored-by: František Zatloukal <Zatloukal.Frantisek@gmail.com>
wenju-he pushed a commit to wenju-he/opencl-clang that referenced this issue Oct 7, 2023
Fixes intel#406
Fixes intel#374

(cherry picked from commit 529a918)
wenju-he added a commit that referenced this issue Oct 7, 2023
Fixes #406 Fixes
#374

(cherry picked from commit 529a918)

Co-authored-by: František Zatloukal <Zatloukal.Frantisek@gmail.com>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging a pull request may close this issue.

2 participants