LINUX.ORG.RU

Настройка ccache

 , ,


0

1

Что я сделал неправильно и как правильно настроить ccache?

cat /etc/portage/make.conf |grep -i ccache

FEATURES="ccache parallel-fetch metadata-transfer"
# ccache
CCACHE_DIR="/var/cache/ccache"
CCACHE_UMASK="0002"
CCACHE_SIZE="5G"

sudo du -sh /var/cache/ccache/

2.3G    /var/cache/ccache/

Но:

$ccache -s

Summary:
  Hits:               0 /    0
    Direct:           0 /    0
    Preprocessed:     0 /    0
  Misses:             0
    Direct:           0
    Preprocessed:     0
Primary storage:
  Hits:               0 /    0
  Misses:             0
  Cache size (GB): 0.00 / 5.00 (0.00 %)

Use the -v/--verbose option for more details.

sudo ccache -s

Summary:
  Hits:               0 /    0
    Direct:           0 /    0
    Preprocessed:     0 /    0
  Misses:             0
    Direct:           0
    Preprocessed:     0
Primary storage:
  Hits:               0 /    0
  Misses:             0
  Cache size (GB): 0.00 / 5.00 (0.00 %)

Use the -v/--verbose option for more details.

sudo -u portage ccache -s

Summary:
  Hits:               0 /    0
    Direct:           0 /    0
    Preprocessed:     0 /    0
  Misses:             0
    Direct:           0
    Preprocessed:     0
Primary storage:
  Hits:               0 /    0
  Misses:             0
  Cache size (GB): 0.00 / 5.00 (0.00 %)

Use the -v/--verbose option for more details.
★★★

Последнее исправление: serg002 (всего исправлений: 2)

Ты был так близок к победе, ну

CCACHE_DIR="/var/cache/ccache"
$ sudo -u portage ccache -sv
Summary:
  Cache directory:  /var/lib/portage/home/.cache/ccache
$ ccache --help

    -d, --dir PATH             operate on cache directory PATH instead of the
                               default
Gary ★★★★★
()

как правильно настроить ccache?

правильно - отключить его

eternal_sorrow ★★★★★
()
Вы не можете добавлять комментарии в эту тему. Тема перемещена в архив.