-
I'm trying to collect compilation database in a package build system (
I do have control over environment variables though so I could set |
Beta Was this translation helpful? Give feedback.
Replies: 2 comments
-
Hey @yugr , this is a good question. I don't think the
I made these suggestion without really know how |
Beta Was this translation helpful? Give feedback.
-
Thank you for the suggestion, for |
Beta Was this translation helpful? Give feedback.
Hey @yugr , this is a good question. I don't think the
LD_PRELOAD
itself can help you out to solve thepbuilder
limitation. (Definitely not with the 3.x versions, maybe with the 2.4 version.)pbuilder
command itself inside Bear.bear --config config.json -- pbuilder ...
The config file shall say thatoutput.content.include_only_existing_source
should set to false, and theoutput.content.paths_to_include
should be set to the source directory of your project. (I would run first without thepaths_to_include
set, to see which files it lists.) You can speed up this process by running theintercept
command once against the build, and just run subsequentc…