Skip to content

Setting --experimental_no_product_name_out_symlink with a custom --symlink_prefix removes bazel-out, breaking paths that go through it #14

@lukasoyen

Description

@lukasoyen

When setting --symlink_prefix on the commandline or .bazelrc, the bazel-out symlink might not exist or be somewhere else. But extract.py currently assumes bazel-out exists and generates a compile_commands.json file containing many references to it.

There seems to be no way of accessing the symlink_prefix via an environment variable or similar, so the refresh_compile_commands() might need an additional argument.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions