From 27aaaa82e64dd1bbecb94243b4ed22ac4997149d Mon Sep 17 00:00:00 2001 From: Adeeb Shihadeh Date: Sun, 22 Nov 2020 00:36:40 -0800 Subject: [PATCH] Revert "don't need this anymore", need to fix cereal first This reverts commit 4f090d1ddfe39885a8b76b7e6fbd15483a7572d5. old-commit-hash: 0d62f05b79d627e5c0ec6d7bc34b0faa4d0a1247 --- SConstruct | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/SConstruct b/SConstruct index 376e4053ae..758d494f3b 100644 --- a/SConstruct +++ b/SConstruct @@ -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"