Skip to content

Roadmap for local hermetic builds #358

@zjturner

Description

@zjturner

If I have a target:

cxx_library(
    name=“foo”,
    srcs=[“foo.cpp”],
    include_directories=[“include”]
)

And foo.cpp looks like this:

#include “foo.h”

this will work on a local build, despite not having specified a headers attribute.

I understand this is because builds are only sandboxed remotely, but I’m curious if there are any concrete plans or roadmaps to make this work locally, out of the box, without standing up any kind of build farm (even over localhost).

I actually thought I had heard comments to the effect of buck2 would use symlinks to establish a local sandbox, but in practice buck2 doesn’t seem to be doing this.

Would appreciate Any insight or future plans around this area

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions