diff --git a/parser/CMakeLists.txt b/parser/CMakeLists.txt index 4e3d018..83513d8 100644 --- a/parser/CMakeLists.txt +++ b/parser/CMakeLists.txt @@ -139,6 +139,7 @@ add_library(fmk_parser_stub SHARED target_compile_options(fmk_parser_stub PRIVATE -O2 + -fno-common ) target_compile_definitions(fmk_parser_stub PRIVATE diff --git a/parser/func_to_graph/func2graph.py b/parser/func_to_graph/func2graph.py index dcaaf3c..ef52916 100644 --- a/parser/func_to_graph/func2graph.py +++ b/parser/func_to_graph/func2graph.py @@ -1,5 +1,5 @@ #!/usr/bin/python3 -# -*- coding: UTF-8 -*- +# -*- coding: utf-8 -*- #------------------------------------------------------------------- # Purpose: # Copyright 2020 Huawei Technologies Co., Ltd. All rights reserved. diff --git a/parser/onnx/CMakeLists.txt b/parser/onnx/CMakeLists.txt index 65cabae..77cdcf1 100644 --- a/parser/onnx/CMakeLists.txt +++ b/parser/onnx/CMakeLists.txt @@ -104,6 +104,7 @@ add_library(fmk_onnx_parser_stub SHARED target_compile_options(fmk_onnx_parser_stub PRIVATE -O2 + -fno-common ) target_compile_definitions(fmk_onnx_parser_stub PRIVATE diff --git a/parser/stub/gen_stubapi.py b/parser/stub/gen_stubapi.py index 94db770..9319f3f 100644 --- a/parser/stub/gen_stubapi.py +++ b/parser/stub/gen_stubapi.py @@ -1,5 +1,5 @@ #!/usr/bin/python3 -# -*- coding: UTF-8 -*- +# -*- coding: utf-8 -*- #------------------------------------------------------------------- # Purpose: # Copyright 2020 Huawei Technologies Co., Ltd. All rights reserved.