title: What are the steps to build Tensorflow with a custom oneDNN library implementation?
body: <p>I am using a custom oneDNN library implementation which I need Tensorflow (v2.4.0) to build against.
  However, I noticed that there are no build options to use a system-provided OneDNN libary when building Tensorflow.
  I would like to know what are the steps to support a Tensorflow build that uses a oneDNN library provided by the system.</p>
  <p>Some specifics...</p>
  <ol>
  <li>The oneDNN library version is 1.6.4 and is already installed in the system (Linux).
  This version corresponds to the one Tensforflow uses when compiling with the &quot;--config=mkl_opensource_only&quot; Bazel flag.</li>
  <li>I have access to the library source code, but it would be best to use the compiled library.</li>
  <li>The target architecture is RISC-V and the OS is Linux.</li>
  </ol>