nod-ai / iree-amd-aie

IREE plugin repository for the AMD AIE accelerator
Apache License 2.0
69 stars 30 forks source link

[gitmodules] Ignore dirty submodules #746

Closed newling closed 2 months ago

newling commented 2 months ago

Main motivation for this is to make switching between branches faster: Down from 15 seconds to light-speed.

For things like git status and git diff I've figured out how to make them fast without this change: use the --ignore-submodules flags. But for git checkout I haven't found an equivalent.

I guess the underlying problem is that the submodules (XRT, etc.) get dirtied after cloning, and somehow this makes more work for git. Untracked files like src/runtime_src/core/common/api/version.h etc appear. I'm not 100% sure of this.

If someone has an alternative suggestion to getting lighting fast git checkout without this PR: please let me know.