<feed xmlns='http://www.w3.org/2005/Atom'>
<title>linux/meta-clang.git/classes/cmake-native.bbclass, branch honister</title>
<subtitle>Mirror of github.com/kraj/meta-clang.git</subtitle>
<id>https://git.enea.com/cgit/linux/meta-clang.git/atom?h=honister</id>
<link rel='self' href='https://git.enea.com/cgit/linux/meta-clang.git/atom?h=honister'/>
<link rel='alternate' type='text/html' href='https://git.enea.com/cgit/linux/meta-clang.git/'/>
<updated>2020-05-15T14:35:04+00:00</updated>
<entry>
<title>cmake-native.bbclass: remove reset of CCACHE</title>
<updated>2020-05-15T14:35:04+00:00</updated>
<author>
<name>Kai Kang</name>
<email>kai.kang@windriver.com</email>
</author>
<published>2020-05-15T08:52:50+00:00</published>
<link rel='alternate' type='text/html' href='https://git.enea.com/cgit/linux/meta-clang.git/commit/?id=6bb6384f70ddbeb2fc0d76ff737f77038dd0ec79'/>
<id>urn:sha1:6bb6384f70ddbeb2fc0d76ff737f77038dd0ec79</id>
<content type='text'>
It reset variable CCACHE to disable ccache. But that doesn't effect that
CCACHE is set in an anonymous function from ccache.bbclass at last and
ccache is always not disabled with cmake.

Remove these useless piece of code.

Signed-off-by: Kai Kang &lt;kai.kang@windriver.com&gt;
</content>
</entry>
<entry>
<title>cmake-native.bbclass: Add include and libdir from native sysroot</title>
<updated>2020-02-21T16:25:54+00:00</updated>
<author>
<name>Khem Raj</name>
<email>raj.khem@gmail.com</email>
</author>
<published>2020-02-20T23:26:11+00:00</published>
<link rel='alternate' type='text/html' href='https://git.enea.com/cgit/linux/meta-clang.git/commit/?id=cc013379b59cbe6c3f9620d080e5b43347da44c8'/>
<id>urn:sha1:cc013379b59cbe6c3f9620d080e5b43347da44c8</id>
<content type='text'>
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: fix nativesdk build</title>
<updated>2017-08-23T16:10:29+00:00</updated>
<author>
<name>Ming Liu</name>
<email>peter.x.liu@external.atlascopco.com</email>
</author>
<published>2017-08-23T07:26:13+00:00</published>
<link rel='alternate' type='text/html' href='https://git.enea.com/cgit/linux/meta-clang.git/commit/?id=0ce41d411f9fd8213584e2b9fdc1cbb99910c330'/>
<id>urn:sha1:0ce41d411f9fd8213584e2b9fdc1cbb99910c330</id>
<content type='text'>
I could not manage to build nativesdk-clang, I encountered errors as
follows: (trimmed for purpose)
| ../gcc/x86_64-pokysdk-linux/6.3.0/ld::
| cannot find crt1.o: No such file or directory
| cannot find crtbegin.o: No such file or directory
| cannot find -lgcc
| cannot find -lgcc_s

After some investigation, I found it's caused by the llvm native tools
could not compile with crosssdk toolchains. (special linking flags
are needed)

So we introduce a cmake-native class with a task to generate a native
toolchain file, it will be used to build llvm native tools by passed
with CROSS_TOOLCHAIN_FLAGS_NATIVE.

Signed-off-by: Ming Liu &lt;peter.x.liu@external.atlascopco.com&gt;
Signed-off-by: Khem Raj &lt;raj.khem@gmail.com&gt;
</content>
</entry>
</feed>
