Commit Graph

30 Commits

Author SHA1 Message Date
Stefano Sinigardi ed59050950
fix errors in CI (#8753)
* update build scripts

* add pkg-config on osx

* re-enable building with older opencv versions
2023-03-03 18:24:13 +01:00
Stefano Sinigardi 9c26b291fa
fix python main module to be compiled with recent build scripts (#7876)
* fix python main module to be compiled with recent build scripts

* fixes for posix systems
2021-07-09 14:50:38 +03:00
Stefano Sinigardi 8c85eb7784
[build.ps1/setup.sh] do not export vcpkg_root anymore, add setup scripts to CI (#7751)
* [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>
2021-06-04 15:02:07 +03:00
Stefano Sinigardi ac8ebca063
[build.ps1] download ninja automatically if missing + other small updates (#7721)
* self download ninja if not found on system and not requested to opt-out

* add a flag to clean up vcpkg local binary cache to force restart from scratch

* really delete if requested
2021-05-19 23:46:20 +03:00
Stefano Sinigardi 552bddc140 move to ubuntu 20.04 on github actions 2021-02-21 18:00:59 +01:00
Stefano Sinigardi b9d296e308 improve manifest mode 2021-02-20 09:28:07 +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
Stefano Sinigardi 9baf9861d7 restore shared lib as default 2019-08-01 07:47:38 +02:00
Stefano Sinigardi ae0306e851 option to build project using cpp compiler if c not working/available 2019-07-25 09:47:27 +02:00
Stefano Sinigardi 6daa15b84f add a message when package is found 2019-07-18 16:42:34 +02:00
Stefano Sinigardi b9e7cd3d35 introduce functions to detect build features 2019-07-18 10:48:19 +02:00
Stefano Sinigardi 52dabbbd02 move towards using only modern cmake - part 2 2019-05-13 17:23:02 +02:00
Stefano Sinigardi 73cc42c96d improve CI compatibility with updated opencv@2 and opencv@3 on mac, fix variable not expanded for vcpkg 2019-04-23 15:29:53 +02:00
Stefano Sinigardi 6497ba1bfd [dark.lib] set correct function visibility when building shared libs also for non-msvc compilers 2019-04-18 16:16:55 +02:00
Stefano Sinigardi 77917d02fb [headers] move .h files to our own subfolder to avoid clashes with other libraries 2019-04-17 14:17:13 +02:00
Stefano Sinigardi da74882fe1 cleanup in preparation to opencv-4 work 2019-03-28 17:54:27 +01:00
Stefano Sinigardi 2c8ff8db0d create cmake targets for proper lib export 2019-03-05 18:34:53 +01:00
Stefano Sinigardi 6e7c7976d7 move as many defs as possible away from darknet.h 2019-02-18 11:33:25 +01:00
Stefano Sinigardi b3579380dc improve compatibility with c++ compilers, prepare for CMake 2019-02-15 17:27:12 +01:00
Tino Hager b2c03b1615 fix build error, add c# wrapper class 2018-06-24 22:45:07 +02:00
Howard Stark 892860e84e
Added CPU Optical Flow 2018-02-18 22:04:01 -08:00
Joseph Redmon 8f1b4e0962 updates and things 2016-09-01 16:48:41 -07:00
Joseph Redmon d572dc7e66 inet label script 2015-06-12 22:25:18 -07:00
Joseph Redmon fb9e0fe336 Big changes to detection 2015-03-04 14:56:38 -08:00
Joseph Redmon c592fc7491 New name: Darknet 2015-01-27 13:52:37 -08:00
Joseph Redmon b715671988 Works well on MNIST 2013-12-05 13:17:16 -08:00
Joseph Redmon 2db9fbef2b Parsing, image loading, lots of stuff 2013-11-13 10:50:38 -08:00
Joseph Redmon d7286c2732 Loading may or may not work. But probably. 2013-11-06 16:09:41 -08:00
Joseph Redmon 9b1774bd39 Connected layers work forward and backward! 2013-11-06 10:37:37 -08:00
Joseph Redmon 41bcfac86f First Commit! 2013-11-04 11:11:01 -08:00