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

Add LIBS_DEPEND_ON_TOOLS option #297

Merged
merged 1 commit into from
Aug 17, 2023
Merged

Conversation

mplatings
Copy link
Contributor

By default the build system will ensure tools like clang are up to date before using them to build libraries. If you are working on changes that are specific to libraries and unlikely to be affected by changes to tools then this behaviour is undesirable as you can spend a lot of time waiting for tools to be rebuilt. By setting LIBS_DEPEND_ON_TOOLS to false the dependency from libraries to tools is removed and the libraries can be built without rebuilding tools.

By default the build system will ensure tools like clang are up to date
before using them to build libraries. If you are working on changes that
are specific to libraries and unlikely to be affected by changes to
tools then this behaviour is undesirable as you can spend a lot of time
waiting for tools to be rebuilt. By setting LIBS_DEPEND_ON_TOOLS to
false the dependency from libraries to tools is removed and the
libraries can be built without rebuilding tools.
Copy link
Collaborator

@statham-arm statham-arm left a comment

Choose a reason for hiding this comment

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

LGTM. Thanks – this will make my life easier!

Also, today I learned about option in CMake. I'd have done that more verbosely, as set(thingy ON CACHE BOOL "description").

@mplatings mplatings merged commit f6ab6da into ARM-software:main Aug 17, 2023
1 check 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