Skip to content

install_executorch.sh --clean should remove buck-out/ #11564

@larryliu0820

Description

@larryliu0820

🚀 The feature, motivation and pitch

We remove cmake-out/ pip-out/ when we run install_executorch.sh --clean, we should also remove buck-out/ as some of the file changes will not update in buck-out/ automatically if we pull the latest, and that causes issues.

For example, #10675 introduces a new file platform/platforms.cpp and since buck-out/ caches the value of buck uquery "inputs(deps(//runtime/platform:platform))", it doesn't generate executorch_srcs.cmake file correctly, with the new file platform/platforms.cpp.

This kind of issue is hard to debug, so we should remove buck-out/ every time user run install_executorch.sh --clean.

Alternatives

No response

Additional context

No response

RFC (Optional)

No response

Metadata

Metadata

Assignees

Labels

Type

No type

Projects

Status

Done

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions