Revert "don't need this anymore", need to fix cereal first

This reverts commit c1a62c6be9.
This commit is contained in:
Adeeb Shihadeh
2020-11-22 00:36:40 -08:00
parent c1a62c6be9
commit 0d62f05b79

View File

@@ -1,3 +1,5 @@
import Cython
import distutils
import os
import shutil
import subprocess
@@ -17,6 +19,10 @@ AddOption('--asan',
action='store_true',
help='turn on ASAN')
# Rebuild cython extensions if python, distutils, or cython change
cython_dependencies = [Value(v) for v in (sys.version, distutils.__version__, Cython.__version__)]
Export('cython_dependencies')
real_arch = arch = subprocess.check_output(["uname", "-m"], encoding='utf8').rstrip()
if platform.system() == "Darwin":
arch = "Darwin"