From a57335fb7c1ec19986fa2000209662917cd1d9e3 Mon Sep 17 00:00:00 2001 From: Yanqingshang Date: Mon, 2 Nov 2020 09:52:19 +0800 Subject: [PATCH] syn yellow to blue --- CMakeLists.txt | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/CMakeLists.txt b/CMakeLists.txt index db296fdab..da0f35493 100755 --- a/CMakeLists.txt +++ b/CMakeLists.txt @@ -122,7 +122,7 @@ else() add_custom_command( OUTPUT ${BASE_DIR}/tf_adapter/util/ge_plugin_wrap.cxx COMMAND echo "before generate swig files" - && swig -c++ -python ${BASE_DIR}/tf_adapter/swig/ge_plugin.i + && swig -c++ -threads -python ${BASE_DIR}/tf_adapter/swig/ge_plugin.i && mv ${BASE_DIR}/tf_adapter/swig/ge_plugin_wrap.cxx ${BASE_DIR}/tf_adapter/util/ && mv ${BASE_DIR}/tf_adapter/swig/tf_adapter.py ${BASE_DIR}/tf_adapter/python/npu_bridge/ && echo "end generate swig files" -- Gitee