Join GitHub today
hide or split generating deps files from compile-platform #31358
Background context: we are using compile-platfrom in bazel to build the platform files.
Bazel doesn't need the .deps file, so we don't need to generate it. We are currently running into trouble on the step that produces them. We could try to fix the issues (e.g. they relate to not passing the
My preference would be to split out the logic out of the compile-platform script, since it technically has nothing specific about compile-platform, but it would also work if we hide it behind a flag for now.
I'd prefer to keep the feature in the compile-platform script as that makes it easier to use it conventional build systems. We can add an option to turn it on similarly to how GCC and other compilers work.
If this is indeed a P1 issue, please provide --packages as a short-term work around.