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

cpu_features: Make cpu_features submodule optional #558

Merged
merged 1 commit into from Feb 6, 2022

Conversation

jdemel
Copy link
Contributor

@jdemel jdemel commented Jan 22, 2022

Since cpu_features is available as a package in recent distributions, we'd like to use the distro provided package.

We try to find the CMake CpuFeatures package and build against it, if we can't find one, we try to use the git submodule. If both options fail, we emit an error message.

Fix #556

Since cpu_features is available as a package in recent distributions,
we'd like to use the distro provided package.

We try to find the CMake CpuFeatures package and build against it, if we
can't find one, we try to use the git submodule. If both options fail,
we emit an error message.

Fix gnuradio#556

Signed-off-by: Johannes Demel <demel@uni-bremen.de>
Copy link
Contributor

@michaelld michaelld left a comment

Choose a reason for hiding this comment

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

LGTM on reading, no testing. If something isn't quite correct I'm sure someone will let us know ;) I like the idea of allowing cpu_features to be installed separately ... always my preference when possible!

@michaelld michaelld merged commit bb489bc into gnuradio:main Feb 6, 2022
@jdemel jdemel deleted the optional-cpu-features-submodule branch July 1, 2022 10:28
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.

Please allow using external cpu_features package
2 participants