<feed xmlns='http://www.w3.org/2005/Atom'>
<title>linux/meta-clang.git/recipes-core, branch hardknott</title>
<subtitle>Mirror of github.com/kraj/meta-clang.git</subtitle>
<id>https://git.enea.com/cgit/linux/meta-clang.git/atom?h=hardknott</id>
<link rel='self' href='https://git.enea.com/cgit/linux/meta-clang.git/atom?h=hardknott'/>
<link rel='alternate' type='text/html' href='https://git.enea.com/cgit/linux/meta-clang.git/'/>
<updated>2021-03-01T19:12:14+00:00</updated>
<entry>
<title>musl: Use clang for riscv64</title>
<updated>2021-03-01T19:12:14+00:00</updated>
<author>
<name>Khem Raj</name>
<email>raj.khem@gmail.com</email>
</author>
<published>2021-02-25T03:32:07+00:00</published>
<link rel='alternate' type='text/html' href='https://git.enea.com/cgit/linux/meta-clang.git/commit/?id=f6e8b41b291d69754356a6c4915e5daa1af59de4'/>
<id>urn:sha1:f6e8b41b291d69754356a6c4915e5daa1af59de4</id>
<content type='text'>
clang12 can successfully compile and boot musl so remove the workaround
to use gcc

Signed-off-by: Khem Raj &lt;raj.khem@gmail.com&gt;
</content>
</entry>
<entry>
<title>musl: Remove workaround to disable -frounding-math</title>
<updated>2021-03-01T19:12:14+00:00</updated>
<author>
<name>Khem Raj</name>
<email>raj.khem@gmail.com</email>
</author>
<published>2021-02-25T03:15:24+00:00</published>
<link rel='alternate' type='text/html' href='https://git.enea.com/cgit/linux/meta-clang.git/commit/?id=11127751aad368698f56543415e33e93e6ff709e'/>
<id>urn:sha1:11127751aad368698f56543415e33e93e6ff709e</id>
<content type='text'>
The hang in clang seems to gone with clang12
remove dependecy on gcc-cross if using clang to compile musl

Signed-off-by: Khem Raj &lt;raj.khem@gmail.com&gt;
</content>
</entry>
<entry>
<title>busybox: Port patch to 1.33 release</title>
<updated>2021-02-26T23:06:34+00:00</updated>
<author>
<name>Khem Raj</name>
<email>raj.khem@gmail.com</email>
</author>
<published>2021-02-20T20:55:50+00:00</published>
<link rel='alternate' type='text/html' href='https://git.enea.com/cgit/linux/meta-clang.git/commit/?id=6611405d0e50724afe4b6ee1d6e80417a31721d6'/>
<id>urn:sha1:6611405d0e50724afe4b6ee1d6e80417a31721d6</id>
<content type='text'>
Signed-off-by: Khem Raj &lt;raj.khem@gmail.com&gt;
</content>
</entry>
<entry>
<title>packagegroup-core-buildessential: Append clang instead of overwrite</title>
<updated>2021-02-14T08:10:36+00:00</updated>
<author>
<name>Khem Raj</name>
<email>raj.khem@gmail.com</email>
</author>
<published>2021-02-12T08:09:37+00:00</published>
<link rel='alternate' type='text/html' href='https://git.enea.com/cgit/linux/meta-clang.git/commit/?id=e1665fee69c3c55e8614e1c9e4167d69f0bc35d1'/>
<id>urn:sha1:e1665fee69c3c55e8614e1c9e4167d69f0bc35d1</id>
<content type='text'>
This ensures that all buildessentials are also installed into images
which are needed when building on device

Signed-off-by: Khem Raj &lt;raj.khem@gmail.com&gt;
</content>
</entry>
<entry>
<title>Add the target option to the CLANG environment variables.</title>
<updated>2021-01-25T23:38:12+00:00</updated>
<author>
<name>Tobias Bayer</name>
<email>tobiasbayer@outlook.de</email>
</author>
<published>2021-01-21T20:22:21+00:00</published>
<link rel='alternate' type='text/html' href='https://git.enea.com/cgit/linux/meta-clang.git/commit/?id=dca6dd429d046000ec8649ed57dca5193aeb6252'/>
<id>urn:sha1:dca6dd429d046000ec8649ed57dca5193aeb6252</id>
<content type='text'>
This commit fixes an issue when building a cmake based project where clang-tidy is configured as co-compiler. Without this option clang-tidy will fail as it cannot determinate the target architecture.

Signed-off-by: Tobias Bayer &lt;tobiasbayer@outlook.de&gt;
</content>
</entry>
<entry>
<title>musl: Do not force 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:51:16+00:00</published>
<link rel='alternate' type='text/html' href='https://git.enea.com/cgit/linux/meta-clang.git/commit/?id=8971f1eec1d603187185b3c85cb09ad6da4a69ed'/>
<id>urn:sha1:8971f1eec1d603187185b3c85cb09ad6da4a69ed</id>
<content type='text'>
Signed-off-by: Khem Raj &lt;raj.khem@gmail.com&gt;
</content>
</entry>
<entry>
<title>Remove compiler arguments from CLANG_TIDY_EXE</title>
<updated>2020-10-21T21:29:52+00:00</updated>
<author>
<name>MQueiros</name>
<email>maurofrqueiros@gmail.com</email>
</author>
<published>2020-10-20T15:01:37+00:00</published>
<link rel='alternate' type='text/html' href='https://git.enea.com/cgit/linux/meta-clang.git/commit/?id=9d5fd8357d2f00a273f3d80fb37bb07cc537a155'/>
<id>urn:sha1:9d5fd8357d2f00a273f3d80fb37bb07cc537a155</id>
<content type='text'>
cclang-tidy doesn't process compilation flags like "-mlittle-endian" and "sysroot". The current export tries to use those flags, which makes clang-tidy fail like in the following example:

&gt; $ aarch64-poky-linux-clang-tidy fibonacci.cpp -mlittle-endian --sysroot=/opt/mgu22/sysroots/aarch64-poky-linux
&gt; LLVM ERROR: CommonOptionsParser: failed to parse command-line arguments. [CommonOptionsParser]: aarch64-poky-linux-clang-tidy: Unknown command line argument '-mlittle-endian'.  Try: 'aarch64-poky-linux-clan$
&gt; aarch64-poky-linux-clang-tidy: Did you mean '--list-checks'?
&gt; aarch64-poky-linux-clang-tidy: Unknown command line argument '--sysroot=/opt/mgu22/sysroots/aarch64-poky-linux'.  Try: 'aarch64-poky-linux-clang-tidy --help'
&gt; aarch64-poky-linux-clang-tidy: Did you mean '--color=/opt/mgu22/sysroots/aarch64-poky-linux'?

This change removes those compiler arguments:

&gt; $ aarch64-poky-linux-clang-tidy fibonacci.cpp
&gt; Error while trying to load a compilation database:
&gt; Could not auto-detect compilation database for file "fibonacci.cpp"
&gt; No compilation database found in /home/mqueiros/workspace/minimal-working-example/fibonacci or any parent directory
&gt; fixed-compilation-database: Error while opening fixed database: No such file or directory
&gt; json-compilation-database: Error while opening JSON database: No such file or directory
&gt; Running without flags.

Signed-off-by: Mauro Queiros &lt;maurofrqueiros@gmail.com&gt;
</content>
</entry>
<entry>
<title>packagegroup-cross-canadian: Fix adding clang-cross-canadian only when CLANGSDK is 1</title>
<updated>2020-10-20T16:21:09+00:00</updated>
<author>
<name>Khem Raj</name>
<email>raj.khem@gmail.com</email>
</author>
<published>2020-10-20T01:45:55+00:00</published>
<link rel='alternate' type='text/html' href='https://git.enea.com/cgit/linux/meta-clang.git/commit/?id=a405b2ed31e978b20326789007994a52d95527ee'/>
<id>urn:sha1:a405b2ed31e978b20326789007994a52d95527ee</id>
<content type='text'>
Signed-off-by: Khem Raj &lt;raj.khem@gmail.com&gt;
</content>
</entry>
<entry>
<title>packagegroup-core-buildessential: Add clang to rdepends</title>
<updated>2020-10-08T19:23:54+00:00</updated>
<author>
<name>Khem Raj</name>
<email>raj.khem@gmail.com</email>
</author>
<published>2020-10-05T17:01:25+00:00</published>
<link rel='alternate' type='text/html' href='https://git.enea.com/cgit/linux/meta-clang.git/commit/?id=43037749c750e5a976890309d04f58ef8479d4b3'/>
<id>urn:sha1:43037749c750e5a976890309d04f58ef8479d4b3</id>
<content type='text'>
This helps in ensuring that clang shows up in rootfs when tools-sdk is
selected via IMAGE_FEATURES and default TOOLCHAIN is set to be clang

Signed-off-by: Khem Raj &lt;raj.khem@gmail.com&gt;
</content>
</entry>
<entry>
<title>meta-environment-ext: Add bbappend to insert clang variables into env</title>
<updated>2020-09-13T22:04:45+00:00</updated>
<author>
<name>Khem Raj</name>
<email>raj.khem@gmail.com</email>
</author>
<published>2020-09-13T07:21:28+00:00</published>
<link rel='alternate' type='text/html' href='https://git.enea.com/cgit/linux/meta-clang.git/commit/?id=e47ed0398fdaeee872cea9990117db31baede1a4'/>
<id>urn:sha1:e47ed0398fdaeee872cea9990117db31baede1a4</id>
<content type='text'>
This helps defining CLANG* env vars in extensible SDK

Fixes Issue #370

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