-
Notifications
You must be signed in to change notification settings - Fork 64
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
Compilation database is empty with recursive make pattern #593
Comments
Thank you for your GitHub issue! In order to better solve your problem, could you provide us with the specific problem Project and specific steps to reproduce it? This will be very helpful for us to solve your problem. Thank you in advance! |
This Example can reproduce it. |
@suzukajiang Thank you for your reply! Based on your description, we cannot reproduced your issue, could you provide us with some more detailed information?
|
FIFO.zip toolchain: |
@suzukajiang We apologize for getting back to you so late. Based on the information you provided we are still unable to reproduce your problem, can you try to upgrade the ‘Compiledb’ tool and try again to see if the problem is still reproduced? |
It has the same problem with compiledb. You can find the issue in nickdiego/compiledb#111 |
Could you try the following to solve your problem?
Your makefile would become:
|
@suzukajiang Also, could you provide some information about what machine and OS this is behaving on? |
This issue is now marked as 'stale' due to there being no activity on it for the past 30 days and being labeled 'more info needed'. Unless the 'stale' label is removed or the issue is commented on, this will be closed in 14 days. If you would like to make this issue exempt from getting stale, please provide the information needed for the maintainers to understand the issue better. |
This issue is now closed due to there being no activity on it for the past 14 days since being marked as 'stale'. |
I'm seeing empty compilation databases from facebook/zstd makefile. It has a pattern of:
Foo:
$(MAKE) -C lib
Meaning if we:
compiledb make Foo
There are lots of invocations of gcc but the resulting compile_commands.json is empty ([]).
The text was updated successfully, but these errors were encountered: