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

Fix string handling in cmake regex for CPUINFO #278

Merged
merged 1 commit into from
Oct 5, 2023

Conversation

dlebed
Copy link
Contributor

@dlebed dlebed commented Oct 5, 2023

CPUINFO could be an empty string on some platforms, for example, on macOS aarch32 (Apple Silicon).

In this case you'll be getting errors like
"string sub-command REGEX, mode REPLACE needs at least 6 arguments total to command"

Add quotes to properly handle empty CPUINFO

CPUINFO could be an empty string on some platforms, for example,
on macOS aarch32 (Apple Silicon).

In this case you'll be getting errors like
"string sub-command REGEX, mode REPLACE needs at least
6 arguments total to command"

Add quotes to properly handle empty CPUINFO
@rurban rurban merged commit 33ff5b1 into rurban:master Oct 5, 2023
9 of 10 checks passed
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