Set the CC environment variable also for non ccache situation
This commit is contained in:
parent
5e5dd48cee
commit
07500d5f09
@ -25,6 +25,7 @@ try:
|
||||
os.environ['CC'] = 'ccache {}'.format(cc)
|
||||
print("Using 'ccache {}' as compiler".format(cc))
|
||||
except OSError as e:
|
||||
os.environ['CC'] = cc
|
||||
print('\nNOTE: please install ccache for faster compilation of python bindings.\n')
|
||||
|
||||
# This is very hacky but so is the entire setup.py buildsystem.
|
||||
|
Loading…
Reference in New Issue
Block a user