Skip to content

[libclc] Clean up directory search procedure #127783

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

Merged
merged 1 commit into from
Feb 19, 2025

Conversation

frasercrmck
Copy link
Contributor

During a recent change, the build system accidentally dropped the (theoretical) support for the CLC builtins library to build target-specific builtins from the 'amdgpu' directory, due to a change in variable names. This functionality wasn't being used but was spotted during another code review.

This commit takes the opportunity to clean up and better document the code that manages the list of directories to search for builtin implementations.

While fixing this, some references to now-removed SOURCES files were discovered which have been cleaned up.

During a recent change, the build system accidentally dropped the
(theoretical) support for the CLC builtins library to build
target-specific builtins from the 'amdgpu' directory, due to a change in
variable names. This functionality wasn't being used but was spotted
during another code review.

This commit takes the opportunity to clean up and better document the
code that manages the list of directories to search for builtin
implementations.

While fixing this, some references to now-removed SOURCES files were
discovered which have been cleaned up.
@frasercrmck frasercrmck added the libclc libclc OpenCL library label Feb 19, 2025
@frasercrmck frasercrmck requested a review from arsenm February 19, 2025 11:23
@arsenm arsenm added the cmake Build system in general and CMake in particular label Feb 19, 2025
@frasercrmck frasercrmck merged commit 73d0679 into llvm:main Feb 19, 2025
11 checks passed
@frasercrmck frasercrmck deleted the libclc-search-process branch February 19, 2025 12:21
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
cmake Build system in general and CMake in particular libclc libclc OpenCL library
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants