In general that looks like a cross-compilation check.

That is, if one is compiling for a target that is not the current one.

Potentially if one is doing 32-bit linux builds on a 64-bit machine that
might come into play. However, even on 32-bit machines it can be
triggered since there are many of those use i686 instead of x86, etc.


Beyond that, much depends on *which* SConscript you are looking at. One
major problem we encountered is that the team working on the CA branch
was using different copies from everyone else.



On 04/16/2015 12:17 AM, ???(Uze Choi) wrote:> Hi All,
>
>
>
> During the CA branch merging into master, there was update as follows in
> the SConscript.
>
> if env.get('TARGET_ARCH') == platform.machine():
>
> If we remove this Script Change, Jenkins generates the error, but real
> build does not work.
>
>
>
> Could anyone explain what purpose of this code?
>
>
>
> BR, Uze Choi
>
>
>
>
> _______________________________________________
> iotivity-dev mailing list
> iotivity-dev at lists.iotivity.org
> https://lists.iotivity.org/mailman/listinfo/iotivity-dev
>

-- 
Jon A. Cruz - Senior Open Source Developer
Samsung Open Source Group
jonc at osg.samsung.com

Reply via email to