Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

CLion filling temp directory

Tags:

clion

CLion has been generating multiple ~100M sized preamble-* files in the standard /tmp directory.

  1. Any suggestions on how this can be disabled?
  2. Alternatively any suggestions on how to change the default temp directory?
like image 796
tangy Avatar asked Nov 06 '22 17:11

tangy


1 Answers

The preamble-* files are created by Clang that is used by CLion.

To change the directory specify an environment variable TMPDIR=/your/preferred/location when running CLion.

like image 57
Nakamp Avatar answered Nov 24 '22 15:11

Nakamp