Commit Graph

23 Commits

Author SHA1 Message Date
Stefano Sinigardi 661e8ab26b add nasm dependency 2021-01-29 17:39:25 +01:00
Stefano Sinigardi 05bda64c92 Update vcpkg refs to OpenCV 4.5.1 2021-01-29 08:30:06 +01:00
Stefano Sinigardi 5f84f90909 revert to double backslash 2021-01-24 17:07:10 +01:00
Stefano Sinigardi e2a4253bb0 add cuda to path to github ci; improve diagnostic messages 2021-01-24 15:31:13 +01:00
Stefano Sinigardi dcc38312fe trying with forward slashes 2021-01-24 12:40:59 +01:00
Stefano Sinigardi da15b141f0 trying to fix cuda path 2021-01-23 22:03:43 +01:00
Stefano Sinigardi 63caceab0d add manual trigger for github actions 2021-01-23 17:04:23 +01:00
Stefano Sinigardi 1735d57ad1 rework integrated libs logic 2021-01-23 16:06:36 +01:00
Stefano Sinigardi 4de12a1e7e default on opencv4.5 on vcpkg 2021-01-23 09:02:22 +01:00
Stefano Sinigardi 00d578e327
update GitHub actions (#7095)
* update to run-vcpkg@v6

* bump to cmake 3.18

* use newer cuda syntax, fail if cuda enabled but not found

* update win build script

* improve travis with non-cuda-enabled builds

* improve windows building process
2021-01-21 17:36:00 +01:00
Ievgen Popovych f57636ad65
CMake CUDA configuration improvements (#7164)
* CMake: Fail generation if CUDA was requested but not found

..instead of resorting to CPU build silently.

This makes builds predictable and
removes the confusion of `ENABLE_CUDA` option being merely a suggestion.

Signed-off-by: Ievgen Popovych <ievgenp@seetrue.ai>

* CMake: Be more precise with ZED SDK messages

CMake generation with `ENABLE_CUDA=OFF` and `ENABLE_ZED_CAMERA=OFF`
would spit out "ZED SDK not enabled, since it requires CUDA" messages
even though ZED SDK was explicitly disabled.
Fix this by being a bit more precise with messages.

Signed-off-by: Ievgen Popovych <ievgenp@seetrue.ai>

* CMake: Honor CUDNN_ENABLE option

Setting CUDNN_ENABLE to OFF would not disable CUDNN support if
CUDNN libraries are available.

Fix this behavior by only looking for CUDNN if it was requested (CUDNN_ENABLE)
and predicate actual settings on CUDNN_FOUND.

Signed-off-by: Ievgen Popovych <ievgenp@seetrue.ai>

* github: actions: Explicitly set CUDA state in CI
2021-01-21 17:31:21 +01:00
Stefano Sinigardi 8cddef3466 upgrade vcpkg commit ref 2020-08-08 15:35:57 +02:00
Stefano Sinigardi 040d900350 merge from master 2020-06-14 23:37:33 +02:00
Juuso Alasuutari 27c49e460d
Explicitly install CUDA version 10.2 in win-{vcpkg,intlibs}-cuda actions (#5958)
Signed-off-by: Juuso Alasuutari <juuso.alasuutari@gmail.com>
2020-06-14 23:30:20 +02:00
Stefano Sinigardi 7e5c3ec24b fix vcpkg freeze 2020-05-29 18:03:26 +02:00
Stefano Sinigardi 861192df19 shorten github actions names 2020-05-03 16:36:05 +02:00
Stefano Sinigardi 551e57dc8b fix linux make and add windows cygwin on github actions 2020-05-01 16:00:36 +02:00
Stefano Sinigardi ac7436dccd ported build configs from circleCI 2020-05-01 09:29:03 +02:00
Stefano Sinigardi 24ad413a79 add mingw and cuda on github actions, restored cuda 10.2 on appveyor as a test 2020-05-01 09:28:51 +02:00
Stefano Sinigardi f2786ba19d expand github action ci coverage, leave only cygwin on appveyor. Next step will be cuda on github actions 2020-04-30 20:36:36 +02:00
Stefano Sinigardi 72b3712df8 force release mode 2020-04-30 19:55:55 +02:00
Stefano Sinigardi a993060d09 remove unnecessary system dependencies on github actions 2020-04-30 18:54:25 +02:00
Stefano Sinigardi 234218b961 add GitHub Actions 2020-04-30 16:47:56 +02:00