Fix CMakeLists.txt for Int8 python bindings (#15047)
authorTerryTsao <xxc142@case.edu>
Tue, 11 Dec 2018 18:41:37 +0000 (10:41 -0800)
committerFacebook Github Bot <facebook-github-bot@users.noreply.github.com>
Tue, 11 Dec 2018 18:48:47 +0000 (10:48 -0800)
commitc2a754c58b0ff15abe4d16441118f88ceb2352c6
treee3c35c5a1fb7d4ff3d52a15aeaca57dd763392b2
parent687834dcb44fb691863e974c450e1dbf472ebd2c
Fix CMakeLists.txt for Int8 python bindings (#15047)

Summary:
Currently in caffe2, one cannot properly fetch the content of Int8 blobs.

Upon digging the source code, it turns out that the relevant source code is not being compiled. Adding the source to CMakeLists.txt fixes this issue.

First time ever doing a pull request. Please let me know if there's any rule I should follow. Thanks.
Pull Request resolved: https://github.com/pytorch/pytorch/pull/15047

Differential Revision: D13417583

Pulled By: bddppq

fbshipit-source-id: dd39575971a3012635edbf97a045d80e4b62a8eb
caffe2/python/CMakeLists.txt