Alexander Alekhin
73891d619a
Merge pull request #10700 from alalek:cpu_dispatch_axv512
...
* cmake: enable CPU dispatching for AVX512 (SKX)
* cmake: update handling of unsupported flags/modes
7 years ago
Maksim Shabunin
74367093c8
VS with hardening: added guard flag, moved dynamicbase and safeseh to linker flags
7 years ago
Alexander Alekhin
81c5fae56f
core(lapack): fix build issues related to 'extern "C"'
7 years ago
Maksim Shabunin
1b0ff57562
Merge pull request #10621 from mshabunin:disable-docs
...
Documentation generation refactoring (#10621 )
* Documentation build updates:
- disable documentation by default, do not add to ALL target
- combine Doxygen and Javadoc
- optimize Doxygen html
* javadoc: fix path in build directory
* cmake: fix "Documentation" status line
7 years ago
Csaba Keszegh
2aa18ca3e9
fix: use CXX_STANDARD when extracting compiler flags for PCH with GNUCXX
...
When compiling with cmake using -DCMAKE_CXX_STANDARD=11 use `-std=gnu++11`
for PCH compiler flags, otherwise it triggers an error:
opencv_core_Release.gch: not used because `__cplusplus' defined as ` 201103L' not ` 199711L' [-Winvalid-pch]
Use CXX_EXTENSIONS property to select `gnu++11` or `c++11`.
Trying to mimic cmake logic here: https://gitlab.kitware.com/cmake/cmake/blob/master/Source/cmLocalGenerator.cxx#L1527-1557
7 years ago
Maksim Shabunin
c0ae812aa2
Add ThinLTO support for clang
7 years ago
oqtvs
df0b83332d
Updated protobuf version to 3.5.1
7 years ago
Alexander Alekhin
91e10a3105
cmake: ocv_target_include_directories() handle SYSTEM directories
7 years ago
Alexander Alekhin
8533b45ce9
cmake: Java/Android SDK refactoring
7 years ago
Aaron Bray
6f8be3f693
Merge pull request #10497 from aaron-bray:msvc2017-findcuda
...
* Update to properly find the compiler tools for MSVC 2017
* FindCUDA: Fix the MSVC 2017 compiler tool locations
7 years ago
Alexander Alekhin
f3dde79ed6
cmake: allow BUILD_FAT_JAVA_LIB for non-Android targets too
7 years ago
Alexander Alekhin
431b3b4323
cmake(android): refactor copying of Android samples project files
7 years ago
Alexander Alekhin
9966903ae1
cmake(android): fix non-idempotent INSTALL scripts
7 years ago
Alexander Alekhin
0e6dd32858
cmake(android): update zlib alias condition
...
To use 'z' in Android.mk instead of absolute path from the build machine.
7 years ago
Alexander Alekhin
bc7923e382
cmake(android): fix ccache detection (native Android toolchain with NDK_CCACHE)
...
To prevent this result:
/usr/bin/ccache ccache <android-ndk-r16.1>/toolchains/arm-linux-androideabi-4.9/prebuilt/linux-x86_64/bin/arm-linux-androideabi-gcc ...
with:
ccache: error: Recursive invocation (the name of the ccache binary must be "ccache")
7 years ago
Alexander Alekhin
5f9bb6249e
android: IPPICV static libraries workarounds for NDK 16
7 years ago
Alexander Alekhin
94b236872c
cmake: avoid unnecessary files creation in ocv_cmake_configure()
7 years ago
Alexander Alekhin
ea5a3e557f
python: filter modules headers (from <module>/include directory)
7 years ago
Alexander Alekhin
4bd1e3dcbd
cmake: avoid timestamp change of version_string.inc file
7 years ago
Alexander Alekhin
7d67d60fb1
cmake(opt): AVX512_SKX
7 years ago
Alexander Alekhin
898ca38257
cmake: AVX512 -> AVX_512F
7 years ago
Arjan van de Ven
fc8e848a54
Add basic plumbing for AVX512 support
...
The opencv infrastructure mostly has the basics for supporting avx512 math functions,
but it wasn't hooked up (likely due to lack of users)
In order to compile the DNN functions for AVX512, a few things need to be hooked up
and this patch does that
Signed-off-by: Arjan van de Ven <arjan@linux.intel.com>
7 years ago
Alexander Alekhin
6c252d8cdc
cmake: fix -fPIC/-fPIE handling in precompiled headers (PCH)
7 years ago
Tomoaki Teshima
fe7b3f1228
clean up the code
...
* disable the warning in CMake, not int the code using pragma
7 years ago
Alexander Alekhin
0b33eb0929
cmake: fix ocv_target_compile_definitions() for world builds
...
fixes CUDA build
7 years ago
Sayed Adel
a8ae9cab08
3rdparty:libpng[1.6.34] Add missing support for PowerPC/VSX
7 years ago
Alexander Alekhin
cd4176104d
3rdparty: update libwebp 0.6.1
7 years ago
Alexander Alekhin
5c709f4aaa
3rdparty: update libtiff 4.0.9
7 years ago
Alexander Alekhin
f39ee9c6a1
cmake: rework MAP_IMPORTED_CONFIG to prevent unintended build failures
...
Introduce CMake variable OPENCV_MAP_IMPORTED_CONFIG which controls this behaviour
Added defaults for MSVS targets
7 years ago
Alexander Alekhin
edadcfa7d9
cmake: add option to workaround issue observed with old CMake
...
CMake message contains this: "Invalid escape sequence \"
7 years ago
Maksim Shabunin
7349b8f5ce
Build for embedded systems
7 years ago
Alexander Alekhin
768f4cb7bc
python: 'sub-module' for binding sources and documentation meta information
7 years ago
Maksim Shabunin
38c62f6461
Added option to disable gc-sections flag
7 years ago
Pavel Rojtberg
6fb9d42c3f
Hid symbols in static builds, added LTO flags, removed exports from ts
7 years ago
Vadim Pisarevsky
b833d512ec
fixed native Lapack detection script on Mac/iOS (where native Lapack is a part of Accelerate framework)
7 years ago
Alexander Alekhin
22c0bb7dc9
cmake: fix WITH_VTK usage
...
'WITH_' variables is intended to enable CMake scripts with some autodetection logic.
'WITH_' can be off, but components is really enabled via command-line options
with proper variables setup (including 'HAVE_').
7 years ago
Maksim Shabunin
7eb1065944
Fixed/disabled warnings produced by GCC 7
7 years ago
Alexander Alekhin
f7913e2c84
build: eliminate Xcode 9.1 warnings
...
- 3rdparty/libjasper/jas_getopt.c:129:25: warning: this function declaration is not a prototype [-Wstrict-prototypes]
- clang: warning: optimization flag '-fomit-frame-pointer' is not supported for target 'armv7' [-Wignored-optimization-argument]
7 years ago
Alexander Alekhin
89d855c0b7
cmake: update optimization filter
7 years ago
Maksim Shabunin
5b17410f7c
Added BUILD_LIST feature
7 years ago
Alexander Alekhin
f6d927ef3b
dnn: avoid conflicts with original caffe.proto
...
rename caffe.proto => opencv-caffe.proto
7 years ago
Maksim Shabunin
5ebb234746
cmake: simplified configuration output
7 years ago
Amro
bbba9ac121
fix pkg-config generation for mingw
7 years ago
Alexander Alekhin
43e4e1b624
cmake: drop amending of compilation options
...
Allow to specify optimization level via CMake.
7 years ago
Alexander Alekhin
a0e1def83b
cmake: fix pkg-config generation for MacOSX
7 years ago
Alexander Alekhin
8e21f808be
cmake: allow custom OpenCV_ARCH / OpenCV_RUNTIME values
7 years ago
Alexander Alekhin
ac22d3c817
cmake: MSVC_VERSION use pattern matching
7 years ago
Mikhail Paulyshka
62737c777c
cmake: add support for MSVS 2017 update 5
7 years ago
Maksim Shabunin
93813fec6e
VisualStudio: Added solution folders for dispatched optimization targets
7 years ago
Alexander Alekhin
5f80e42dac
cmake: update OpenBLAS support
...
- reorder path HINTS to avoid conflicts with other LAPACK libraries
- add extern "C" { } to avoid generation of C++ symbols
7 years ago