realm-kotlin icon indicating copy to clipboard operation
realm-kotlin copied to clipboard

Support using CCache for building the project

Open cmelchior opened this issue 4 years ago • 1 comments

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.

cmelchior avatar Apr 26 '21 12:04 cmelchior

This will be fixed by https://github.com/realm/realm-core/pull/5819

cmelchior avatar Sep 07 '22 09:09 cmelchior