setup.py: uses ccache c++.
This commit is contained in:
committed by
Joakim Hove
parent
cf9aa917dc
commit
d1052d2034
@@ -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')
|
||||
|
||||
|
||||
Reference in New Issue
Block a user