Alexander Alekhin
65392d5e6b
cmake: fix OPENGL_LIBRARIES handling
3 years ago
Alexander Alekhin
5dfe65d53a
cmake: fix popcnt detection with Intel Compiler
3 years ago
Stanislaw Halik
04b40ff221
add new supported MSVC version
3 years ago
xhawk18
24f43e7ae9
Merge pull request #20183 from xhawk18:3.4
...
* improve compatibility for qt 6.
* cmake(highgui): rework Qt dependency support
* cmake(highgui): workaround Qt5Config.cmake "components" bug
Co-authored-by: Alexander Alekhin <alexander.a.alekhin@gmail.com>
3 years ago
Alexander Alekhin
3385d38648
cmake: fix handling of INF_ENGINE_RELEASE
...
- default value should be handled earlier
3 years ago
Alexander Alekhin
aa7ba0bc1a
build: winpack_dldt with dldt 2021.4.1
3 years ago
Dale Phurrough
3995deaf76
fix opencv/opencv#20544 nodiscard for msvc/gcc
...
- includes workaround for preprocessor non-compliance
- enable attribute syntax checking in msvc
3 years ago
Xerxes Battiwalla
1e1984a586
Fixed typo in error message in OpenCVDetectCUDA.cmake
...
There was a minor typo in the FATAL error message when the specified CUDA generation does not match any known generation
3 years ago
Xiaoxiao Tian
3817f3a89b
fix: ocv_target_link_libraries could not handle the keyword rightly #20430
3 years ago
Alexander Alekhin
4c3f9b2ef4
cmake: update Halide detection
3 years ago
Alexander Alekhin
0e523618a1
cmake: exclude -pthread from Emscripten default build
3 years ago
Alexander Alekhin
9b0d6862c4
cmake(IE): extract INF_ENGINE_RELEASE from InferenceEngine package
3 years ago
Alexander Alekhin
7d842f5bcf
dnn: use OpenVINO 2021.4 defines
3 years ago
Alexander Alekhin
901ed5545f
cmake: fix handling of CMAKE_MODULE_LINKER_FLAGS
4 years ago
Nathan Hartman
e2483aa072
Fix typo: 'DOWNLAOD' to 'DOWNLOAD'
4 years ago
Maksim Shabunin
aeb8dfc52d
Fix header sorting for modules without headers
4 years ago
Maksim Shabunin
6465e393b6
IPP: use linker workaround for Intel compiler on Linux
4 years ago
Alexander Alekhin
2b86de217a
cmake: fix order of headers
...
- cmake uses filesystem's order which may vary
- unpredictable headers order may cause build failures (primary bindings)
4 years ago
eplankin
6f1eefec69
Merge pull request #19681 from eplankin:link_problem
...
* Workaround for IPP linking problem
* Apply -Bsymbolic to all cases when IPP is on
* Tried to hide symbols on MacOS
* Tried on --exclude-libs option
* Fixed macos and win warnings
* Fixed win build
* cmake(IPP): move --exclude-libs,libippcore.a to IPP CMake file
Co-authored-by: Alexander Alekhin <alexander.a.alekhin@gmail.com>
4 years ago
Alexander Alekhin
56bdd7db5c
dnn: use OpenVINO 2021.3 defines
...
original commit: 6291503793
4 years ago
Alexander Alekhin
625d4fc884
cmake: update Python linters handling
...
- exclude from getBuildInformation()
- fix pylint version
4 years ago
Zhuo Zhang
a5a421a9f1
Merge pull request #19522 from zchrissirhcz:3.4-fix-android-find-zlib-shared-since-ndk19
...
* fix find zlib.so instead of zlib.a when NDK >= 19
On Android platform, `libopencv_imgcodecs.a` is built, expected to
depend on `libz.so`. However, since Android NDK r19, NDK's `libz.a`
is found instead of `libz.so`, leading to link error
(not found libz.a) on machines without same NDK version & direcotry.
Since Android NDK-r19, toolchain pieces are installed to
`$NDK/toolchains/llvm/prebuilt/<host-tag>/...`, including `libz.so`.
Also installed to old paths (`<NDK>/platforms` and `<NDK>/sysroot`)
in NDK r19, r20, r21, but since NDK 22, old paths are removed.
- https://github.com/android/ndk/wiki/Changelog-r19
- https://github.com/android/ndk/wiki/Changelog-r22
With this commit, `libz.so` can be correctly found in NDK<19 and NDK>=19.
`ZLIB_LIBRARIES` is also simplified as `z`, by appending match (regex)
patterns for new toolchain installation directory's libz.so's paths.
* simplify libz.so match pattern for abbreviation
4 years ago
Alexander Alekhin
d2d6eba16a
cmake: fix add_apple_compiler_options() calls and OBJCXX handling
4 years ago
Alexander Alekhin
e448f4f6ef
cmake: fix pylint/flake8 detection, update flake8 exclude
4 years ago
Alexander Alekhin
8215380336
cmake: support ccache with Xcode generator
4 years ago
Ilya Lavrenov
064d48771d
Find only shared IE libraries, not plugins
...
original commit: 3ed376d103
4 years ago
Alexander Alekhin
752cc26ad6
dnn: use OpenVINO 2021.2 defines
...
original commit: 4699d2ba0c
4 years ago
Alexander Alekhin
b3937288e5
cmake: update MKL library searching
...
- allow to specify MKL_LIBRARIES through command-line
4 years ago
Alexander Alekhin
7fa9efbfd8
cmake: fix handling of wrappers dependencies
4 years ago
Alexander Alekhin
6bfb0dda85
cmake: avoid duplication of -Winit-self flag
4 years ago
Alexander Alekhin
8ae1552a5b
cmake: avoid excessive output from cmake --trace/--trace-expand
...
- `cmake . --trace-expand -DCMAKE_TRACE_MODE=1`
4 years ago
Alexander Alekhin
7e5c4fe1cd
cmake(js): update js targets
...
- unconditional js bindings source code generation
- use common name for tests: opencv_test_js
4 years ago
Alexander Alekhin
b31ce408ae
cmake: fix processing order of <wrapper>_bindings_generator
...
- ensure that wrapped modules are already processed
4 years ago
Alexander Alekhin
c42d47d94a
cmake: clean cached INTERNAL variable used for 3rdparty deps
4 years ago
Alexander Alekhin
387a76ba59
build: xcode 12 support, cmake fixes
4 years ago
Alexander Alekhin
ac418e999d
cmake: update condition for find_package(Eigen3 CONFIG)
4 years ago
catree
df7bf9a048
Fix typo in OpenCVFindOpenBLAS.cmake file.
4 years ago
Alexander Alekhin
bed5debca6
dnn: use OpenVINO 2021.1 defines
4 years ago
Alexander Alekhin
a6e15b2f57
cmake: prefer using Eigen configuration files
...
- for better compatibility with Ceres 2.0.0 CMake scripts
4 years ago
Alexander Alekhin
364702b1c9
cmake(3rdparty): use EXCLUDE_FROM_ALL
4 years ago
Alexander Alekhin
171fbf879f
cmake: fix typo in CUDA_GENERATION=Auto cache
4 years ago
Alexander Alekhin
691c655630
ippicv: install third-party-programs.txt file
4 years ago
Tomoaki Teshima
ac58b2f857
compute capability 8.6
...
- CC for RTX3090, RTX3080 and RTX3070
4 years ago
Maksim Shabunin
2dff2f36bf
Install: added prebuilt samples installation
4 years ago
Tomoaki Teshima
d92af2aa85
* stop showing old generations
...
* keep it possible to build for old CC
* make sure old generations don't come up for the choice
* remove related version check of old one
4 years ago
Alexander Alekhin
435b6df989
dnn: use OpenVINO 2020.4 defines
...
original commit: 2813aa7eb9
4 years ago
Tomoaki Teshima
269b810601
re-enable automatic CC detection on Jetson
...
* treat both CMAKE_C_COMPILER and c_compiler_realpath as candidate
4 years ago
Alexander Alekhin
e0f9eac521
cmake: backport CUDA scripts
4 years ago
Alexander Alekhin
eb6678ebef
Merge pull request #17699 from alalek:build_core_cuda
...
* core(cuda): fix build
- MSVS 19.25.28612.0
- CUDA release 11.0, V11.0.167
* cmake(cuda): backport workaround for CUDA 11
* cmake(cuda): call CUDA_BUILD_CLEAN_TARGET() on finalize
* cmake(cuda): use CMAKE_SUPPRESS_REGENERATION with MSVS
4 years ago
Alexander Alekhin
56b5a7d977
cmake: fix ENABLE_PROFILING
4 years ago