[Mesa-dev] [PATCH 03/12] mesa: Replace a priori knowledge of gcc attributes with configure tests.

Brian Paul brianp at vmware.com
Mon Sep 22 14:23:39 PDT 2014


On 09/22/2014 02:57 PM, Matt Turner wrote:
> On Mon, Sep 22, 2014 at 1:34 PM, Matt Turner <mattst88 at gmail.com> wrote:
>> On Mon, Sep 22, 2014 at 12:50 PM, Brian Paul <brianp at vmware.com> wrote:
>>> Yeah, the scons build is broken on Linux even:
>>
>> Oh, thanks. You're right. I'll think about how to do this with scons.
>
> Is scons supposed to be able to do incremental rebuilds? I get this on
> the second invocation:
>
> mattst88 at macbook mesa % scons
> scons: Reading SConscript files ...
> Checking for GCC ...  yes
> Checking for Clang ...  no
> scons: Found LLVM version 3.5.0
> Checking for X11 (x11 xext xdamage xfixes)... yes
> Checking for XCB (x11-xcb xcb-glx >= 1.8.1 xcb-dri2 >= 1.8)... yes
> Checking for XF86VIDMODE (xxf86vm)... yes
> Checking for DRM (libdrm >= 2.4.38)... yes
> Checking for UDEV (libudev >= 151)... yes
> OSError: [Errno 2] No such file or directory:
>    File "/home/mattst88/projects/mesa/SConstruct", line 138:
>      duplicate = 0 # https://urldefense.proofpoint.com/v1/url?u=http://www.scons.org/doc/0.97/HTML/scons-user/x2261.html&k=oIvRg1%2BdGAgOoM1BIlLLqw%3D%3D%0A&r=lGQMzzTgII0I7jefp2FHq7WtZ%2BTLs8wadB%2BiIj9xpBY%3D%0A&m=winAj0%2F1c5qd4uBzsufXwwJnvN3dLsaGvhQpItBxMIs%3D%0A&s=2eceb0cf6d2c25e6e3a529fb211b5cd970f990d84b54b55dda69a662e4009668
>    File "/usr/lib64/python2.7/site-packages/SCons/Script/SConscript.py",
> line 609:
>      return method(*args, **kw)
>    File "/usr/lib64/python2.7/site-packages/SCons/Script/SConscript.py",
> line 546:
>      return _SConscript(self.fs, *files, **subst_kw)
>    File "/usr/lib64/python2.7/site-packages/SCons/Script/SConscript.py",
> line 260:
>      exec _file_ in call_stack[-1].globals
>    File "/home/mattst88/projects/mesa/src/SConscript", line 28:
>      SConscript('mesa/SConscript')
>    File "/usr/lib64/python2.7/site-packages/SCons/Script/SConscript.py",
> line 609:
>      return method(*args, **kw)
>    File "/usr/lib64/python2.7/site-packages/SCons/Script/SConscript.py",
> line 546:
>      return _SConscript(self.fs, *files, **subst_kw)
>    File "/usr/lib64/python2.7/site-packages/SCons/Script/SConscript.py",
> line 260:
>      exec _file_ in call_stack[-1].globals
>    File "/home/mattst88/projects/mesa/src/mesa/SConscript", line 141:
>      write_git_sha1_h_file("main/git_sha1.h")
>    File "/home/mattst88/projects/mesa/src/mesa/SConscript", line 136:
>      os.rename(tempfile, filename)
> mattst88 at macbook mesa %
>

Yes, running scons a second time works for me.

-Brian



More information about the mesa-dev mailing list