mirror of
https://github.com/zebrajr/pytorch.git
synced 2025-12-07 12:21:27 +01:00
Summary: This is needed to allow cross compiling to work There are some `try_run` statements in CMake files used for building pytorch and dependencies. Since we are cross compiling, there's no way to run the compiled executables to get the output for `try_run` function. CMake provides a solution to this by requiring the user to manually provide the exitcode and the output of the executable which should be given by `*EXITCODE` and `*EXITCODE__TRYRUN_OUTPUT` respectively. Pull Request resolved: https://github.com/pytorch/pytorch/pull/49646 Reviewed By: heitorschueroff Differential Revision: D29960301 Pulled By: malfet fbshipit-source-id: b10ab9c182d1220f7e1911f922e7db261d521145 |
||
|---|---|---|
| .. | ||
| __init__.py | ||
| cmake.py | ||
| env.py | ||
| gen_version_header.py | ||
| gen.py | ||
| generate_code.py | ||
| numpy_.py | ||