Add a hidden environment flag to break builds when the C extensions fail
Change-Id: Ic3e30db0911d1899c30a955b5fd692da1be7f7c7
This commit is contained in:
parent
8724436c90
commit
d5e6ce9720
|
@ -159,6 +159,8 @@ def run_setup(configurations):
|
|||
except BuildFailed, x:
|
||||
print("One or more C extensions failed to build.")
|
||||
print("Details: %s" % x)
|
||||
if os.environ.get('CHEETAH_C_EXTENSIONS_REQUIRED'):
|
||||
raise x
|
||||
print("Retrying without C extensions enabled.")
|
||||
|
||||
del kws['ext_modules']
|
||||
|
|
Loading…
Reference in New Issue