realm-kotlin
realm-kotlin copied to clipboard
Support using CCache for building the project
Ran into this issue a while back:
This was just building from test from a clean checkout.
Building packages result in a cmake error :confused:
> Task :cinterop:capiIosArm64
-- The C compiler identification is unknown
-- The CXX compiler identification is unknown
CMake Error at CMakeLists.txt:4 (project):
No CMAKE_C_COMPILER could be found.
I think I found the issue…. I have ccache configured and it seems to escape the whitespace which breaks the command. Not sure how that is happening though
ccache\ clang -x c -target armv7-apple-ios8.0
We should see if there if we can find a work-around or report a bug upstream.
This will be fixed by https://github.com/realm/realm-core/pull/5819