small scons cleanup (#1858)

old-commit-hash: 704bc1b8834d3f98e0be1d37e72911e449d7dd6c
This commit is contained in:
Adeeb Shihadeh
2020-07-10 15:26:16 -07:00
committed by GitHub
parent a9a1a3a2ba
commit ef00c30f3a
2 changed files with 27 additions and 16 deletions
+5 -2
View File
@@ -9,7 +9,8 @@ common_src = [
"models/commonmodel.c",
"runners/snpemodel.cc",
"transforms/loadyuv.c",
"transforms/transform.c"]
"transforms/transform.c"
]
if arch == "aarch64":
libs += ['gsl', 'CB', 'gnustl_shared']
@@ -24,9 +25,11 @@ else:
# for tensorflow support
common_src += ['runners/tfmodel.cc']
# tell runners to use it
# tell runners to use tensorflow
lenv['CFLAGS'].append("-DUSE_TF_MODEL")
lenv['CXXFLAGS'].append("-DUSE_TF_MODEL")
if arch == "Darwin":
# fix OpenCL
del libs[libs.index('OpenCL')]