* re-enable opencv on osx
* enable all and all-major architecture flags for cuda
* update build script
* use proper path separator
* [windows-cuda] bump to 11.6.1
* [windows-cuda] some fixes from CI runs
* make deploy-cuda.ps1 work also when called from outside its folder
* bump to cuda 11.6 also on linux
* deploy custom cmake modules if requested by the user
* fix cmake module source path
* use proper clause for dll copy
* [build.ps1] do not export vcpkg_root anymore
* [README.md] add a build step related to Set-ExecutionPolicy on Windows
* use scope currentuser to avoid admin powershell
* simplify even more set-executionpolicy command order
* remove unnecessary decoration to shell commands to improve user experience with copy button
* write instructions to build using only cmake
* Update README.md
* add target install
* improve setup scripts for future tests
* improve setup.sh script for more tool installations and add command line flags handling
* add CI tests for setup scripts
* use nuget artifact cache to improve CI build times
* disable interactivity for build script when called from setup script, add kitware gpg key in CI
* enable cudnn in setup.sh
* add a workaround for missing nvidia drivers in CI
* setup CUDA env variables
* remove some very slow builds from travis and move them to github actions
* chmod sh scripts
* use deploy-cuda scripts also in PR pipelines
* install asm tools
* restore links missing for CI when using deploy-cuda.sh
* enable cudnn on ubuntu ci pipelines
* pass CUDA env variables
* add missing cuda install for opencv2 and opencv3 ci pipelines
* remove unnecessary steps
Co-authored-by: Alexey <AlexeyAB@users.noreply.github.com>
* [darknet] split pr/ci pipelines to use fast caching only when accessible
* restore original pipeline names
* restore original ccpp file name
* speed up scripts avoiding -wait flag
* restore fast cache in readonly
* clean up scripts removing references to github packages, which are often down/broken
* [nuget] use personal baget repo
* update cuda to 11.3 on windows
* add error messages during build to not have green badge when failed
* remove cygwin script, is untested now; use deploy-cuda.ps1 script also inside setup.ps1
* test for shared libs
* improve flag handling
* build so lib in ci
* clone vcpkg if not found
* fix
* improve clang handling
* bump vcpkg.json version
* gemm.c compatible with ARM
* remove unnecessary vcpkg.json field
* do not unnecessarily rebuild vcpkg in the CI build stage
* use alexeyab nuget cache
* enable self-removal of build folder
* add interactivity in build.ps1 if not opt-out
* spellcheck README
* fix another leftover spelling error
* also auto-update darknet if possible
* do not self-update darknet in CI
* 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
* 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