You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
[K/N][tests] Stop using shared Clang module cache to improve stability
cinterop uses Clang and libclang. When getting `-fmodules` flag, Clang
practices some caching, which is system-wide by default. Meaning, the
cache directory can be used by other Clang invocations, even at the same
time.
Clang module cache machinery has sophisticated measures to avoid any
problems with that, e.g. different compilation flags make it use
different cache sub-directories, and there are locks in place to avoid
data races. Still, sometimes we encounter problems seemingly triggered
by re-using the same cache directory.
This commit workarounds that by passing `-fmodules-cache-path=` flag
to some of the relevant `cinterop` invocations in the test
infrastructure.
^KT-68254
(cherry picked from commit 0044ca5)
0 commit comments