1. 24 Mar, 2020 1 commit
    • Tomasz Socha's avatar
      [ONNX] Enable cross-compiling and ninja build for onnx_importer (#4450) · a8e79079
      Tomasz Socha authored
      * [ONNX] Enable cross-compiling and ninja build for onnx_importer
      
      - Change minimum cmake version to 3.11
      - Enable cross-compilation of protobuf
      - Rewrite ONNX external project into FetchContent
      - Fix some issues with ninja build on windows
      
      * Remove -Werror from ONNX CMAKE_CXX_FLAGS
      
      * Unit-test: Link gcpu_backend if NGRAPH_GENERIC_CPU_ENABLE is ON
      
      * Remove overwriting of main CMAKE_CXX_FLAGS from the onnx cmake file
      
      * Fix onnx usage of CMAKE_CXX_FLAGS
      
      * Ignore warning for onnx on windows, restore Windows CXX replacement
      
      * Resolve some problems on OV ci
      
      * Fix missing quotes
      
      * Ignore range-loop-construct warning in onnx
      
      * Just stop be pedantic for onnx
      
      * Remove -Werror as well
      
      * Remove unnecesary code
      
      * style
      
      * Add NGRAPH_API macro to builder::opset1::reorder_axes for OV transformations
      
      * Move NGRAPH_API to header
      Co-authored-by: 's avatarSang Ik Lee <sang.ik.lee@intel.com>
      Co-authored-by: 's avatarRobert Kimball <robert.kimball@intel.com>
      Co-authored-by: 's avatarScott Cyphers <scott.cyphers@intel.com>
      Co-authored-by: 's avatarScott Cyphers <diyessi@users.noreply.github.com>
      a8e79079
  2. 30 Jan, 2020 1 commit
  3. 17 Jan, 2020 1 commit
    • Sang Ik Lee's avatar
      Ninja build (#4101) · 6e415019
      Sang Ik Lee authored
      * Add new option to do a clean Ninja build.
      
      * Enable Interpreter and unit-test.
      
      * Enable json.
      
      * Enable NOP backend.
      
      * Enable tools.
      
      * Enable CPU DEX ONLY on Linux.
      
      * Quick hack to enable dex only on Mac.
      
      * Enable onnx import.
      
      * Cleanup gtest.
      
      * Cleanup tbb_prebuilt.
      
      * Fix typo.
      
      * Move gtest include point.
      
      * Fix gtest windows path.
      
      * Remove temporary option.
      
      * Keep GCPU upto date with INTERPRETER.
      
      * Add missing file.
      
      * Enable GCPU.
      
      * Enable CPU codegen.
      
      * Remove tabs.
      
      * Revert "Merge branch 'silee2/gcpu' into silee2/ninja"
      
      This reverts commit e513cd3fe3659a477af6e8fab6c1852a5b1493c3, reversing
      changes made to 31dca3301cd89e15af23acd0d50aa06a1c5d6001.
      
      * Enable PlaidML.
      Co-authored-by: 's avataraslepko <44713115+aslepko@users.noreply.github.com>
      6e415019
  4. 01 Jan, 2020 1 commit
  5. 08 Oct, 2019 1 commit
    • Scott Cyphers's avatar
      Cyphers/lastwarns (#3640) (#3673) · b7d8c78b
      Scott Cyphers authored
      * Cyphers/lastwarns (#3640)
      
      * Build changes for -Wall
      
      * Use properties
      
      * Remove no-zero-as-null-pointer-constant
      
      * add ##__VAR_ARGS__ workaround
      
      * enable gnu-zero-variadic-macro-arguments warning
      
      * fix gnu-zero-variadic-macro-arguments
      
      * use PrintToDummyParamName
      
      * remove ##__VA_ARGS__ workaround
      
      * fix ##__VA_ARGS__ and enable gnu-zero-variadic-macro-arguments
      
      * handle windows build
      
      * use alternative fix to support VS compiler
      
      * fix merge issue
      
      * remove variadic macros from kernel_selectors
      
      * replace remaining ##__VA_ARGS__
      
      * fix missing braces
      
      * Remove some clang warnings
      
      * Warnings cleanup
      b7d8c78b
  6. 22 Jul, 2019 1 commit
  7. 18 Jul, 2019 1 commit
  8. 31 May, 2019 1 commit
    • Sang Ik Lee's avatar
      Cleanup how compile flags are set and used by nGraph and external projects. (#2942) · 08dcd01b
      Sang Ik Lee authored
      * Cleanup how compile flags set and used by nGraph and external projects.
      Set C++11 through CMake and pass it down to external projects.
      Prefer CMake variables such as CMAKE_POSITION_INDEPENDENT_CODE and
      CMAKE_CXX_STANDARD instead of explicitly setting compiler dependent
      flags.
      Create json compilation database for external projects.
      CMAKE_CXX_FLAGS is used as common global options for nGraph and external
      projects.
      add_compile_options() is used for local options for current and sub
      directories.
      add_definitions() is used for setting definitions for current and sub
      directories.
      Note: Global options are not passed down to some external projects.
      Note: mkl-dnn resets CMAKE_CXX_FLAGS internally.
      Note: TBB and MLSL are not CMake based.
      Noet: Eigen and json is header only library.
      
      * Fix error.
      
      * Fix error. (second attempt)
      
      * Cleanup code.
      
      * Allow check for undefined macro.
      
      * Try to fix cldnn issue.
      
      * Set type for CMake arguments.
      
      * Pass C++ standard to protobuf.
      
      * Pass C++ standard down to TBB.
      
      * Change how Clang specific flags are handled.
      
      * Fix error.
      
      * Workaround for compile error on Baidu's PDPD docker.
      
      * Fix windows build error.
      08dcd01b
  9. 18 Mar, 2019 1 commit
  10. 22 Feb, 2019 1 commit
  11. 19 Feb, 2019 1 commit
  12. 15 Feb, 2019 1 commit
  13. 03 Jan, 2019 1 commit
  14. 28 Dec, 2018 1 commit
  15. 15 Oct, 2018 1 commit
  16. 31 Aug, 2018 1 commit
  17. 28 Aug, 2018 1 commit
  18. 27 Aug, 2018 2 commits