<feed xmlns='http://www.w3.org/2005/Atom'>
<title>linux/meta-clang.git/classes, 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-07-02T15:59:26+00:00</updated>
<entry>
<title>clang: usrmerge workaround</title>
<updated>2020-07-02T15:59:26+00:00</updated>
<author>
<name>Oleksandr Ocheretnyi</name>
<email>oocheret@cisco.com</email>
</author>
<published>2020-04-12T21:05:33+00:00</published>
<link rel='alternate' type='text/html' href='https://git.enea.com/cgit/linux/meta-clang.git/commit/?id=6f59a9e87640119d132b466a4dfc0cfa0cfe4a7d'/>
<id>urn:sha1:6f59a9e87640119d132b466a4dfc0cfa0cfe4a7d</id>
<content type='text'>
 * issue:
    the openembedded-core build procedure relies on changed default
    dynamic loader path when the usrmerge distro feature turned on.
    As we can find the GCC which is used as default toolchain uses
    SYSTEMLIBS_DIR macro variable set to /usr/(lib|lib64) at build
    time and hardcodes the binaries with that default loader path.

 * solution:
    change the default dynamic loader location with --dyld-prefix
    clang option to conform the loader location (as GCC does) to
    openembedded-core build procedure.

Signed-off-by: Oleksandr Ocheretnyi &lt;oocheret@cisco.com&gt;
</content>
</entry>
<entry>
<title>clang.bbclass: Define -target in HOST_CC_ARCH</title>
<updated>2020-05-16T14:09:53+00:00</updated>
<author>
<name>Khem Raj</name>
<email>raj.khem@gmail.com</email>
</author>
<published>2020-05-16T07:06:22+00:00</published>
<link rel='alternate' type='text/html' href='https://git.enea.com/cgit/linux/meta-clang.git/commit/?id=503aa977b27be0506fb6ac21fbf9e8b049b82247'/>
<id>urn:sha1:503aa977b27be0506fb6ac21fbf9e8b049b82247</id>
<content type='text'>
This helps extra tools like clang-tidy to find arch-specific macros,
headers in a cross compile environment.

Signed-off-by: Khem Raj &lt;raj.khem@gmail.com&gt;
</content>
</entry>
<entry>
<title>clang.bbclass: Define CLANG_TIDY and extend it to cmake as well</title>
<updated>2020-05-16T14:09:53+00:00</updated>
<author>
<name>Khem Raj</name>
<email>raj.khem@gmail.com</email>
</author>
<published>2020-05-16T04:43:50+00:00</published>
<link rel='alternate' type='text/html' href='https://git.enea.com/cgit/linux/meta-clang.git/commit/?id=8f7c5b3a721971bb0b9719be646983e026ff4a4c'/>
<id>urn:sha1:8f7c5b3a721971bb0b9719be646983e026ff4a4c</id>
<content type='text'>
Signed-off-by: Khem Raj &lt;raj.khem@gmail.com&gt;
</content>
</entry>
<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>clang.bbclass: override CCACHE_COMPILERCHECK</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-15T02:21:16+00:00</published>
<link rel='alternate' type='text/html' href='https://git.enea.com/cgit/linux/meta-clang.git/commit/?id=8c495670aa4d3c8ae61c9bf41edea08e9f03bae4'/>
<id>urn:sha1:8c495670aa4d3c8ae61c9bf41edea08e9f03bae4</id>
<content type='text'>
It fails to build compiler-rt when ccache is enabled:

| ccache: error: Failure running compiler check command: %compiler% -dumpspecs

Because clang doesn't recognize option '-dumpspecs' from default value
of CCACHE_COMPILERCHECK, override CCACHE_COMPILERCHECK for toolchain
clang in clang.bbclass.

Signed-off-by: Kai Kang &lt;kai.kang@windriver.com&gt;
</content>
</entry>
<entry>
<title>clang.bbclass: Handle big.LITTLE mtune options on arm/aarch64</title>
<updated>2020-04-23T20:12:09+00:00</updated>
<author>
<name>Khem Raj</name>
<email>raj.khem@gmail.com</email>
</author>
<published>2020-04-22T20:41:57+00:00</published>
<link rel='alternate' type='text/html' href='https://git.enea.com/cgit/linux/meta-clang.git/commit/?id=46db90bf7ac1d7ab1078770423317071154c495c'/>
<id>urn:sha1:46db90bf7ac1d7ab1078770423317071154c495c</id>
<content type='text'>
Clang does not yet support big.LITTLE performance tunes, so use the LITTLE for tunes
see [1]

Fixes Issue #313

[1] https://reviews.llvm.org/D32076

Signed-off-by: Khem Raj &lt;raj.khem@gmail.com&gt;
</content>
</entry>
<entry>
<title>recipes: Do not Add -Wno-error=unused-command-line-argument globally</title>
<updated>2020-03-16T16:12:22+00:00</updated>
<author>
<name>Khem Raj</name>
<email>raj.khem@gmail.com</email>
</author>
<published>2020-03-16T05:20:51+00:00</published>
<link rel='alternate' type='text/html' href='https://git.enea.com/cgit/linux/meta-clang.git/commit/?id=b263a90fe9e8faa1212da000188a77efe33aeaf4'/>
<id>urn:sha1:b263a90fe9e8faa1212da000188a77efe33aeaf4</id>
<content type='text'>
This option can turn Valid options into warnings and cause unintended
behaviour

Signed-off-by: Khem Raj &lt;raj.khem@gmail.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: Use 64bit long double on musl/ppc64le</title>
<updated>2020-01-24T07:26:59+00:00</updated>
<author>
<name>Khem Raj</name>
<email>raj.khem@gmail.com</email>
</author>
<published>2020-01-21T02:39:01+00:00</published>
<link rel='alternate' type='text/html' href='https://git.enea.com/cgit/linux/meta-clang.git/commit/?id=bd93432cf8b3b0dada4b4cb72835e10d3957144a'/>
<id>urn:sha1:bd93432cf8b3b0dada4b4cb72835e10d3957144a</id>
<content type='text'>
Signed-off-by: Khem Raj &lt;raj.khem@gmail.com&gt;
</content>
</entry>
<entry>
<title>armeb: Disable compiler-rt</title>
<updated>2019-11-20T14:32:14+00:00</updated>
<author>
<name>Khem Raj</name>
<email>raj.khem@gmail.com</email>
</author>
<published>2019-11-20T06:27:29+00:00</published>
<link rel='alternate' type='text/html' href='https://git.enea.com/cgit/linux/meta-clang.git/commit/?id=af14efca56e0d484b8719763828f7228e9dfb96a'/>
<id>urn:sha1:af14efca56e0d484b8719763828f7228e9dfb96a</id>
<content type='text'>
compile-rt is not fully ported for ARM big-endian therefore disable it

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