{"action":"closed","number":340,"pull_request":{"url":"https://api.github.com/repos/Kitware/fletch/pulls/340","id":172118076,"html_url":"https://github.com/Kitware/fletch/pull/340","diff_url":"https://github.com/Kitware/fletch/pull/340.diff","patch_url":"https://github.com/Kitware/fletch/pull/340.patch","issue_url":"https://api.github.com/repos/Kitware/fletch/issues/340","number":340,"state":"closed","locked":false,"title":"[WIP] Add caffe2","user":{"login":"Erotemic","id":3186211,"avatar_url":"https://avatars3.githubusercontent.com/u/3186211?v=4","gravatar_id":"","url":"https://api.github.com/users/Erotemic","html_url":"https://github.com/Erotemic","followers_url":"https://api.github.com/users/Erotemic/followers","following_url":"https://api.github.com/users/Erotemic/following{/other_user}","gists_url":"https://api.github.com/users/Erotemic/gists{/gist_id}","starred_url":"https://api.github.com/users/Erotemic/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Erotemic/subscriptions","organizations_url":"https://api.github.com/users/Erotemic/orgs","repos_url":"https://api.github.com/users/Erotemic/repos","events_url":"https://api.github.com/users/Erotemic/events{/privacy}","received_events_url":"https://api.github.com/users/Erotemic/received_events","type":"User","site_admin":false},"body":"Working on getting Caffe2 to build with fletch\r\n\r\nCurrently I think this is in a working state. It needs some cleanup and probably a little refactoring. Also, my other PRs should be merged before this one. \r\n\r\n\r\nTested with the following settings:\r\n\r\n```\r\n    # splitting out dependencies for easier visibility\r\n    export OPENCV_DEPENDS=\" \\\r\n        -D OpenCV_SELECT_VERSION=3.4.0 \\\r\n        -D fletch_ENABLE_OpenCV_CUDA:BOOL=False \\\r\n        -D fletch_ENABLE_ZLib:BOOL=True \\\r\n        -D fletch_ENABLE_VXL:BOOL=True \\\r\n        -D fletch_ENABLE_PNG:BOOL=True \\\r\n        -D fletch_ENABLE_libtiff:BOOL=True \\\r\n        -D fletch_ENABLE_libjson:BOOL=True \\\r\n        -D fletch_ENABLE_libjpeg-turbo:BOOL=True \\\r\n        -D fletch_ENABLE_libxml2:BOOL=True\"\r\n\r\n    export CAFFE2_DEPENDS=\" \\\r\n        -D fletch_ENABLE_CUB:BOOL=True \\\r\n        -D fletch_ENABLE_Caffe2:BOOL=True \\\r\n        -D fletch_ENABLE_Eigen:BOOL=True \\\r\n        -D fletch_ENABLE_Protobuf:BOOL=True \\\r\n        -D Protobuf_SELECT_VERSION=3.4.1 \\\r\n        -D fletch_ENABLE_OpenBLAS:BOOL=True \\\r\n        -D fletch_ENABLE_OpenCV:BOOL=True \\\r\n        -D fletch_ENABLE_Snappy:BOOL=True \\\r\n        -D fletch_ENABLE_SuiteSparse:BOOL=True \\\r\n        -D fletch_ENABLE_LevelDB:BOOL=True \\\r\n        -D fletch_ENABLE_LMDB:BOOL=True \\\r\n        -D fletch_ENABLE_GLog:BOOL=True \\\r\n        -D fletch_ENABLE_GFlags:BOOL=True \\\r\n        -D fletch_ENABLE_GTest:BOOL=True \\\r\n        -D fletch_ENABLE_pybind11:BOOL=True \\\r\n        -D fletch_ENABLE_FFmpeg:BOOL=True \\\r\n        -D FFmpeg_SELECT_VERSION=3.3.3 \\\r\n        -D Boost_SELECT_VERSION=1.65.1 \\\r\n        -D fletch_ENABLE_Boost:BOOL=True\"\r\n\r\n    export PYTHON_DEPENDS=\" \\\r\n        -D fletch_BUILD_WITH_PYTHON:BOOL=True \\\r\n        -D fletch_PYTHON_MAJOR_VERSION=3\"\r\n    echo \"PYTHON_DEPENDS = $PYTHON_DEPENDS\"\r\n\r\n    export OTHER_DEPENDS=\" \\\r\n        -D fletch_ENABLE_VXL:BOOL=False \\\r\n        -D fletch_BUILD_WITH_CUDA:BOOL=True \\\r\n        -D fletch_BUILD_WITH_CUDNN:BOOL=True\"\r\n\r\n    FLETCH_CMAKE_ARGS=\"$OTHER_DEPENDS $PYTHON_DEPENDS $OPENCV_DEPENDS $CAFFE2_DEPENDS\"\r\n    \r\n    # Setup a build directory and build fletch\r\n    FLETCH_BUILD=$HOME/code/fletch/build-caffe2\r\n    mkdir -p $FLETCH_BUILD\r\n    cd $FLETCH_BUILD\r\n\r\n    cmake -G \"Unix Makefiles\" $FLETCH_CMAKE_ARGS ..\r\n\r\n    NCPUS=$(grep -c ^processor /proc/cpuinfo)\r\n    make -j$NCPUS\r\n``\r\n","created_at":"2018-03-01T01:07:57Z","updated_at":"2018-04-09T15:28:24Z","closed_at":"2018-04-09T15:28:23Z","merged_at":null,"merge_commit_sha":"e99c55312daa1b6919512b5d1d348ae90ea9e2d3","assignee":null,"assignees":[],"requested_reviewers":[],"requested_teams":[],"labels":[],"milestone":null,"commits_url":"https://api.github.com/repos/Kitware/fletch/pulls/340/commits","review_comments_url":"https://api.github.com/repos/Kitware/fletch/pulls/340/comments","review_comment_url":"https://api.github.com/repos/Kitware/fletch/pulls/comments{/number}","comments_url":"https://api.github.com/repos/Kitware/fletch/issues/340/comments","statuses_url":"https://api.github.com/repos/Kitware/fletch/statuses/cdbd06bb814f69bb9d55a1a79544af5b5b202035","head":{"label":"Erotemic:dev/add_caffe2","ref":"dev/add_caffe2","sha":"cdbd06bb814f69bb9d55a1a79544af5b5b202035","user":{"login":"Erotemic","id":3186211,"avatar_url":"https://avatars3.githubusercontent.com/u/3186211?v=4","gravatar_id":"","url":"https://api.github.com/users/Erotemic","html_url":"https://github.com/Erotemic","followers_url":"https://api.github.com/users/Erotemic/followers","following_url":"https://api.github.com/users/Erotemic/following{/other_user}","gists_url":"https://api.github.com/users/Erotemic/gists{/gist_id}","starred_url":"https://api.github.com/users/Erotemic/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Erotemic/subscriptions","organizations_url":"https://api.github.com/users/Erotemic/orgs","repos_url":"https://api.github.com/users/Erotemic/repos","events_url":"https://api.github.com/users/Erotemic/events{/privacy}","received_events_url":"https://api.github.com/users/Erotemic/received_events","type":"User","site_admin":false},"repo":{"id":99159658,"name":"fletch","full_name":"Erotemic/fletch","owner":{"login":"Erotemic","id":3186211,"avatar_url":"https://avatars3.githubusercontent.com/u/3186211?v=4","gravatar_id":"","url":"https://api.github.com/users/Erotemic","html_url":"https://github.com/Erotemic","followers_url":"https://api.github.com/users/Erotemic/followers","following_url":"https://api.github.com/users/Erotemic/following{/other_user}","gists_url":"https://api.github.com/users/Erotemic/gists{/gist_id}","starred_url":"https://api.github.com/users/Erotemic/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Erotemic/subscriptions","organizations_url":"https://api.github.com/users/Erotemic/orgs","repos_url":"https://api.github.com/users/Erotemic/repos","events_url":"https://api.github.com/users/Erotemic/events{/privacy}","received_events_url":"https://api.github.com/users/Erotemic/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/Erotemic/fletch","description":null,"fork":true,"url":"https://api.github.com/repos/Erotemic/fletch","forks_url":"https://api.github.com/repos/Erotemic/fletch/forks","keys_url":"https://api.github.com/repos/Erotemic/fletch/keys{/key_id}","collaborators_url":"https://api.github.com/repos/Erotemic/fletch/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/Erotemic/fletch/teams","hooks_url":"https://api.github.com/repos/Erotemic/fletch/hooks","issue_events_url":"https://api.github.com/repos/Erotemic/fletch/issues/events{/number}","events_url":"https://api.github.com/repos/Erotemic/fletch/events","assignees_url":"https://api.github.com/repos/Erotemic/fletch/assignees{/user}","branches_url":"https://api.github.com/repos/Erotemic/fletch/branches{/branch}","tags_url":"https://api.github.com/repos/Erotemic/fletch/tags","blobs_url":"https://api.github.com/repos/Erotemic/fletch/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/Erotemic/fletch/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/Erotemic/fletch/git/refs{/sha}","trees_url":"https://api.github.com/repos/Erotemic/fletch/git/trees{/sha}","statuses_url":"https://api.github.com/repos/Erotemic/fletch/statuses/{sha}","languages_url":"https://api.github.com/repos/Erotemic/fletch/languages","stargazers_url":"https://api.github.com/repos/Erotemic/fletch/stargazers","contributors_url":"https://api.github.com/repos/Erotemic/fletch/contributors","subscribers_url":"https://api.github.com/repos/Erotemic/fletch/subscribers","subscription_url":"https://api.github.com/repos/Erotemic/fletch/subscription","commits_url":"https://api.github.com/repos/Erotemic/fletch/commits{/sha}","git_commits_url":"https://api.github.com/repos/Erotemic/fletch/git/commits{/sha}","comments_url":"https://api.github.com/repos/Erotemic/fletch/comments{/number}","issue_comment_url":"https://api.github.com/repos/Erotemic/fletch/issues/comments{/number}","contents_url":"https://api.github.com/repos/Erotemic/fletch/contents/{+path}","compare_url":"https://api.github.com/repos/Erotemic/fletch/compare/{base}...{head}","merges_url":"https://api.github.com/repos/Erotemic/fletch/merges","archive_url":"https://api.github.com/repos/Erotemic/fletch/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/Erotemic/fletch/downloads","issues_url":"https://api.github.com/repos/Erotemic/fletch/issues{/number}","pulls_url":"https://api.github.com/repos/Erotemic/fletch/pulls{/number}","milestones_url":"https://api.github.com/repos/Erotemic/fletch/milestones{/number}","notifications_url":"https://api.github.com/repos/Erotemic/fletch/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/Erotemic/fletch/labels{/name}","releases_url":"https://api.github.com/repos/Erotemic/fletch/releases{/id}","deployments_url":"https://api.github.com/repos/Erotemic/fletch/deployments","created_at":"2017-08-02T20:49:08Z","updated_at":"2017-08-02T20:49:11Z","pushed_at":"2018-03-21T22:11:52Z","git_url":"git://github.com/Erotemic/fletch.git","ssh_url":"git@github.com:Erotemic/fletch.git","clone_url":"https://github.com/Erotemic/fletch.git","svn_url":"https://github.com/Erotemic/fletch","homepage":null,"size":2507,"stargazers_count":0,"watchers_count":0,"language":"C++","has_issues":false,"has_projects":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":0,"mirror_url":null,"archived":false,"open_issues_count":0,"license":null,"forks":0,"open_issues":0,"watchers":0,"default_branch":"master"}},"base":{"label":"Kitware:master","ref":"master","sha":"da5f3064f3e1b6d19e5dd116939f0cb6734e766b","user":{"login":"Kitware","id":87549,"avatar_url":"https://avatars3.githubusercontent.com/u/87549?v=4","gravatar_id":"","url":"https://api.github.com/users/Kitware","html_url":"https://github.com/Kitware","followers_url":"https://api.github.com/users/Kitware/followers","following_url":"https://api.github.com/users/Kitware/following{/other_user}","gists_url":"https://api.github.com/users/Kitware/gists{/gist_id}","starred_url":"https://api.github.com/users/Kitware/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Kitware/subscriptions","organizations_url":"https://api.github.com/users/Kitware/orgs","repos_url":"https://api.github.com/users/Kitware/repos","events_url":"https://api.github.com/users/Kitware/events{/privacy}","received_events_url":"https://api.github.com/users/Kitware/received_events","type":"Organization","site_admin":false},"repo":{"id":30549625,"name":"fletch","full_name":"Kitware/fletch","owner":{"login":"Kitware","id":87549,"avatar_url":"https://avatars3.githubusercontent.com/u/87549?v=4","gravatar_id":"","url":"https://api.github.com/users/Kitware","html_url":"https://github.com/Kitware","followers_url":"https://api.github.com/users/Kitware/followers","following_url":"https://api.github.com/users/Kitware/following{/other_user}","gists_url":"https://api.github.com/users/Kitware/gists{/gist_id}","starred_url":"https://api.github.com/users/Kitware/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Kitware/subscriptions","organizations_url":"https://api.github.com/users/Kitware/orgs","repos_url":"https://api.github.com/users/Kitware/repos","events_url":"https://api.github.com/users/Kitware/events{/privacy}","received_events_url":"https://api.github.com/users/Kitware/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/Kitware/fletch","description":null,"fork":false,"url":"https://api.github.com/repos/Kitware/fletch","forks_url":"https://api.github.com/repos/Kitware/fletch/forks","keys_url":"https://api.github.com/repos/Kitware/fletch/keys{/key_id}","collaborators_url":"https://api.github.com/repos/Kitware/fletch/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/Kitware/fletch/teams","hooks_url":"https://api.github.com/repos/Kitware/fletch/hooks","issue_events_url":"https://api.github.com/repos/Kitware/fletch/issues/events{/number}","events_url":"https://api.github.com/repos/Kitware/fletch/events","assignees_url":"https://api.github.com/repos/Kitware/fletch/assignees{/user}","branches_url":"https://api.github.com/repos/Kitware/fletch/branches{/branch}","tags_url":"https://api.github.com/repos/Kitware/fletch/tags","blobs_url":"https://api.github.com/repos/Kitware/fletch/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/Kitware/fletch/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/Kitware/fletch/git/refs{/sha}","trees_url":"https://api.github.com/repos/Kitware/fletch/git/trees{/sha}","statuses_url":"https://api.github.com/repos/Kitware/fletch/statuses/{sha}","languages_url":"https://api.github.com/repos/Kitware/fletch/languages","stargazers_url":"https://api.github.com/repos/Kitware/fletch/stargazers","contributors_url":"https://api.github.com/repos/Kitware/fletch/contributors","subscribers_url":"https://api.github.com/repos/Kitware/fletch/subscribers","subscription_url":"https://api.github.com/repos/Kitware/fletch/subscription","commits_url":"https://api.github.com/repos/Kitware/fletch/commits{/sha}","git_commits_url":"https://api.github.com/repos/Kitware/fletch/git/commits{/sha}","comments_url":"https://api.github.com/repos/Kitware/fletch/comments{/number}","issue_comment_url":"https://api.github.com/repos/Kitware/fletch/issues/comments{/number}","contents_url":"https://api.github.com/repos/Kitware/fletch/contents/{+path}","compare_url":"https://api.github.com/repos/Kitware/fletch/compare/{base}...{head}","merges_url":"https://api.github.com/repos/Kitware/fletch/merges","archive_url":"https://api.github.com/repos/Kitware/fletch/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/Kitware/fletch/downloads","issues_url":"https://api.github.com/repos/Kitware/fletch/issues{/number}","pulls_url":"https://api.github.com/repos/Kitware/fletch/pulls{/number}","milestones_url":"https://api.github.com/repos/Kitware/fletch/milestones{/number}","notifications_url":"https://api.github.com/repos/Kitware/fletch/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/Kitware/fletch/labels{/name}","releases_url":"https://api.github.com/repos/Kitware/fletch/releases{/id}","deployments_url":"https://api.github.com/repos/Kitware/fletch/deployments","created_at":"2015-02-09T17:54:44Z","updated_at":"2018-04-02T17:43:12Z","pushed_at":"2018-04-02T17:43:08Z","git_url":"git://github.com/Kitware/fletch.git","ssh_url":"git@github.com:Kitware/fletch.git","clone_url":"https://github.com/Kitware/fletch.git","svn_url":"https://github.com/Kitware/fletch","homepage":null,"size":2543,"stargazers_count":19,"watchers_count":19,"language":"C++","has_issues":true,"has_projects":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":29,"mirror_url":null,"archived":false,"open_issues_count":45,"license":null,"forks":29,"open_issues":45,"watchers":19,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/Kitware/fletch/pulls/340"},"html":{"href":"https://github.com/Kitware/fletch/pull/340"},"issue":{"href":"https://api.github.com/repos/Kitware/fletch/issues/340"},"comments":{"href":"https://api.github.com/repos/Kitware/fletch/issues/340/comments"},"review_comments":{"href":"https://api.github.com/repos/Kitware/fletch/pulls/340/comments"},"review_comment":{"href":"https://api.github.com/repos/Kitware/fletch/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/Kitware/fletch/pulls/340/commits"},"statuses":{"href":"https://api.github.com/repos/Kitware/fletch/statuses/cdbd06bb814f69bb9d55a1a79544af5b5b202035"}},"author_association":"CONTRIBUTOR","merged":false,"mergeable":false,"rebaseable":false,"mergeable_state":"dirty","merged_by":null,"comments":1,"review_comments":0,"maintainer_can_modify":false,"commits":55,"additions":426,"deletions":46,"changed_files":16}}
{"actor":{"display_login":"Erotemic"}}