<html>
<head>
<meta content="text/html; charset=utf-8" http-equiv="Content-Type">
</head>
<body text="#000000" bgcolor="#FFFFFF">
Ross, I suppose you mean "
<meta http-equiv="content-type" content="text/html; charset=utf-8">
icc_is_allarch()" ?<br>
<br>
Ok , so this recipe does inherit allarch but it is sort of
nativesdk, and when the test icc_is_allarch() checks for the value
of 'PACKAGE_ARCH', it gets "buildtools-dummy-${SDKPKGSUFFIX}" (which
should expand to 'buildtools-dummy-nativesdk', but doesn't) instead
of the expected "all".<br>
<br>
I am now modifying this test to check for an inherit of allarch, and
playing a bit with this. I'll keep you posted.<br>
<br>
Other stuff to consider:<br>
<br>
- Expand the value of PACKAGE_ARCH if necessary? I am doing it now
as part of my tests but not sure I will be committing this:<br>
<br>
package_arch = d.getVar("PACKAGE_ARCH", False)<br>
if '${' in package_arch:<br>
package_arch = d.expand(package_arch)<br>
...<br>
<br>
- All of these functions in the icecc.bbclass that incude "icc" in
their names, should probably be modified to say "icecc" instead. As
it stands now, it can cause confusion as some people might think
we're talking about the intel c compiler rather than the icecream
compiler - I wonder if there's a bug for this already<br>
<br>
Alex Franco<br>
<br>
<div class="moz-cite-prefix">On 03/22/2016 10:45 AM, Burton, Ross
wrote:<br>
</div>
<blockquote
cite="mid:CAJTo0LaLRwcuY=-BJcRDUm9Y5Y_umixeq=Zm3NUL+2XTbBTxaw@mail.gmail.com"
type="cite">
<div dir="ltr">
<div class="gmail_extra"><br>
<div class="gmail_quote">On 22 March 2016 at 16:41, Burton,
Ross <span dir="ltr"><<a moz-do-not-send="true"
href="mailto:ross.burton@intel.com" target="_blank">ross.burton@intel.com</a>></span>
wrote:<br>
<blockquote class="gmail_quote" style="margin:0 0 0
.8ex;border-left:1px #ccc solid;padding-left:1ex">
<div class="gmail_extra">Do we understand why this recipe
breaks the icecc class?</div>
</blockquote>
<div><br>
</div>
<div>So I'm guessing it's because the architecture of the
recipe is "special" - it's sort-of allarch and sort of
nativesdk.</div>
<div><br>
</div>
<div>I wonder if changing the icecc_is_allarch() test to
check for inherit of allarch would fix this without
working around the problem.</div>
<div><br>
</div>
<div>Ross </div>
</div>
<br>
</div>
</div>
</blockquote>
<br>
</body>
</html>