setup.py: uses ccache c++.

This commit is contained in:
Steinar Foss
2019-08-09 14:57:49 +02:00
committed by Joakim Hove
parent cf9aa917dc
commit d1052d2034

View File

@@ -10,8 +10,9 @@ import os
import subprocess
try:
subprocess.call(["c++", "--version"])
subprocess.call(['ccache', '--version'])
os.environ['CC'] = 'ccache g++'
os.environ['CC'] = 'ccache c++'
except OSError as e:
print('\nNOTE: please install ccache for faster compilation of python bindings.\n')