<html>
  <head>
    <meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
  </head>
  <body>
    <p><font size="-1">Just noticed a clang-tblgen after a compile of
        llvm and clang using the clang-llvm documented method.<br>
      </font></p>
    <p><font size="-1">/home/nnelson/Documents/llvm-project/build/bin/clang-tblgen</font></p>
    <p><font size="-1">It is apparently not copied to /usr/bin/local
        during the install after a local build, but if you have that
        file, you could manually copy it and it might be found for your
        purpose.<br>
      </font></p>
    <p><font size="-1">If you do not have that file, we may need to come
        up with a different plan. The first one that comes to mind is to
        build clang-llvm using the documented method and then do the
        copy and continue with what you are doing. The second one, in a
        stretch, might be to get the file from a download, depending on
        the hardware you are using. There is a reasonably good chance I
        could copy the file I have here to you from this x86_64.<br>
      </font></p>
    <p><font size="-1">Neil Nelson<br>
      </font></p>
    <p><font size="-1">On 7/9/20 9:48 AM, Jakov Smolic via cfe-dev
        wrote:</font><br>
    </p>
    <blockquote type="cite"
cite="mid:CAJRasQWqtGp7N09ca8COauWGXp2x+cSh4dD8PK9vhdmoPGpgog@mail.gmail.com">
      <blockquote type="cite">
        <pre class="moz-quote-pre" wrap="">On Ubuntu 20.04 I have

/usr/bin/llvm-tblgen
/usr/bin/llvm-tblgen-10
/usr/lib/llvm-10/bin/llvm-tblgen
/usr/local/bin/llvm-tblgen
</pre>
      </blockquote>
      <pre class="moz-quote-pre" wrap="">
Yes, I have those binaries as well. `llvm-tblgen` is, unlike
`clang-tblgen`, installed as part of the llvm package in Gentoo. I can
successfully cross-compile llvm. Likewise as clang, llvm requires the
`tblgen` binary for cross-compiling, but it's not an issue as it is
installed along with other llvm components.

</pre>
      <blockquote type="cite">
        <pre class="moz-quote-pre" wrap="">The first three were installed from the distribution. The last was
compiled from the llvm-project at github. I do not have a
clang- tblgen.

Is your sequence something like this?
</pre>
      </blockquote>
      <pre class="moz-quote-pre" wrap="">
</pre>
      <blockquote type="cite">
        <pre class="moz-quote-pre" wrap=""><a class="moz-txt-link-freetext" href="https://github.com/llvm/llvm-project">https://github.com/llvm/llvm-project</a>
git clone <a class="moz-txt-link-freetext" href="https://github.com/llvm/llvm-project.git">https://github.com/llvm/llvm-project.git</a>
cd llvm-project

And then what do you do?
</pre>
      </blockquote>
      <pre class="moz-quote-pre" wrap="">
I did not perform it directly like that, rather as part of the
packaging, but Gentoo, being source-based distribution, downaloads the
source and compiles the components from there, and sets some CMake
options [1].

Regards,
Jakov Smolic


[1] <a class="moz-txt-link-freetext" href="https://gitweb.gentoo.org/repo/gentoo.git/tree/sys-devel/llvm/llvm-10.0.0.ebuild#n249">https://gitweb.gentoo.org/repo/gentoo.git/tree/sys-devel/llvm/llvm-10.0.0.ebuild#n249</a>
_______________________________________________
cfe-dev mailing list
<a class="moz-txt-link-abbreviated" href="mailto:cfe-dev@lists.llvm.org">cfe-dev@lists.llvm.org</a>
<a class="moz-txt-link-freetext" href="https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-dev">https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-dev</a>
</pre>
    </blockquote>
  </body>
</html>