<feed xmlns='http://www.w3.org/2005/Atom'>
<title>linux/meta-clang.git/classes, branch yoe/mut</title>
<subtitle>Mirror of github.com/kraj/meta-clang.git</subtitle>
<id>https://git.enea.com/cgit/linux/meta-clang.git/atom?h=yoe%2Fmut</id>
<link rel='self' href='https://git.enea.com/cgit/linux/meta-clang.git/atom?h=yoe%2Fmut'/>
<link rel='alternate' type='text/html' href='https://git.enea.com/cgit/linux/meta-clang.git/'/>
<updated>2019-03-03T23:49:41+00:00</updated>
<entry>
<title>clang:bbclass: Do not use compiler-rt/libcxx for recipes which use gcc</title>
<updated>2019-03-03T23:49:41+00:00</updated>
<author>
<name>Khem Raj</name>
<email>raj.khem@gmail.com</email>
</author>
<published>2019-03-03T23:47:51+00:00</published>
<link rel='alternate' type='text/html' href='https://git.enea.com/cgit/linux/meta-clang.git/commit/?id=a9fae0e31fb9c0c7241d9453b3763562e7d2f8d1'/>
<id>urn:sha1:a9fae0e31fb9c0c7241d9453b3763562e7d2f8d1</id>
<content type='text'>
Signed-off-by: Khem Raj &lt;raj.khem@gmail.com&gt;
</content>
</entry>
<entry>
<title>clang.bbclass: Redefine ar/nm/ranlib</title>
<updated>2019-02-25T14:56:04+00:00</updated>
<author>
<name>Khem Raj</name>
<email>raj.khem@gmail.com</email>
</author>
<published>2019-02-25T14:56:04+00:00</published>
<link rel='alternate' type='text/html' href='https://git.enea.com/cgit/linux/meta-clang.git/commit/?id=cf6705cc9deef9bbb2767925bfd518cb27a6bbe6'/>
<id>urn:sha1:cf6705cc9deef9bbb2767925bfd518cb27a6bbe6</id>
<content type='text'>
OE-core now points to gcc-* variants of these variables which will not
be installed when a package is built with clang moreover llvm
version would be needed for thin-lto to work anyway

Signed-off-by: Khem Raj &lt;raj.khem@gmail.com&gt;
</content>
</entry>
<entry>
<title>clang.bbclass: Define COMPILER_RT and LIBCPLUSPLUS</title>
<updated>2019-02-24T07:59:49+00:00</updated>
<author>
<name>Khem Raj</name>
<email>raj.khem@gmail.com</email>
</author>
<published>2019-02-23T23:45:45+00:00</published>
<link rel='alternate' type='text/html' href='https://git.enea.com/cgit/linux/meta-clang.git/commit/?id=1a131a38d29193ea7b5eed2f50c218fddc6055a5'/>
<id>urn:sha1:1a131a38d29193ea7b5eed2f50c218fddc6055a5</id>
<content type='text'>
LIBCPLUSPLUS and COMPILER_RT are variables to indicate
if clang c/c++ runtime should be used as well or not

Signed-off-by: Khem Raj &lt;raj.khem@gmail.com&gt;
</content>
</entry>
<entry>
<title>clang.bbclass: Remove compilerlibs from BASEDEPENDS</title>
<updated>2019-02-24T07:59:49+00:00</updated>
<author>
<name>Khem Raj</name>
<email>raj.khem@gmail.com</email>
</author>
<published>2019-02-23T21:18:08+00:00</published>
<link rel='alternate' type='text/html' href='https://git.enea.com/cgit/linux/meta-clang.git/commit/?id=4ab185d61afb5b6660e64fb1764015fc35f2c98a'/>
<id>urn:sha1:4ab185d61afb5b6660e64fb1764015fc35f2c98a</id>
<content type='text'>
We do not need it when using clang

Signed-off-by: Khem Raj &lt;raj.khem@gmail.com&gt;
</content>
</entry>
<entry>
<title>clang.bbclass: Set nativesk ldso location correctly during link</title>
<updated>2019-02-11T15:21:21+00:00</updated>
<author>
<name>Khem Raj</name>
<email>raj.khem@gmail.com</email>
</author>
<published>2019-02-11T14:51:47+00:00</published>
<link rel='alternate' type='text/html' href='https://git.enea.com/cgit/linux/meta-clang.git/commit/?id=874857181daccfe33cc9d1c64d1f99e9f0384666'/>
<id>urn:sha1:874857181daccfe33cc9d1c64d1f99e9f0384666</id>
<content type='text'>
Add aarch64 host support
Enable lld via LDFLGS instead of TOOLCHAIN_FLAGS which also get passed
to compiler
Add relative rpaths so the liraries from SDK sysroot are preferred over
sdk host when SDK is used

Signed-off-by: Khem Raj &lt;raj.khem@gmail.com&gt;
</content>
</entry>
<entry>
<title>clang: Fix nativesdk builds to use clang-native</title>
<updated>2019-02-11T15:21:21+00:00</updated>
<author>
<name>Khem Raj</name>
<email>raj.khem@gmail.com</email>
</author>
<published>2019-02-10T19:57:11+00:00</published>
<link rel='alternate' type='text/html' href='https://git.enea.com/cgit/linux/meta-clang.git/commit/?id=3194a8c17195909eddeed9c19ec49460a9893674'/>
<id>urn:sha1:3194a8c17195909eddeed9c19ec49460a9893674</id>
<content type='text'>
- User lld for linking nativesdk-clang
- Enable LTO to build nativesdk-clang
- Use -static-libgcc when using gold/lld for nativesdk clang build
- Use llvm wrappers for ar ranlib and nm to help LTO
- Package and create cross versions of lld

Signed-off-by: Khem Raj &lt;raj.khem@gmail.com&gt;
</content>
</entry>
<entry>
<title>clang: Enable LTO and lld based on distro knobs</title>
<updated>2019-02-10T03:27:13+00:00</updated>
<author>
<name>Khem Raj</name>
<email>raj.khem@gmail.com</email>
</author>
<published>2019-02-08T18:07:54+00:00</published>
<link rel='alternate' type='text/html' href='https://git.enea.com/cgit/linux/meta-clang.git/commit/?id=48107e9c52b6ef16174280db582b078f687ae99f'/>
<id>urn:sha1:48107e9c52b6ef16174280db582b078f687ae99f</id>
<content type='text'>
Add to local.conf or distro config the following to enable lto flavors
and lld linker

DISTRO_FEATURES += "thin-lto"
DISTRO_FEATURES += "full-lto"
DISTRO_FEATURES += "lld"

Add lto.bbclass

To enable LTO is currently per recipe, or globally

to enable globally add following to global config meta-data e.g.
local.conf

INHRIT += "lto"

other-wise enable LTO per recipe using

inherit lto to recipe via bbappend or in main recipe

Signed-off-by: Khem Raj &lt;raj.khem@gmail.com&gt;
</content>
</entry>
<entry>
<title>libcxx: Make libunwind as static library</title>
<updated>2019-02-08T06:44:28+00:00</updated>
<author>
<name>Khem Raj</name>
<email>raj.khem@gmail.com</email>
</author>
<published>2019-02-06T19:08:09+00:00</published>
<link rel='alternate' type='text/html' href='https://git.enea.com/cgit/linux/meta-clang.git/commit/?id=49e9e00f48ae01b5f76fabee4aff55d060c68189'/>
<id>urn:sha1:49e9e00f48ae01b5f76fabee4aff55d060c68189</id>
<content type='text'>
Signed-off-by: Khem Raj &lt;raj.khem@gmail.com&gt;
</content>
</entry>
<entry>
<title>clang: Enable a cross version of clang-tidy</title>
<updated>2019-02-01T04:11:09+00:00</updated>
<author>
<name>Khem Raj</name>
<email>raj.khem@gmail.com</email>
</author>
<published>2019-02-01T04:08:18+00:00</published>
<link rel='alternate' type='text/html' href='https://git.enea.com/cgit/linux/meta-clang.git/commit/?id=4d5c8f7a29c50eaed975609c8509c876eb378b99'/>
<id>urn:sha1:4d5c8f7a29c50eaed975609c8509c876eb378b99</id>
<content type='text'>
define CLANG_TIDY_EXE which is used by some build systems e.g. cmake

Signed-off-by: Khem Raj &lt;raj.khem@gmail.com&gt;
</content>
</entry>
<entry>
<title>clang.bbclass: Do not add lld-native to forced clang deps</title>
<updated>2018-12-28T01:29:06+00:00</updated>
<author>
<name>Khem Raj</name>
<email>raj.khem@gmail.com</email>
</author>
<published>2018-12-27T18:02:12+00:00</published>
<link rel='alternate' type='text/html' href='https://git.enea.com/cgit/linux/meta-clang.git/commit/?id=8e6506adcb29ce0fdd29efb55b2358110ad9cbf6'/>
<id>urn:sha1:8e6506adcb29ce0fdd29efb55b2358110ad9cbf6</id>
<content type='text'>
lld is being folded into clang recipe itself

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