Move function schema parser to ATen/core build target (#19282)
authorSebastian Messmer <messmer@fb.com>
Thu, 18 Apr 2019 07:57:44 +0000 (00:57 -0700)
committerFacebook Github Bot <facebook-github-bot@users.noreply.github.com>
Thu, 18 Apr 2019 08:03:37 +0000 (01:03 -0700)
commit41dc54e291934d1fccd8dbd9fd7ad5293c9397ff
treecc403f44dc279383ce6b322ac204982cfa25495e
parent789c438d868937810b8ffb00271de11d9f598b89
Move function schema parser to ATen/core build target (#19282)

Summary:
Pull Request resolved: https://github.com/pytorch/pytorch/pull/19282

This is largely a hack because we need to use the function schema parser from ATen/core
but aren't clear yet on how the final software architecture should look like.

- Add function schema parser files from jit to ATen/core build target.
- Also move ATen/core build target one directory up to allow this.

We only change the build targets and don't move the files yet because this is likely
not the final build set up and we want to avoid repeated interruptions
for other developers. cc zdevito

Reviewed By: dzhulgakov

Differential Revision: D14931922

fbshipit-source-id: 26462e2e7aec9e0964706138edd3d87a83b964e3
aten/src/ATen/core/CMakeLists.txt
tools/build_variables.py
torch/CMakeLists.txt
torch/csrc/jit/script/function_schema_parser.cpp
torch/csrc/jit/script/function_schema_parser.h
torch/csrc/jit/script/lexer.cpp
torch/csrc/jit/script/lexer.h
torch/csrc/jit/script/schema_type_parser.h