Skip to content

Bazel 4.0.0 does not work with XCode 11.3 #12905

@jbms

Description

@jbms

This line here:

flag_groups = [flag_group(flags = ["-fdebug-compilation-dir", "."])],

introduced in this commit:

0cb8757

causes Bazel 4.0.0 to not work with XCode 11.3 because it does not support the -fdebug-compilation-dir flag:

clang --version
Apple clang version 11.0.0 (clang-1100.0.33.16)

clang: error: unknown argument: '-fdebug-compilation-dir'

That version of XCode is still in pretty common use.

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions