Merge remote-tracking branch 'upstream/3.4' into merge-3.4
authorAlexander Alekhin <alexander.alekhin@intel.com>
Tue, 17 Mar 2020 10:23:33 +0000 (13:23 +0300)
committerAlexander Alekhin <alexander.alekhin@intel.com>
Tue, 17 Mar 2020 10:23:33 +0000 (13:23 +0300)
13 files changed:
1  2 
cmake/OpenCVDetectCXXCompiler.cmake
cmake/OpenCVModule.cmake
modules/calib3d/include/opencv2/calib3d.hpp
modules/calib3d/src/fundam.cpp
modules/core/CMakeLists.txt
modules/core/src/parallel.cpp
modules/dnn/src/dnn.cpp
modules/dnn/src/onnx/onnx_importer.cpp
modules/dnn/src/op_inf_engine.cpp
modules/dnn/src/op_inf_engine.hpp
modules/dnn/src/tensorflow/tf_importer.cpp
modules/dnn/test/test_onnx_importer.cpp
modules/dnn/test/test_tf_importer.cpp

@@@ -211,11 -212,13 +211,17 @@@ if(NOT HAVE_CXX11
    endif()
  endif()
  
- if((HAVE_CXX11
 +if(NOT HAVE_CXX11)
 +  message(FATAL_ERROR "OpenCV 4.x requires C++11")
 +endif()
 +
+ set(__OPENCV_ENABLE_ATOMIC_LONG_LONG OFF)
+ if(HAVE_CXX11 AND (X86 OR X86_64))
+   set(__OPENCV_ENABLE_ATOMIC_LONG_LONG ON)
+ endif()
+ option(OPENCV_ENABLE_ATOMIC_LONG_LONG "Enable C++ compiler support for atomic<long long>" ${__OPENCV_ENABLE_ATOMIC_LONG_LONG})
+ if((HAVE_CXX11 AND OPENCV_ENABLE_ATOMIC_LONG_LONG
          AND NOT MSVC
          AND NOT (X86 OR X86_64)
      AND NOT OPENCV_SKIP_LIBATOMIC_COMPILER_CHECK)
Simple merge
Simple merge
Simple merge
Simple merge
Simple merge
Simple merge
@@@ -244,9 -243,9 +244,9 @@@ CV__DNN_INLINE_NS_BEGI
  
  bool isMyriadX();
  
 -CV__DNN_EXPERIMENTAL_NS_END
 +CV__DNN_INLINE_NS_END
  
- InferenceEngine::Core& getCore();
+ InferenceEngine::Core& getCore(const std::string& id);
  
  template<typename T = size_t>
  static inline std::vector<T> getShape(const Mat& mat)
Simple merge