lhelontra / tensorflow-on-arm

TensorFlow for Arm
MIT License
1.05k stars 274 forks source link

Allow local toolchains without download URL #92

Closed adrianghc closed 4 years ago

adrianghc commented 4 years ago

People may want to build TensorFlow with a local toolchain that has no download URL. This pull request enables such scenarios by skipping the toolchain download when $CROSSTOOL_URL is empty.

In addition, this pull request enables scenarios where one works with a toolchain that is structured so that a /usr/include hierarchy for the headers is inside some other directory (configurable as $CROSSTOOL_ROOT) - not inside the absolute path /usr/include. If $CROSSTOOL_ROOT is left empty/unconfigured by a configuration, everything shall work as it did before this pull request.

lhelontra commented 4 years ago

Thanks!