<feed xmlns='http://www.w3.org/2005/Atom'>
<title>linux/meta-clang.git/recipes-core, branch dunfell</title>
<subtitle>Mirror of github.com/kraj/meta-clang.git</subtitle>
<id>https://git.enea.com/cgit/linux/meta-clang.git/atom?h=dunfell</id>
<link rel='self' href='https://git.enea.com/cgit/linux/meta-clang.git/atom?h=dunfell'/>
<link rel='alternate' type='text/html' href='https://git.enea.com/cgit/linux/meta-clang.git/'/>
<updated>2020-10-22T19:07:16+00:00</updated>
<entry>
<title>Remove compiler arguments from CLANG_TIDY_EXE</title>
<updated>2020-10-22T19:07:16+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=eba7c48f131d8fd5a1d840949d8ead2ecfe65edc'/>
<id>urn:sha1:eba7c48f131d8fd5a1d840949d8ead2ecfe65edc</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;

Backported from master to dunfell branch (cherry picked from commit 9d5fd8357d2f00a273f3d80fb37bb07cc537a155).

Signed-off-by: Daniel Dittmann &lt;daniel.dittmann@rohde-schwarz.com&gt;
</content>
</entry>
<entry>
<title>busybox: Rename bbappend to apply for 1.31 version alone</title>
<updated>2020-07-04T01:26:46+00:00</updated>
<author>
<name>Khem Raj</name>
<email>raj.khem@gmail.com</email>
</author>
<published>2020-07-03T14:59:42+00:00</published>
<link rel='alternate' type='text/html' href='https://git.enea.com/cgit/linux/meta-clang.git/commit/?id=ee1dcdfbb8d31f168b26c2e3e5be97efea6537df'/>
<id>urn:sha1:ee1dcdfbb8d31f168b26c2e3e5be97efea6537df</id>
<content type='text'>
This patch is alrady upstream for 1.32

Signed-off-by: Khem Raj &lt;raj.khem@gmail.com&gt;
</content>
</entry>
<entry>
<title>meta-environment: Conditionally add clang specific environment variables</title>
<updated>2020-06-29T03:38:56+00:00</updated>
<author>
<name>Khem Raj</name>
<email>raj.khem@gmail.com</email>
</author>
<published>2020-06-25T19:19:49+00:00</published>
<link rel='alternate' type='text/html' href='https://git.enea.com/cgit/linux/meta-clang.git/commit/?id=1c043426a5dd0388ffd83a359cbbbf72b97bb1b4'/>
<id>urn:sha1:1c043426a5dd0388ffd83a359cbbbf72b97bb1b4</id>
<content type='text'>
Only when CLANGSDK = 1

Fixes Issue #338

Signed-off-by: Khem Raj &lt;raj.khem@gmail.com&gt;
</content>
</entry>
<entry>
<title>musl: Do not pass -frounding-math for now</title>
<updated>2020-02-21T16:25:54+00:00</updated>
<author>
<name>Khem Raj</name>
<email>raj.khem@gmail.com</email>
</author>
<published>2019-12-27T03:36:34+00:00</published>
<link rel='alternate' type='text/html' href='https://git.enea.com/cgit/linux/meta-clang.git/commit/?id=8943cf0ed788cae381af8ce40b791de80d4c0940'/>
<id>urn:sha1:8943cf0ed788cae381af8ce40b791de80d4c0940</id>
<content type='text'>
clang/master hangs (can you believe) while compiling musl on armv7ve

Signed-off-by: Khem Raj &lt;raj.khem@gmail.com&gt;
</content>
</entry>
<entry>
<title>packagegroup: be lenient about CLANGSDK setting</title>
<updated>2019-12-02T16:55:03+00:00</updated>
<author>
<name>Ross Burton</name>
<email>ross.burton@intel.com</email>
</author>
<published>2019-12-02T14:32:42+00:00</published>
<link rel='alternate' type='text/html' href='https://git.enea.com/cgit/linux/meta-clang.git/commit/?id=fabbdc8b851009163d33c8b64d0251a8cc88e71e'/>
<id>urn:sha1:fabbdc8b851009163d33c8b64d0251a8cc88e71e</id>
<content type='text'>
As CLANGSDK defaults to '1', users who have not read the README may
think that setting it to '0' would disable adding Clang to the SDK.
Little do they know that you need to *unset* the value for this to work
(as bool('0') -&gt; True).

Change the logic to use bb.utils.contains(), so that '0' is not true.

Signed-off-by: Ross Burton &lt;ross.burton@intel.com&gt;
</content>
</entry>
<entry>
<title>clang: Add variable CLANGSDK to control including clang in SDK</title>
<updated>2019-09-26T01:00:05+00:00</updated>
<author>
<name>Khem Raj</name>
<email>raj.khem@gmail.com</email>
</author>
<published>2019-09-25T21:31:10+00:00</published>
<link rel='alternate' type='text/html' href='https://git.enea.com/cgit/linux/meta-clang.git/commit/?id=ccfdb47cc4991a393a2d2fefe8420bdef56e7318'/>
<id>urn:sha1:ccfdb47cc4991a393a2d2fefe8420bdef56e7318</id>
<content type='text'>
CLANGSDK ?= "1"

is default which means clang will be included into SDK
if one is using clang only for full build and dont intend to distribute
it as cross compiler SDK then set

CLANGSDK = ""

in local.conf or in another config metadata file

Signed-off-by: Khem Raj &lt;raj.khem@gmail.com&gt;
</content>
</entry>
<entry>
<title>busybox: Update non-const patch to remaining patterns</title>
<updated>2019-09-11T15:30:15+00:00</updated>
<author>
<name>Khem Raj</name>
<email>raj.khem@gmail.com</email>
</author>
<published>2019-09-11T02:12:00+00:00</published>
<link rel='alternate' type='text/html' href='https://git.enea.com/cgit/linux/meta-clang.git/commit/?id=41ef02b0c594f2e77fb17c1e71cc061e835101bc'/>
<id>urn:sha1:41ef02b0c594f2e77fb17c1e71cc061e835101bc</id>
<content type='text'>
This was noticed when /bin/ash crashed that there are more instances of
this optimization which causes same kind of failures in few other
applets

As a side benefit busybox compiled with clang works totally fine on
riscv64 now

Signed-off-by: Khem Raj &lt;raj.khem@gmail.com&gt;
</content>
</entry>
<entry>
<title>musl: Do not use clang for musl package on ppc64</title>
<updated>2019-09-02T19:58:22+00:00</updated>
<author>
<name>Khem Raj</name>
<email>raj.khem@gmail.com</email>
</author>
<published>2019-08-31T05:16:05+00:00</published>
<link rel='alternate' type='text/html' href='https://git.enea.com/cgit/linux/meta-clang.git/commit/?id=4c2d3ca939fd8694d2158209c64de51383fa4560'/>
<id>urn:sha1:4c2d3ca939fd8694d2158209c64de51383fa4560</id>
<content type='text'>
Fails to build with builtins which are only in compiler-rt
but compiler-rt needs C library to build. Catch-22

Signed-off-by: Khem Raj &lt;raj.khem@gmail.com&gt;
</content>
</entry>
<entry>
<title>musl: Use gcc for riscv64 for now</title>
<updated>2019-08-15T02:14:24+00:00</updated>
<author>
<name>Khem Raj</name>
<email>raj.khem@gmail.com</email>
</author>
<published>2019-08-14T05:07:29+00:00</published>
<link rel='alternate' type='text/html' href='https://git.enea.com/cgit/linux/meta-clang.git/commit/?id=404fb14da7784e6528f6a2cbcd500bed960a734b'/>
<id>urn:sha1:404fb14da7784e6528f6a2cbcd500bed960a734b</id>
<content type='text'>
system boot but not all the way to command prompt so we need to debug it
eventually

Signed-off-by: Khem Raj &lt;raj.khem@gmail.com&gt;
</content>
</entry>
<entry>
<title>busybox: Use gcc for riscv64 for now</title>
<updated>2019-08-13T05:00:22+00:00</updated>
<author>
<name>Khem Raj</name>
<email>raj.khem@gmail.com</email>
</author>
<published>2019-08-13T04:43:54+00:00</published>
<link rel='alternate' type='text/html' href='https://git.enea.com/cgit/linux/meta-clang.git/commit/?id=63152f2c167843d2ea9d395ec78586a4d5be9648'/>
<id>urn:sha1:63152f2c167843d2ea9d395ec78586a4d5be9648</id>
<content type='text'>
It crashes when compiled with clang

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