Alexander Alekhin
5340dc6686
Merge pull request #19819 from alalek:cmake_fix_headers_order
2021-04-01 01:34:21 +00:00
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)
2021-03-31 23:16:46 +00:00
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>
2021-03-31 09:24:37 +00:00
Alexander Alekhin
56bdd7db5c
dnn: use OpenVINO 2021.3 defines
...
original commit: 6291503793
2021-03-24 10:26:24 +00:00
Alexander Alekhin
625d4fc884
cmake: update Python linters handling
...
- exclude from getBuildInformation()
- fix pylint version
2021-03-05 12:54:51 +00:00
Alexander Alekhin
76cc034df2
Merge pull request #19519 from alalek:issue_19485
2021-02-15 15:15:27 +00:00
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
2021-02-14 21:38:53 +03:00
Alexander Alekhin
d2d6eba16a
cmake: fix add_apple_compiler_options() calls and OBJCXX handling
2021-02-13 18:37:30 +00:00
Alexander Alekhin
e448f4f6ef
cmake: fix pylint/flake8 detection, update flake8 exclude
2021-01-29 17:06:54 +00:00
Alexander Alekhin
eea4397b12
Merge pull request #19332 from alalek:xcode_ccache
2021-01-16 18:58:02 +00:00
Alexander Alekhin
8215380336
cmake: support ccache with Xcode generator
2021-01-15 19:58:01 +00:00
Ilya Lavrenov
064d48771d
Find only shared IE libraries, not plugins
...
original commit: 3ed376d103
2020-12-24 06:48:54 +00:00
Alexander Alekhin
752cc26ad6
dnn: use OpenVINO 2021.2 defines
...
original commit: 4699d2ba0c
2020-12-16 22:22:17 +00:00
Alexander Alekhin
33761ee06b
Merge pull request #19064 from alalek:cmake_update_mkl
2020-12-11 19:10:16 +00:00
Alexander Alekhin
37bfb3c48d
Merge pull request #19059 from alalek:fixup_19000
2020-12-09 18:01:04 +00:00
Alexander Alekhin
b3937288e5
cmake: update MKL library searching
...
- allow to specify MKL_LIBRARIES through command-line
2020-12-09 16:36:15 +00:00
Alexander Alekhin
7fa9efbfd8
cmake: fix handling of wrappers dependencies
2020-12-08 19:10:04 +00:00
Alexander Alekhin
c6e60f06eb
Merge pull request #19019 from alalek:cmake_avoid_excessive_trace_dump
2020-12-07 20:40:56 +00:00
Alexander Alekhin
6bfb0dda85
cmake: avoid duplication of -Winit-self flag
2020-12-05 20:18:02 +00:00
Alexander Alekhin
8ae1552a5b
cmake: avoid excessive output from cmake --trace/--trace-expand
...
- `cmake . --trace-expand -DCMAKE_TRACE_MODE=1`
2020-12-05 13:29:43 +00:00
Alexander Alekhin
e371592f75
Merge pull request #18965 from alalek:cmake_gen_js_code
2020-12-03 18:10:30 +00:00
Alexander Alekhin
84a3654371
Merge pull request #19000 from alalek:cmake_fix_order_of_bindings_generators
2020-12-03 18:08:40 +00:00
Alexander Alekhin
7e5c4fe1cd
cmake(js): update js targets
...
- unconditional js bindings source code generation
- use common name for tests: opencv_test_js
2020-12-03 14:18:54 +00:00
Alexander Alekhin
b31ce408ae
cmake: fix processing order of <wrapper>_bindings_generator
...
- ensure that wrapped modules are already processed
2020-12-03 13:01:46 +00:00
Alexander Alekhin
c42d47d94a
cmake: clean cached INTERNAL variable used for 3rdparty deps
2020-12-02 12:34:24 +00:00
Alexander Alekhin
387a76ba59
build: xcode 12 support, cmake fixes
2020-11-26 07:54:03 +00:00
Alexander Alekhin
ac418e999d
cmake: update condition for find_package(Eigen3 CONFIG)
2020-11-22 16:28:53 +00:00
Alexander Alekhin
c3e7a23da5
Merge pull request #18752 from alalek:dnn_defines_openvino_2021.1.0
2020-11-08 18:09:52 +00:00
catree
df7bf9a048
Fix typo in OpenCVFindOpenBLAS.cmake file.
2020-11-08 14:42:47 +01:00
Alexander Alekhin
bed5debca6
dnn: use OpenVINO 2021.1 defines
2020-11-07 17:27:33 +00:00
Alexander Alekhin
a6e15b2f57
cmake: prefer using Eigen configuration files
...
- for better compatibility with Ceres 2.0.0 CMake scripts
2020-11-05 17:01:23 +00:00
Alexander Alekhin
364702b1c9
cmake(3rdparty): use EXCLUDE_FROM_ALL
2020-10-28 11:56:12 +00:00
Alexander Alekhin
171fbf879f
cmake: fix typo in CUDA_GENERATION=Auto cache
2020-10-09 22:00:02 +00:00
Alexander Alekhin
691c655630
ippicv: install third-party-programs.txt file
2020-09-25 22:09:25 +00:00
Tomoaki Teshima
ac58b2f857
compute capability 8.6
...
- CC for RTX3090, RTX3080 and RTX3070
2020-09-25 22:33:55 +09:00
Maksim Shabunin
2dff2f36bf
Install: added prebuilt samples installation
2020-09-08 20:22:26 +03:00
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
2020-07-29 17:31:39 +09:00
Alexander Alekhin
435b6df989
dnn: use OpenVINO 2020.4 defines
...
original commit: 2813aa7eb9
2020-07-15 20:13:40 +00:00
Tomoaki Teshima
269b810601
re-enable automatic CC detection on Jetson
...
* treat both CMAKE_C_COMPILER and c_compiler_realpath as candidate
2020-07-12 21:22:12 +09:00
Alexander Alekhin
e0f9eac521
cmake: backport CUDA scripts
2020-07-08 07:33:54 +00:00
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
2020-07-06 22:58:17 +00:00
Alexander Alekhin
5a15369d4d
Merge pull request #17729 from modeste2015:3.4
2020-07-04 17:17:57 +00:00
Alexander Alekhin
56b5a7d977
cmake: fix ENABLE_PROFILING
2020-07-03 19:31:41 +00:00
Heritier Kinke
cb3a098b25
forget to look in sub folder of include/openblas
2020-07-02 03:33:07 +02:00
Tomoaki Teshima
95ac650af6
make the fail safe path actually safe
...
* use only supported CC in the list
* workaround of #17526
2020-06-21 07:20:47 +09:00
Tomoaki Teshima
52844614c4
add Ampere CC
...
* Ampere has CC 8.0
* Arm64 server support has been added in CUDA 11 (only V100 for now)
2020-06-19 20:46:18 +09:00
Alexander Alekhin
6bd87e8146
Merge pull request #17571 from tomoaki0705:fixAutomaticCC
2020-06-18 07:39:14 +00:00
Tomoaki Teshima
1cba763189
fix build error of automatic CC detection
2020-06-17 22:02:51 +09:00
Alexander Alekhin
d01cbe9320
cudacodec(build): fix detection in CMake, cleanup duplicate includes
2020-06-17 09:09:40 +00:00
Alexander Alekhin
d321a34f7c
Merge pull request #17527 from tomoaki0705:detectCuvidHeader
2020-06-14 11:08:16 +00:00