Skip to content

ccache not working on OS X/macOS #855

Open
@koffes

Description

@koffes

I discovered that ccache is not working with Zephyr SDK 0.17.0 on macOS.
Let me know if I should file this ticket elsewhere.

From the log below, ccache is installed, and is found, but there are no hits:

Cacheable calls:               0 / 1258 ( 0.00%)
  Hits:                        0
    Direct:                    0
    Preprocessed:              0
  Misses:                      0
Uncacheable calls:          1258 / 1258 (100.0%)
  Bad compiler arguments:    756 / 1258 (60.10%)
  Called for linking:        256 / 1258 (20.35%)
  Called for preprocessing:  124 / 1258 ( 9.86%)
  No input file:             122 / 1258 ( 9.70%)
Successful lookups:
  Direct:                      0
  Preprocessed:                0
Local storage:
  Cache size (GiB):          0.0 /  5.0 ( 0.00%)
  Files:                       0
  Hits:                        0
  Misses:                      0
  Reads:                       0

Another colleague of mine, noticed the same thing on a different macOS setup. He claimed that this may have happened with the transition to sysbuild.

Tested on:
Sequoia 15.0.1
SDK 0.17.0
Zephyr bleeding edge today (d3a0e16)
samples/basic/blinky can be used to test

When I get more time, I will bisect and find when this broke. I will also try different SDK versions.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    Projects

    Status

    Todo

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions