<feed xmlns='http://www.w3.org/2005/Atom'>
<title>linux/meta-clang.git/classes, branch clang12</title>
<subtitle>Mirror of github.com/kraj/meta-clang.git</subtitle>
<id>https://git.enea.com/cgit/linux/meta-clang.git/atom?h=clang12</id>
<link rel='self' href='https://git.enea.com/cgit/linux/meta-clang.git/atom?h=clang12'/>
<link rel='alternate' type='text/html' href='https://git.enea.com/cgit/linux/meta-clang.git/'/>
<updated>2021-05-20T06:58:12+00:00</updated>
<entry>
<title>replace --rtlib with -rtlib</title>
<updated>2021-05-20T06:58:12+00:00</updated>
<author>
<name>Khem Raj</name>
<email>raj.khem@gmail.com</email>
</author>
<published>2021-05-19T05:52:53+00:00</published>
<link rel='alternate' type='text/html' href='https://git.enea.com/cgit/linux/meta-clang.git/commit/?id=765d4ce064c84d1c1e1ec650813e47a3135fbd41'/>
<id>urn:sha1:765d4ce064c84d1c1e1ec650813e47a3135fbd41</id>
<content type='text'>
This is advertised option from clang

Signed-off-by: Khem Raj &lt;raj.khem@gmail.com&gt;
</content>
</entry>
<entry>
<title>Replace --stdlibc=libc++ with -stdlibc=libc++</title>
<updated>2021-05-20T06:58:12+00:00</updated>
<author>
<name>Khem Raj</name>
<email>raj.khem@gmail.com</email>
</author>
<published>2021-05-19T05:27:41+00:00</published>
<link rel='alternate' type='text/html' href='https://git.enea.com/cgit/linux/meta-clang.git/commit/?id=cda2283e4cf3c90ea42b43dbc3a2268be6655670'/>
<id>urn:sha1:cda2283e4cf3c90ea42b43dbc3a2268be6655670</id>
<content type='text'>
This ensures that it matches with CMake's understanding of this option
and when its removed then it silently removes -stdlibc=libc++ but leaves
the spurious '-' in the commandline which confuses the compiler as it
them expects input from stdin

Signed-off-by: Khem Raj &lt;raj.khem@gmail.com&gt;
</content>
</entry>
<entry>
<title>clang.bbclass: Define CMAKE_CLANG_TIDY directly using ${HOST_PREFIX}clang-tidy</title>
<updated>2021-04-24T04:44:32+00:00</updated>
<author>
<name>Khem Raj</name>
<email>raj.khem@gmail.com</email>
</author>
<published>2021-04-23T03:47:06+00:00</published>
<link rel='alternate' type='text/html' href='https://git.enea.com/cgit/linux/meta-clang.git/commit/?id=23451d0e03455ba98e74941d20a37511c1c42aeb'/>
<id>urn:sha1:23451d0e03455ba98e74941d20a37511c1c42aeb</id>
<content type='text'>
There is no need for exporting CLANG_TIDY, since its not a standard
variable

Signed-off-by: Khem Raj &lt;raj.khem@gmail.com&gt;
</content>
</entry>
<entry>
<title>clang: Replace mtune with mcpu to match oe-core</title>
<updated>2021-01-26T20:59:02+00:00</updated>
<author>
<name>Khem Raj</name>
<email>raj.khem@gmail.com</email>
</author>
<published>2021-01-25T23:46:39+00:00</published>
<link rel='alternate' type='text/html' href='https://git.enea.com/cgit/linux/meta-clang.git/commit/?id=d4d55a3bf15c164a72d7859b04e6f0539ff9fa59'/>
<id>urn:sha1:d4d55a3bf15c164a72d7859b04e6f0539ff9fa59</id>
<content type='text'>
Fixes Issue #415

Signed-off-by: Khem Raj &lt;raj.khem@gmail.com&gt;
</content>
</entry>
<entry>
<title>clang.bbclass: Set CCACHE_COMPILERCHECK as default value</title>
<updated>2021-01-25T23:41:31+00:00</updated>
<author>
<name>Mike Crowe</name>
<email>mac@mcrowe.com</email>
</author>
<published>2021-01-25T13:28:28+00:00</published>
<link rel='alternate' type='text/html' href='https://git.enea.com/cgit/linux/meta-clang.git/commit/?id=f7b549866822fa7e330a03091dfbd44308e8b50c'/>
<id>urn:sha1:f7b549866822fa7e330a03091dfbd44308e8b50c</id>
<content type='text'>
oe-core's ccache.bbclass contains:

 export CCACHE_COMPILERCHECK ?= "%compiler% -dumpspecs"

which sets a default value and allows others to easily override the
value of CCACHE_COMPILERCHECK if they wish to. Let's update
clang.bbclass to also set only the default value of CCACHE_COMPILERCHECK
too.

Signed-off-by: Mike Crowe &lt;mac@mcrowe.com&gt;
</content>
</entry>
<entry>
<title>clang.bbclass: Remove -mcpu option for the octeontx2 core</title>
<updated>2021-01-05T02:08:46+00:00</updated>
<author>
<name>Kevin Hao</name>
<email>kexin.hao@windriver.com</email>
</author>
<published>2020-12-28T04:58:44+00:00</published>
<link rel='alternate' type='text/html' href='https://git.enea.com/cgit/linux/meta-clang.git/commit/?id=b5a7b58e9de0c44a478f612f5fae9ce0800b88c0'/>
<id>urn:sha1:b5a7b58e9de0c44a478f612f5fae9ce0800b88c0</id>
<content type='text'>
The tune file for octeontx2 has been added into oe-core by commit
ad4f82742c6f ("tune-octeontx2.inc: Add tune for Marvell OCTEON TX2
core"). But the clang doesn't support this core yet. So remove the
-mcpu from the TUNE_CCARGS to fix the build failure for the octeontx2
core.

Signed-off-by: Kevin Hao &lt;kexin.hao@windriver.com&gt;
</content>
</entry>
<entry>
<title>clang: Use lld for LTO link</title>
<updated>2020-11-13T17:40:54+00:00</updated>
<author>
<name>Khem Raj</name>
<email>raj.khem@gmail.com</email>
</author>
<published>2020-11-12T07:03:16+00:00</published>
<link rel='alternate' type='text/html' href='https://git.enea.com/cgit/linux/meta-clang.git/commit/?id=b77d1e5ce3a34803ebeba9b83655c20eebfed12c'/>
<id>urn:sha1:b77d1e5ce3a34803ebeba9b83655c20eebfed12c</id>
<content type='text'>
Core uses a dumb utility called dwarfsrcfiles to grok source file names
and it assumes that .o and .a files are good old ELF files, that is not
true when using LTO in which case it becomes IR code, this tool starts
to puke, therefore disable using this tool

Signed-off-by: Khem Raj &lt;raj.khem@gmail.com&gt;
</content>
</entry>
<entry>
<title>lto: Override LTO variable from oe-core for thin-lto</title>
<updated>2020-11-13T17:40:54+00:00</updated>
<author>
<name>Khem Raj</name>
<email>raj.khem@gmail.com</email>
</author>
<published>2020-11-07T18:47:20+00:00</published>
<link rel='alternate' type='text/html' href='https://git.enea.com/cgit/linux/meta-clang.git/commit/?id=54e34a9d35c497e220ea8aef0a09cd531d84def7'/>
<id>urn:sha1:54e34a9d35c497e220ea8aef0a09cd531d84def7</id>
<content type='text'>
If thin-lto is used in DISTRO_FEATURES then enable thin-lto

Signed-off-by: Khem Raj &lt;raj.khem@gmail.com&gt;
</content>
</entry>
<entry>
<title>clang.bbclass: Use -mno-relax with clang for riscv</title>
<updated>2020-11-13T17:40:54+00:00</updated>
<author>
<name>Khem Raj</name>
<email>raj.khem@gmail.com</email>
</author>
<published>2020-11-03T18:22:11+00:00</published>
<link rel='alternate' type='text/html' href='https://git.enea.com/cgit/linux/meta-clang.git/commit/?id=c5ef70fe560ca90b3f2fd5b443469b9cf069bc48'/>
<id>urn:sha1:c5ef70fe560ca90b3f2fd5b443469b9cf069bc48</id>
<content type='text'>
lld yet does not work relaxation so accomodate for that so LTO can work

Signed-off-by: Khem Raj &lt;raj.khem@gmail.com&gt;
</content>
</entry>
<entry>
<title>clang: Use python3 explicitly in scripts</title>
<updated>2020-10-15T19:22:42+00:00</updated>
<author>
<name>Khem Raj</name>
<email>raj.khem@gmail.com</email>
</author>
<published>2020-10-15T05:38:14+00:00</published>
<link rel='alternate' type='text/html' href='https://git.enea.com/cgit/linux/meta-clang.git/commit/?id=c962a880b76c5760369599b19538e976d032e3b8'/>
<id>urn:sha1:c962a880b76c5760369599b19538e976d032e3b8</id>
<content type='text'>
Signed-off-by: Khem Raj &lt;raj.khem@gmail.com&gt;
</content>
</entry>
</feed>
