Uploaded image for project: 'Realm Kotlin'
  1. Realm Kotlin
  2. RKOTLIN-127

Support using CCache for building the project

    • Type: Icon: Task Task
    • Resolution: Unresolved
    • Priority: Icon: Minor - P4 Minor - P4
    • None
    • Affects Version/s: None
    • Component/s: None
    • Labels:
      None

      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.

            Assignee:
            Unassigned Unassigned
            Reporter:
            unitosyncbot Unito Sync Bot
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

              Created:
              Updated: