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

build: properly detect clang version in Ubuntu #11

Merged
merged 1 commit into from
Dec 7, 2023

Conversation

arighi
Copy link
Collaborator

@arighi arighi commented Dec 7, 2023

Some distro may add their own prefix to the version string of clang, for example in Ubuntu:

$ clang --version
Ubuntu clang version 17.0.5 (1ubuntu1)
...

That triggers the following meson error during the setup phase:

meson.build:25:44: ERROR: String '' cannot be converted to int

Change the regexp used to evaluate the clang version to avoid this build failure.

Some distro may add their own prefix to the version string of clang, for
example in Ubuntu:

 $ clang --version
 Ubuntu clang version 17.0.5 (1ubuntu1)
 ...

That triggers the following meson error during the setup phase:

 meson.build:25:44: ERROR: String '' cannot be converted to int

Change the regexp used to evaluate the clang version to avoid this
build failure.

Signed-off-by: Andrea Righi <andrea.righi@canonical.com>
@Byte-Lab Byte-Lab merged commit 5751f1c into sched-ext:main Dec 7, 2023
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.

None yet

2 participants