https://github.com/tarunprabhu approved this pull request. Thanks Kiran. I think `-module` and `-I` (instead of `-J`) would also work here. But `cd` is fine too. There is precedent for doing this in `clang` as well. https://github.com/llvm/llvm-project/pull/123364