<feed xmlns='http://www.w3.org/2005/Atom'>
<title>linux/meta-clang.git/recipes-devtools/clang/llvm-common, branch master</title>
<subtitle>Mirror of github.com/kraj/meta-clang.git</subtitle>
<id>https://git.enea.com/cgit/linux/meta-clang.git/atom?h=master</id>
<link rel='self' href='https://git.enea.com/cgit/linux/meta-clang.git/atom?h=master'/>
<link rel='alternate' type='text/html' href='https://git.enea.com/cgit/linux/meta-clang.git/'/>
<updated>2021-02-18T23:05:19+00:00</updated>
<entry>
<title>clang: Merge llvm-common into clang</title>
<updated>2021-02-18T23:05:19+00:00</updated>
<author>
<name>Zoltán Böszörményi</name>
<email>zboszor@pr.hu</email>
</author>
<published>2021-02-18T09:29:49+00:00</published>
<link rel='alternate' type='text/html' href='https://git.enea.com/cgit/linux/meta-clang.git/commit/?id=d38888ea80965206c1d2eab9958db1ff980c56c4'/>
<id>urn:sha1:d38888ea80965206c1d2eab9958db1ff980c56c4</id>
<content type='text'>
Signed-off-by: Zoltán Böszörményi &lt;zboszor@pr.hu&gt;
</content>
</entry>
<entry>
<title>clang: Fix cmake exports not finding native binaries Issue #230</title>
<updated>2019-12-05T14:52:57+00:00</updated>
<author>
<name>Michael Davis</name>
<email>michael.davis@essvote.com</email>
</author>
<published>2019-12-03T16:31:02+00:00</published>
<link rel='alternate' type='text/html' href='https://git.enea.com/cgit/linux/meta-clang.git/commit/?id=eea276a91c2594b573c82bf82587aa0e502e804f'/>
<id>urn:sha1:eea276a91c2594b573c82bf82587aa0e502e804f</id>
<content type='text'>
Signed-off-by: Michael Davis &lt;michael.davis@essvote.com&gt;
Signed-off-by: Khem Raj &lt;raj.khem@gmail.com&gt;
</content>
</entry>
<entry>
<title>llvm-config: Fix implementation of --libs flag</title>
<updated>2017-07-18T13:14:32+00:00</updated>
<author>
<name>Ricardo Ribalda Delgado</name>
<email>ricardo.ribalda@gmail.com</email>
</author>
<published>2017-07-18T09:18:41+00:00</published>
<link rel='alternate' type='text/html' href='https://git.enea.com/cgit/linux/meta-clang.git/commit/?id=774f744912fd35de989819f52aabfb37ceba5157'/>
<id>urn:sha1:774f744912fd35de989819f52aabfb37ceba5157</id>
<content type='text'>
llvm-config is called by mesa with the following parameters:

llvm-config --libs liba libb libc libd .....

This result in an invalid call of llvm config:

llvm-config --libs
llvm-config liba
llvm-config libb
llvm-config libc
....

Fix this use.

Signed-off-by: Ricardo Ribalda Delgado &lt;ricardo.ribalda@gmail.com&gt;
</content>
</entry>
<entry>
<title>clang: fix the llvm-common wrapper</title>
<updated>2017-03-21T18:46:51+00:00</updated>
<author>
<name>Martin Kelly</name>
<email>mkelly@xevo.com</email>
</author>
<published>2017-03-16T17:49:10+00:00</published>
<link rel='alternate' type='text/html' href='https://git.enea.com/cgit/linux/meta-clang.git/commit/?id=9660e15264bd68ce4d62b64de2ea08e6b0debf37'/>
<id>urn:sha1:9660e15264bd68ce4d62b64de2ea08e6b0debf37</id>
<content type='text'>
The llvm-common wrapper refers to the LLVM_WANT_RELEASE variable, which is not
actually exported, so it fails. In addition, meta-clang does not support
multiple side-by-side LLVM versions anyway, so the logic isn't really needed.

After fixing these issues, I discovered that llvm-config doesn't cross-compile
properly without more extensive wrapping. Specifically, the native llvm-config
supplies --libdir, and other arguments relative to its current
executable path, so it points into the native sysroot rather than the target
sysroot. In addition, it supplies the native rather than the target compile
CFLAGS, LDFLAGS, etc.

Fix these issues by doing the following:
- Alter the llvm-config to intercept certain flags, such as --cflags, while
  passing on other flags to the native llvm-config.
- Patch llvm-config to be able to specify an alternate root location on which to
  base --libdir, etc. in order to optionally point into the target sysroot when
  needed.

Signed-off-by: Martin Kelly &lt;mkelly@xevo.com&gt;
</content>
</entry>
<entry>
<title>Intial commit</title>
<updated>2014-09-12T00:25:28+00:00</updated>
<author>
<name>Khem Raj</name>
<email>raj.khem@gmail.com</email>
</author>
<published>2014-09-12T00:25:28+00:00</published>
<link rel='alternate' type='text/html' href='https://git.enea.com/cgit/linux/meta-clang.git/commit/?id=7d75cff3a28f9635efd6a85af0a374cb41538f58'/>
<id>urn:sha1:7d75cff3a28f9635efd6a85af0a374cb41538f58</id>
<content type='text'>
Add clang recipes

Signed-off-by: Khem Raj &lt;raj.khem@gmail.com&gt;
</content>
</entry>
</feed>
