Browse Source

static check 0311

pull/257/head
lwx911747 4 years ago
parent
commit
2862db0672
4 changed files with 4 additions and 2 deletions
  1. +1
    -0
      parser/CMakeLists.txt
  2. +1
    -1
      parser/func_to_graph/func2graph.py
  3. +1
    -0
      parser/onnx/CMakeLists.txt
  4. +1
    -1
      parser/stub/gen_stubapi.py

+ 1
- 0
parser/CMakeLists.txt View File

@@ -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


+ 1
- 1
parser/func_to_graph/func2graph.py View File

@@ -1,5 +1,5 @@
#!/usr/bin/python3
# -*- coding: UTF-8 -*-
# -*- coding: utf-8 -*-
#-------------------------------------------------------------------
# Purpose:
# Copyright 2020 Huawei Technologies Co., Ltd. All rights reserved.


+ 1
- 0
parser/onnx/CMakeLists.txt View File

@@ -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


+ 1
- 1
parser/stub/gen_stubapi.py View File

@@ -1,5 +1,5 @@
#!/usr/bin/python3
# -*- coding: UTF-8 -*-
# -*- coding: utf-8 -*-
#-------------------------------------------------------------------
# Purpose:
# Copyright 2020 Huawei Technologies Co., Ltd. All rights reserved.


Loading…
Cancel
Save