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

Matt Turner mattst88 at gmail.com
Mon Sep 22 13:57:13 PDT 2014


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 # http://www.scons.org/doc/0.97/HTML/scons-user/x2261.html
  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 %


More information about the mesa-dev mailing list