Closed DuncanMcBain closed 6 years ago
Trying this out without wanting to crosscompile I get the following:
ERROR: no such package '@local_config_sycl//crosstool': key "BITCODE_TARGET" not found in dictionary
Can you set a default value? This needs to be super easy to use (or at least not harder than the current build commands).
Also seeing
ERROR: /tmp/bazel/external/com_google_absl/absl/base/BUILD.bazel:129:1: C++ compilation of rule '@com_google_absl//absl/base:base' failed (Exit 1)
src/main/tools/process-wrapper-legacy.cc:58: "execvp(/usr/local/computecpp/bin/compute, ...)": No such file or directory
Instructions have not yet been published, I will get that done so folks can try it out (unfortunately it's not quite so easy as no-configure-go, yet).
These patches add support for crosscompiling TensorFlow with SYCL enabled. It replaces the cross-compile gcc and g++ with compute++ in sycl-driver mode, which means that the computecpp.tpl script is no longer needed. Full instructions on how to use this will be released soon.