Replies: 1 comment 2 replies
-
Yes, I also would like to integrate optimization reporting into fpm somehow. I would probably write the report to a separate file for each translation unit which fpm can then easily interrogate based on module name. We could add a
|
Beta Was this translation helpful? Give feedback.
2 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
Some compilers have the possibility to generate optimization reports like
In the past I've always found it difficult to integrate these flags with my makefile and CMake build process. Normally too much information is output, which then needs to be filtered. Running the compiler directly is also cumbersome, if a subroutine depends on multiple other modules. During development I would like to limit optimization reports to a single module, or even single subroutine or function.
I was envisioning something like:
would rebuild the module with the desired report flags and filter the output.
Perhaps someone else has a good idea how to embed something like this in the edit, compile, run cycle when using fpm.
Beta Was this translation helpful? Give feedback.
All reactions