79316384

Date: 2024-12-29 21:35:36
Score: 1
Natty:
Report link
  1. create a new mount point using sudo mkdir /mnt/ccache

  2. then bind ccache directory to that mount point using

    sudo mount --bind /home/<your_account_username>/.cache/ccache /mnt/ccache

replace <your_account_username> with the appropriate value. After this, add the following

  1. nano ~/.bashrc file and adds:

    export USE_CCACHE=1 export CCACHE_EXEC=/usr/bin/ccache export CCACHE_DIR=/mnt/ccache

save and exit

  1. Terminal: ccache -M 50G

  2. add auto mount: sudo nano /etc/fstab /home/<your_account_username>/.cache/ccache /mnt/ccache none defaults,bind,users,noauto 0 0 save and exit

nano ~/.profile mount /mnt/ccache save and exit

You should not see these errors ever again.

Reasons:
  • Long answer (-0.5):
  • No code block (0.5):
  • Low reputation (1):
Posted by: Дмитрий Краснов