Tensors and Dynamic neural networks in Python with strong GPU acceleration
Find a file
Yangqing Jia 73ed0d5ced Modernizing the gflags dependency in cmake.
Summary:
Historically, for interface dependent libraries (glog, gflags and protobuf), exposing them in Caffe2Config.cmake is usually difficult.

New versions of glog and gflags ship with new-style cmake targets, so one does not need to use variables. New-style targets also make it easier for people to depend on them in installed config files.

This diff modernizes the gflags library, and still provides a fallback path if the installed gflags does not have cmake config files coming with it.

It does change one behavior of the build process though - when one specifies -DUSE_GFLAGS=ON but gflags cannot be found, the old script automatically turns it off but the new script crashes, forcing the user to specify USE_GFLAGS=OFF.
Closes https://github.com/caffe2/caffe2/pull/1819

Differential Revision: D6826604

Pulled By: Yangqing

fbshipit-source-id: 210f3926f291c8bfeb24eb9671e5adfcbf8cf7fe
2018-01-27 19:31:14 -08:00
.github Add placeholders for issues/pull requests 2017-12-11 14:35:25 -08:00
.jenkins Semi-automatically generate scripts out of our tutorials 2018-01-19 22:36:47 -08:00
.travis Run build_android.sh in Jenkins 2017-11-21 15:53:38 -08:00
caffe/proto Revert D6817719: [caffe2][PR] Better support for windows 2018-01-26 06:08:49 -08:00
caffe2 Breakdown Dispatcher 2018-01-26 17:47:54 -08:00
cmake Modernizing the gflags dependency in cmake. 2018-01-27 19:31:14 -08:00
conda Assorted small change to conda scripts 2018-01-26 09:32:36 -08:00
docker Assorted small change to conda scripts 2018-01-26 09:32:36 -08:00
docs Use case insensitive names for Doxygen docs. 2018-01-25 14:33:18 -08:00
modules Moved RoIAlign to OSS. 2018-01-24 13:05:27 -08:00
scripts Modernizing the gflags dependency in cmake. 2018-01-27 19:31:14 -08:00
third_party Revert D6817719: [caffe2][PR] Better support for windows 2018-01-26 06:08:49 -08:00
.gitattributes Fix linguist detection with gitattribute overrides 2017-10-23 17:03:07 -07:00
.gitignore Misc Windows lint 2017-12-23 20:07:27 -08:00
.gitmodules Adding zstd to build 2017-11-13 22:18:44 -08:00
.travis.yml disable travis webhook as we are moving to jenkins as CI 2018-01-02 14:42:15 -08:00
appveyor.yml Fix a few typos and grammars in comment 2017-06-14 18:22:39 -07:00
CMakeLists.txt Modernizing the gflags dependency in cmake. 2018-01-27 19:31:14 -08:00
LICENSE Re-license to Apache 2017-09-28 16:22:00 -07:00
Makefile Fix python support problems caused by building script errors. 2017-04-24 17:17:21 -07:00
NOTICE Re-license to Apache 2017-09-28 16:22:00 -07:00
README.md Remove request for proposal link from README.md 2018-01-04 09:11:05 -08:00
release-notes.md launch updates (#309) 2017-04-19 11:40:51 -07:00
setup.py OSError will be raised in setup.py if "git" is not installed 2018-01-22 14:04:10 -08:00
VERSION_NUMBER Add setup.py 2017-11-17 12:22:52 -08:00

Caffe2

License Jenkins Build Status Appveyor Build Status

Caffe2 is a lightweight, modular, and scalable deep learning framework. Building on the original Caffe, Caffe2 is designed with expression, speed, and modularity in mind.

Questions and Feedback

Please use Github issues (https://github.com/caffe2/caffe2/issues) to ask questions, report bugs, and request new features.

Please participate in our survey (https://www.surveymonkey.com/r/caffe2). We will send you information about new releases and special developer events/webinars.

License

Caffe2 is released under the Apache 2.0 license. See the NOTICE file for details.

Further Resources on Caffe2.ai