<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=Windows-1252">
<style type="text/css" style="display:none;"> P {margin-top:0;margin-bottom:0;} </style>
</head>
<body dir="ltr">
<div style="">
<blockquote style="color: rgb(102, 102, 102); font-family: Calibri, Helvetica, sans-serif; font-size: 12pt; border-left: 3px solid rgb(200, 200, 200); border-top-color: rgb(200, 200, 200); border-right-color: rgb(200, 200, 200); border-bottom-color: rgb(200, 200, 200); padding-left: 1ex; margin-left: 0.8ex;">
<div><span>In the long term we should reduce the complexity of the project. scons is a maintenance burden.</span></div>
</blockquote>
<div style=""><font color="#000000" face="Calibri, Helvetica, sans-serif"><span style="font-size: 12pt;">We all agree here.  And we are making progress.  Even a couple of weeks ago I had to debug and fix weird Meson
</span>behaviour<span style="font-size: 12pt;"> -- </span></font><a href="https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/4186" style="color: rgb(0, 0, 0); font-family: Calibri, Helvetica, sans-serif; font-size: 12pt;">https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/4186</a></div>
<blockquote style="color: rgb(102, 102, 102); font-family: Calibri, Helvetica, sans-serif; font-size: 12pt; border-left: 3px solid rgb(200, 200, 200); border-top-color: rgb(200, 200, 200); border-right-color: rgb(200, 200, 200); border-bottom-color: rgb(200, 200, 200); padding-left: 1ex; margin-left: 0.8ex;">
<div><span> Every time I break the scons build and the CI reports it, can I politely ask you to fix my MR instead of me doing it? Then at least the real maintenance cost would be known to scons supporters, instead of the cost being invisible to most.</span></div>
</blockquote>
<div style="color: rgb(0, 0, 0); font-family: Calibri, Helvetica, sans-serif; font-size: 12pt;">
Sure.  But first I want all the time back I spent fixing scons and msvc builds when the cost was invisible to most.  Even after setting up Appveyor people ignored the successive build failures.  Even when fix was plain trivial and easily avoidable (like replacing
 non-standard `= {}`  initializers for `= { 0 }`).   Even when I politely asked to fix it, people ignored.  Not you perhaps, but several did.</div>
<div style="color: rgb(0, 0, 0); font-family: Calibri, Helvetica, sans-serif; font-size: 12pt;">
<br>
</div>
<div style="color: rgb(0, 0, 0); font-family: Calibri, Helvetica, sans-serif; font-size: 12pt;">
Honestly, why do you blame me/us?  Mesa had multiple build systems for all its life -- all with different state of brokenness.   What really changed these days is not actually the
<i>Meson-holy-grail</i>, but this new <i>Marge-bot overlord</i>.  Personally I find it this new process a tad too draconian.</div>
<div style="color: rgb(0, 0, 0); font-family: Calibri, Helvetica, sans-serif; font-size: 12pt;">
<br>
</div>
<div style="color: rgb(0, 0, 0); font-family: Calibri, Helvetica, sans-serif; font-size: 12pt;">
If SCons is such a time sink, then the best we can do is suggest to take it off Marge-bot.  The onus of fixing SCons will go back to us, as it always did throughout these the past
<b>twelve</b> years. </div>
<div style="color: rgb(0, 0, 0); font-family: Calibri, Helvetica, sans-serif; font-size: 12pt;">
<br>
</div>
<div style="color: rgb(0, 0, 0); font-family: Calibri, Helvetica, sans-serif; font-size: 12pt;">
BTW, the grief you and others might be experiencing now, is probably 1/100th of what we systematically had throughout these years.  I particularly recall all the pain and grief to replicate all the autoconf build logic for code generation every time there was
 a major addition / refactoring in Mesa -- in particular all those Python scripts that generated C code are very difficult to match, because unlike Autoconf, SCons had fined grained dependencies, so missing one dependency meant incremental builds would use
 stale source code.  Some times there were more broken builds that good ones.  Even git-bisecting was extremely had as result.  Though to be fair, I do recall I also moaned and bitch about it too.</div>
<blockquote style="color: rgb(102, 102, 102); font-family: Calibri, Helvetica, sans-serif; font-size: 12pt; border-left: 3px solid rgb(200, 200, 200); border-top-color: rgb(200, 200, 200); border-right-color: rgb(200, 200, 200); border-bottom-color: rgb(200, 200, 200); padding-left: 1ex; margin-left: 0.8ex;">
<div>In the mean time, I think we can remove all parts of scons that VMWare does NOT care about. Do you need haiku-softpipe? Do you need graw-null? Do you need swr? glx? There is bunch you don't really need on Windows.<br>
</div>
</blockquote>
<div style="color: rgb(0, 0, 0); font-family: Calibri, Helvetica, sans-serif; font-size: 12pt;">
Now that is a more serious proposal.  An excellent one in fact.</div>
<div style="color: rgb(0, 0, 0); font-family: Calibri, Helvetica, sans-serif; font-size: 12pt;">
<br>
</div>
<div style="color: rgb(0, 0, 0); font-family: Calibri, Helvetica, sans-serif; font-size: 12pt;">
The only scons targets we need are <i>libgl-gdi</i> (and its dependencies, including
<i>llvmpipe</i>) and <i>svga</i>.</div>
<div style="color: rgb(0, 0, 0); font-family: Calibri, Helvetica, sans-serif; font-size: 12pt;">
<br>
</div>
<div style="color: rgb(0, 0, 0); font-family: Calibri, Helvetica, sans-serif; font-size: 12pt;">
Everything else can go as far as we are concerned.  <i>graw</i> was useful at one point, but I don't think it's that useful anymore.  Regarding <i>haiku-softpipe</i> and
<i>swr</i> targets, they were not added to SCons by VMware.  I suppose if the stakeholders didn't speak up so far, one can assume they don't care.</div>
<div style="color: rgb(0, 0, 0); font-family: Calibri, Helvetica, sans-serif; font-size: 12pt;">
<br>
</div>
<div style="color: rgb(0, 0, 0); font-family: Calibri, Helvetica, sans-serif; font-size: 12pt;">
Jose</div>
<div style="color: rgb(0, 0, 0); font-family: Calibri, Helvetica, sans-serif; font-size: 12pt;">
<br>
</div>
<blockquote style="color: rgb(102, 102, 102); font-family: Calibri, Helvetica, sans-serif; font-size: 12pt; border-left: 3px solid rgb(200, 200, 200); border-top-color: rgb(200, 200, 200); border-right-color: rgb(200, 200, 200); border-bottom-color: rgb(200, 200, 200); padding-left: 1ex; margin-left: 0.8ex;">
<span></span></blockquote>
</div>
<hr tabindex="-1" style="display:inline-block; width:98%">
<div id="divRplyFwdMsg" dir="ltr"><font face="Calibri, sans-serif" color="#000000" style="font-size:11pt"><b>From:</b> Marek Olšák <maraeo@gmail.com><br>
<b>Sent:</b> Friday, March 27, 2020 00:56<br>
<b>To:</b> Jose Fonseca <jfonseca@vmware.com><br>
<b>Cc:</b> Jason Ekstrand <jason@jlekstrand.net>; Rob Clark <robdclark@gmail.com>; Kristian Høgsberg <hoegsberg@gmail.com>; mesa-dev <mesa-dev@lists.freedesktop.org>; Dylan Baker <baker.dylan.c@gmail.com><br>
<b>Subject:</b> Re: [Mesa-dev] Drop scons for 20.1?</font>
<div> </div>
</div>
<div>
<div dir="ltr">
<div>In the long term we should reduce the complexity of the project. scons is a maintenance burden. Every time I break the scons build and the CI reports it, can I politely ask you to fix my MR instead of me doing it? Then at least the real maintenance cost
 would be known to scons supporters, instead of the cost being invisible to most.</div>
<div><br>
</div>
<div>In the mean time, I think we can remove all parts of scons that VMWare does NOT care about. Do you need haiku-softpipe? Do you need graw-null? Do you need swr? glx? There is bunch you don't really need on Windows.<br>
</div>
<div><br>
</div>
<div>Marek<br>
</div>
</div>
<br>
<div class="x_gmail_quote">
<div dir="ltr" class="x_gmail_attr">On Wed, Feb 26, 2020 at 3:44 PM Jose Fonseca <<a href="mailto:jfonseca@vmware.com">jfonseca@vmware.com</a>> wrote:<br>
</div>
<blockquote class="x_gmail_quote" style="margin:0px 0px 0px 0.8ex; border-left:1px solid rgb(204,204,204); padding-left:1ex">
<div dir="ltr">
<div style="font-family:Calibri,Helvetica,sans-serif; font-size:12pt; color:rgb(0,0,0)">
<span style="color:rgb(0,0,0); font-family:Calibri,Helvetica,sans-serif; font-size:12pt">We already solved some pieces (e.g, how to consume and use Meson, while following our internal legal process required for adding new 3rd party dependencies), and figured
 a way to consume Meson build without having to migrate lots of internal build logic from Scons to Meson.  But other stuff just keeps getting higher priority, and we haven't fully migrated.</span><br>
</div>
<div style="font-family:Calibri,Helvetica,sans-serif; font-size:12pt; color:rgb(0,0,0)">
<span style="color:rgb(0,0,0); font-family:Calibri,Helvetica,sans-serif; font-size:12pt"><br>
</span></div>
<div style="font-family:Calibri,Helvetica,sans-serif; font-size:12pt; color:rgb(0,0,0)">
<span style="color:rgb(0,0,0); font-family:Calibri,Helvetica,sans-serif; font-size:12pt">Please do understand, SCons
</span><i style="font-size:12pt; font-variant-ligatures:inherit; font-variant-caps:inherit; font-weight:inherit">just</i><span style="color:rgb(0,0,0); font-family:Calibri,Helvetica,sans-serif; font-size:12pt"> </span><i style="font-size:12pt; font-variant-ligatures:inherit; font-variant-caps:inherit; font-weight:inherit">works</i><span style="color:rgb(0,0,0); font-family:Calibri,Helvetica,sans-serif; font-size:12pt"> for
 us.  We are making progress with Meson.  It's just not the highest priority, when time is short, it gets deferred. </span></div>
<div style="font-family:Calibri,Helvetica,sans-serif; font-size:12pt; color:rgb(0,0,0)">
<br>
</div>
<div style="font-family:Calibri,Helvetica,sans-serif; font-size:12pt; color:rgb(0,0,0)">
I don't understand the rush.  If it was trivial and easy we'd obviously would have done it.</div>
<div style="font-family:Calibri,Helvetica,sans-serif; font-size:12pt; color:rgb(0,0,0)">
<br>
</div>
<div style="font-family:Calibri,Helvetica,sans-serif; font-size:12pt; color:rgb(0,0,0)">
<span style="color:rgb(0,0,0); font-family:Calibri,Helvetica,sans-serif; font-size:12pt">Jose</span><br>
</div>
<div>
<div id="x_gmail-m_-7002624787580809821appendonsend"></div>
<div style="font-family:Calibri,Helvetica,sans-serif; font-size:12pt; color:rgb(0,0,0)">
<br>
</div>
<hr style="display:inline-block; width:98%">
<div id="x_gmail-m_-7002624787580809821divRplyFwdMsg" dir="ltr"><font face="Calibri, sans-serif" color="#000000" style="font-size:11pt"><b>From:</b> Jason Ekstrand <<a href="mailto:jason@jlekstrand.net" target="_blank">jason@jlekstrand.net</a>><br>
<b>Sent:</b> Wednesday, February 26, 2020 04:15<br>
<b>To:</b> Rob Clark <<a href="mailto:robdclark@gmail.com" target="_blank">robdclark@gmail.com</a>>; Kristian Høgsberg <<a href="mailto:hoegsberg@gmail.com" target="_blank">hoegsberg@gmail.com</a>><br>
<b>Cc:</b> mesa-dev <<a href="mailto:mesa-dev@lists.freedesktop.org" target="_blank">mesa-dev@lists.freedesktop.org</a>>; Dylan Baker <<a href="mailto:baker.dylan.c@gmail.com" target="_blank">baker.dylan.c@gmail.com</a>>; Jose Fonseca <<a href="mailto:jfonseca@vmware.com" target="_blank">jfonseca@vmware.com</a>>;
 Brian Paul <<a href="mailto:brianp@vmware.com" target="_blank">brianp@vmware.com</a>><br>
<b>Subject:</b> Re: [Mesa-dev] Drop scons for 20.1?</font>
<div> </div>
</div>
<div><font size="2"><span style="font-size:11pt">
<div>+Jose & Brian<br>
<br>
I'm not personally opposed but I also can't remember the last time I had to <br>
fix the scons build. I think it's been years. Maybe that's because I don't <br>
work on GL anymore? In any case, I don't know that it's really costing us <br>
that much given that basically none of the drivers actually build with it. <br>
But fat meh, I guess.<br>
<br>
--Jason<br>
<br>
On February 25, 2020 21:56:30 Rob Clark <<a href="mailto:robdclark@gmail.com" target="_blank">robdclark@gmail.com</a>> wrote:<br>
<br>
> It looks like we have 4 scons build jobs in CI.. I'm not sure how much<br>
> that costs us, but I guess those cycles could be put to better use?<br>
> So even ignoring the developer-cycles issue (ie. someone making<br>
> changes that effects scons build, and has to setup a scons build env<br>
> to fix breakage of their MR) I guess there is at least an argument to<br>
> remove scons from CI.  Whether it is worth keeping a dead build system<br>
> after it is removed from CI is an issue that I'm ambivalent about.<br>
><br>
> BR,<br>
> -R<br>
><br>
> On Tue, Feb 25, 2020 at 3:42 PM Kristian Høgsberg <<a href="mailto:hoegsberg@gmail.com" target="_blank">hoegsberg@gmail.com</a>> wrote:<br>
>><br>
>> It's been a while since Dylan did the work to make meson support<br>
>> Windows and there's been plenty of time to provide feedback or improve<br>
>> argue why we still need scons. I haven't seen any such discussion and<br>
>> I think we've waited long enough.<br>
>><br>
>> Let's drop scons for the next release and move things forward?<br>
>><br>
>> Kristian<br>
>> _______________________________________________<br>
>> mesa-dev mailing list<br>
>> <a href="mailto:mesa-dev@lists.freedesktop.org" target="_blank">mesa-dev@lists.freedesktop.org</a><br>
>> <a href="https://nam04.safelinks.protection.outlook.com/?url=https%3A%2F%2Flists.freedesktop.org%2Fmailman%2Flistinfo%2Fmesa-dev&data=02%7C01%7Cjfonseca%40vmware.com%7C1e432c5661d74414562208d7d1e9c589%7Cb39138ca3cee4b4aa4d6cd83d9dd62f0%7C0%7C0%7C637208674291834362&sdata=zw1nv5uh2lwq6lde3CIbPYjXFjwx0462eKlgopEUZgk%3D&reserved=0" originalsrc="https://lists.freedesktop.org/mailman/listinfo/mesa-dev" shash="PPZBQAhw6QiSyPRbTh0u3dhJ+Pv7BB+V/qxWnpt5ZVIbW13bkL4OlyhWc6+38g6EMxc/DIm24IdQvR02aQzv8Hutr4ZWizCfqaZWve2TqGjRJQxLtLGuXEo1Kbm57V3mV+6lLOHpKK/qwK9vD2KtydI01gkP2a9H/WCCdfvR+Jk=" target="_blank">
https://nam04.safelinks.protection.outlook.com/?url=https%3A%2F%2Flists.freedesktop.org%2Fmailman%2Flistinfo%2Fmesa-dev&amp;data=02%7C01%7Cjfonseca%40vmware.com%7Cc8b86d6f312c48d77f3c08d7ba72774f%7Cb39138ca3cee4b4aa4d6cd83d9dd62f0%7C0%7C0%7C637182873108493719&amp;sdata=oKvqrkRoo6%2FqGW5BWbe1exIcBF%2BI%2BblcWIIVo3iW9J0%3D&amp;reserved=0</a><br>
> _______________________________________________<br>
> mesa-dev mailing list<br>
> <a href="mailto:mesa-dev@lists.freedesktop.org" target="_blank">mesa-dev@lists.freedesktop.org</a><br>
> <a href="https://nam04.safelinks.protection.outlook.com/?url=https%3A%2F%2Flists.freedesktop.org%2Fmailman%2Flistinfo%2Fmesa-dev&data=02%7C01%7Cjfonseca%40vmware.com%7C1e432c5661d74414562208d7d1e9c589%7Cb39138ca3cee4b4aa4d6cd83d9dd62f0%7C0%7C0%7C637208674291844358&sdata=z7kuex5o8Pjn7PKJ1uk6wC1hhB1PbXXBioPYyGm7wvs%3D&reserved=0" originalsrc="https://lists.freedesktop.org/mailman/listinfo/mesa-dev" shash="xaHAbVUBuHLgBwwvv+e7xG/OoivmkdbkNAPVPVS7W4dMOYgRq2NN0J54I75KrekPMQRObsz4uN14DV8kCIRgQ3E5q1S12GuWeTMZH1gaSnDSqsywpH6MeVV63XeWivr3hlgfTu2Bqs6YcPcFWv1HoZ1sebYA5EjQSut5k9G8iSc=" target="_blank">
https://nam04.safelinks.protection.outlook.com/?url=https%3A%2F%2Flists.freedesktop.org%2Fmailman%2Flistinfo%2Fmesa-dev&amp;data=02%7C01%7Cjfonseca%40vmware.com%7Cc8b86d6f312c48d77f3c08d7ba72774f%7Cb39138ca3cee4b4aa4d6cd83d9dd62f0%7C0%7C0%7C637182873108493719&amp;sdata=oKvqrkRoo6%2FqGW5BWbe1exIcBF%2BI%2BblcWIIVo3iW9J0%3D&amp;reserved=0</a><br>
<br>
<br>
<br>
</div>
</span></font></div>
</div>
</div>
_______________________________________________<br>
mesa-dev mailing list<br>
<a href="mailto:mesa-dev@lists.freedesktop.org" target="_blank">mesa-dev@lists.freedesktop.org</a><br>
<a href="https://nam04.safelinks.protection.outlook.com/?url=https%3A%2F%2Flists.freedesktop.org%2Fmailman%2Flistinfo%2Fmesa-dev&data=02%7C01%7Cjfonseca%40vmware.com%7C1e432c5661d74414562208d7d1e9c589%7Cb39138ca3cee4b4aa4d6cd83d9dd62f0%7C0%7C0%7C637208674291844358&sdata=z7kuex5o8Pjn7PKJ1uk6wC1hhB1PbXXBioPYyGm7wvs%3D&reserved=0" originalsrc="https://lists.freedesktop.org/mailman/listinfo/mesa-dev" shash="xaHAbVUBuHLgBwwvv+e7xG/OoivmkdbkNAPVPVS7W4dMOYgRq2NN0J54I75KrekPMQRObsz4uN14DV8kCIRgQ3E5q1S12GuWeTMZH1gaSnDSqsywpH6MeVV63XeWivr3hlgfTu2Bqs6YcPcFWv1HoZ1sebYA5EjQSut5k9G8iSc=" rel="noreferrer" target="_blank">https://lists.freedesktop.org/mailman/listinfo/mesa-dev</a><br>
</blockquote>
</div>
</div>
</body>
</html>