refracta / dcss-server

Containerized DCSS Server
https://crawl.nemelex.cards
2 stars 0 forks source link

Ccache #22

Closed refracta closed 1 month ago

refracta commented 1 month ago

Troubleshoot the issue where ccache is not being generated during trunk compilation. If the ccache path is mounted as a folder, the cache will be preserved even when the existing container is removed during docker-compose execution.

refracta commented 1 month ago

Not use CC, CXX -> ccache not work

CC="ccache gcc" CXX="ccache g++" -> ccache work

CC=gcc CXX=g++ -> ccache not work

refracta commented 1 month ago

[Need Test]

  1. Other ccache flags
  2. Disable hash parameters