<?xml version="1.0" encoding="UTF-8" standalone="yes" ?>
<!DOCTYPE bugzilla SYSTEM "https://bugzilla.yoctoproject.org/page.cgi?id=bugzilla.dtd">

<bugzilla version="5.0.6"
          urlbase="https://bugzilla.yoctoproject.org/"
          
          maintainer="it-coreprojects-helpdesk@linuxfoundation.org"
>

    <bug>
          <bug_id>5120</bug_id>
          
          <creation_ts>2013-09-04 16:29:59 +0000</creation_ts>
          <short_desc>mesa should not rebuild when MACHINE is changed with the same arch</short_desc>
          <delta_ts>2013-09-24 22:37:18 +0000</delta_ts>
          <reporter_accessible>1</reporter_accessible>
          <cclist_accessible>1</cclist_accessible>
          <classification_id>7</classification_id>
          <classification>Build System, Metadata &amp; Runtime</classification>
          <product>BSPs</product>
          <component>bsps-meta-intel</component>
          <version>1.5</version>
          <rep_platform>x86</rep_platform>
          <op_sys>Multiple</op_sys>
          <bug_status>RESOLVED</bug_status>
          <resolution>FIXED</resolution>
          
          
          <bug_file_loc></bug_file_loc>
          <status_whiteboard></status_whiteboard>
          <keywords></keywords>
          <priority>Medium+</priority>
          <bug_severity>normal</bug_severity>
          <target_milestone>Future</target_milestone>
          
          
          <everconfirmed>1</everconfirmed>
          <reporter name="Nitin Kamble">nitin.a.kamble</reporter>
          <assigned_to name="Nitin Kamble">nitin.a.kamble</assigned_to>
          <cc>dvhart</cc>
    
    <cc>richard.purdie</cc>
    
    <cc>tom.zanussi</cc>
          
          
          <cf_os>---</cf_os>
          <cf_regression_type>---</cf_regression_type>
          
          <cf_docchange>No (bug/feature does not impact docs)</cf_docchange>

      

      

      

          <comment_sort_order>oldest_to_newest</comment_sort_order>  
          <long_desc isprivate="0" >
    <commentid>36271</commentid>
    <comment_count>0</comment_count>
    <who name="Nitin Kamble">nitin.a.kamble</who>
    <bug_when>2013-09-04 16:29:59 +0000</bug_when>
    <thetext>Currently mesa.bbappend in meta-intel manipulates the EXTRA_OECONF &amp; DEPENDS vars of the mesa recipe based on the presence of EMGD. 

RP suggested that instead of manipulating the EXTRA_OECONF, do_populate_sysroot of the mesa recipe can be changed to avoid issue with EMGD recipe. That way the recipe will not rebuild for a different MACHINE.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>36387</commentid>
    <comment_count>1</comment_count>
    <who name="Nitin Kamble">nitin.a.kamble</who>
    <bug_when>2013-09-06 22:12:51 +0000</bug_when>
    <thetext>I had a couple of attempts to fix this issue. RP had a discussion on this on oecore ML. And finally it is noted that this is quiet complicated to deal in 1.5 release. And more thought process is needed to get this resolved properly in the future.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>36884</commentid>
    <comment_count>2</comment_count>
    <who name="Nitin Kamble">nitin.a.kamble</who>
    <bug_when>2013-09-18 15:15:39 +0000</bug_when>
    <thetext>the new mesa-gl recipe changes the scenario completely. for the mesa rebuild issue. Also there is a patch pending for meta-intel to reduce rebuilding of packages due to separate gl provider, emgd.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>37148</commentid>
    <comment_count>3</comment_count>
    <who name="Nitin Kamble">nitin.a.kamble</who>
    <bug_when>2013-09-24 22:37:18 +0000</bug_when>
    <thetext>commit 49f495e388d986e568f6197075a56a6e7674b2f5
Author: Richard Purdie &lt;richard.purdie@linuxfoundation.org&gt;
Date:   Mon Sep 16 14:56:20 2013 +0000

    Separate packagedir for GL components of EMGD BSPs
    
    When multiple BSPs of the same arch are built in a build directory,
    the differences in GL providers such as emgd-driver and mesa causes
    rebuild of large set of recipes, as they collide on each other&apos;s space
    for multiple BSPs. Although this does not impact correctness, it
    impacts build performance negatively.
    
     Richard had an idea of providing separate PACKAGE_DIR to the
    colliding recipes to avoid the build area collision. And this approach
    significantly reduces the negative impact on the build performance.
    
    Signed-off-by: Nitin A Kamble &lt;nitin.a.kamble@intel.com&gt;
    Signed-off-by: Richard Purdie &lt;richard.purdie@linuxfoundation.org&gt;</thetext>
  </long_desc>
      
      

    </bug>

</bugzilla>