Skip to content

cmake: raise an error if the library was not found#90

Merged
ligurio merged 2 commits into
masterfrom
ligurio/gh-xxxx-error-on-missed-clang-rt
Jun 4, 2026
Merged

cmake: raise an error if the library was not found#90
ligurio merged 2 commits into
masterfrom
ligurio/gh-xxxx-error-on-missed-clang-rt

Conversation

@ligurio

@ligurio ligurio commented Jun 2, 2026

Copy link
Copy Markdown
Owner

No description provided.

ligurio added 2 commits June 2, 2026 13:52
The patch renames CMake variable `CMD_OUTPUT` to `LIB_PATH`, it
makes code more clear.
The package with Clang runtime libraries may be missing on the
host, in that case the CMake function `SetClangLibPath()` will
return the library name even though it's not missing. The patch
raises an error if the path returned by the compiler doesn't exist.
@ligurio ligurio requested a review from Buristan June 2, 2026 11:28

@Buristan Buristan left a comment

Copy link
Copy Markdown
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Hi, Sergey!
Thanks for the patch set!
LGTM!

@ligurio ligurio merged commit 33dbfa0 into master Jun 4, 2026
18 checks passed
@ligurio ligurio deleted the ligurio/gh-xxxx-error-on-missed-clang-rt branch June 4, 2026 13:27
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 this pull request may close these issues.

2 participants