Changeset 170040 in webkit
- Timestamp:
- Jun 16, 2014 7:26:36 PM (10 years ago)
- Location:
- trunk/Tools
- Files:
-
- 5 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/Tools/ChangeLog
r170039 r170040 1 2014-06-16 Gwang Yoon Hwang <yoon@igalia.com> 2 3 [GTK] Add llvmpipe (Mesa) to the JHBuild moduleset and force it when running layout tests 4 https://bugs.webkit.org/show_bug.cgi?id=131472 5 6 Reviewed by Martin Robinson. 7 8 This patch reapplies r167510 with fixes to add llvm as a dependency for llvmpipe. 9 10 * Scripts/webkitpy/port/xvfbdriver.py: 11 (XvfbDriver._start): Use the LLVMPIPE_LIBGL_PATH to set the LD_LIBRARY_PATH 12 when running WebKitTestRunner with the Xvfb driver. 13 * gtk/install-dependencies: Add LLVM as a dependency to build llvmpipe. 14 * gtk/jhbuild.modules: Add Mesa to the modulelist so that the llvmpipe libGL is build, but not 15 installed. 16 * gtk/jhbuildrc: Set the LLVMPIPE_LIBGL_PATH environment variable so that the test driver knows 17 how to properly set the LD_LIBRARY_PATH variable. We do this because it is much easier to 18 calculate the path in the jhbuildrc than in the test driver code. This simplifies things a great 19 deal. 20 1 21 2014-06-16 Tanay C <tanay.c@samsung.com> 2 22 -
trunk/Tools/Scripts/webkitpy/port/xvfbdriver.py
r156640 r170040 78 78 self._lock_file = "/tmp/.X%d-lock" % display_id 79 79 80 server_name = self._port.driver_name() 81 environment = self._port.setup_environ_for_server(server_name) 82 83 llvmpipe_libgl_path = os.environ.get('LLVMPIPE_LIBGL_PATH') 84 if llvmpipe_libgl_path: 85 environment['LD_LIBRARY_PATH'] = '%s:%s' % (llvmpipe_libgl_path, os.environ.get('LD_LIBRARY_PATH', '')) 86 80 87 run_xvfb = ["Xvfb", ":%d" % display_id, "-screen", "0", "800x600x%s" % self._xvfb_screen_depth(), "-nolisten", "tcp"] 81 88 with open(os.devnull, 'w') as devnull: … … 86 93 time.sleep(self._startup_delay_secs) 87 94 88 server_name = self._port.driver_name()89 environment = self._port.setup_environ_for_server(server_name)90 95 # We must do this here because the DISPLAY number depends on _worker_number 91 96 environment['DISPLAY'] = ":%d" % display_id -
trunk/Tools/gtk/install-dependencies
r169254 r170040 110 110 libxfont-dev \ 111 111 libxkbfile-dev \ 112 llvm \ 112 113 python-dev \ 113 114 ragel \ … … 207 208 libtiff-devel \ 208 209 libxkbfile-devel \ 210 llvm \ 209 211 mesa-libEGL-devel \ 210 212 ragel \ -
trunk/Tools/gtk/jhbuild.modules
r167567 r170040 30 30 <dep package="gst-libav"/> 31 31 <dep package="xserver"/> 32 <dep package="mesa"/> 32 33 </dependencies> 33 34 </metamodule> … … 49 50 <repository type="tarball" name="xorg" 50 51 href="http://xorg.freedesktop.org"/> 52 <repository type="tarball" name="ftp.freedesktop.org" 53 href="ftp://ftp.freedesktop.org"/> 51 54 <repository type="tarball" name="xmlsoft.org" 52 55 href="ftp://xmlsoft.org"/> … … 332 335 </autotools> 333 336 337 <autotools id="mesa" autogenargs="--enable-xlib-glx --disable-dri --with-gallium-drivers=swrast" skip-install="true"> 338 <branch module="/pub/mesa/10.2.1/MesaLib-10.2.1.tar.bz2" version="10.2.1" 339 checkoutdir="Mesa-10.2.1" 340 repo="ftp.freedesktop.org" 341 hash="sha256:461277909207da689d8152cfbf9e182ea6f70e1e672ab64c67df83725c8d2b54"/> 342 </autotools> 343 334 344 </moduleset> -
trunk/Tools/gtk/jhbuildrc
r167567 r170040 32 32 # annotations sooner rather than later. 33 33 autogenargs='--enable-introspection' 34 35 if use_lib64: 36 os.environ['LLVMPIPE_LIBGL_PATH'] = os.path.abspath(os.path.join(checkoutroot, 'Mesa-10.2.1', 'lib64')) 37 else: 38 os.environ['LLVMPIPE_LIBGL_PATH'] = os.path.abspath(os.path.join(checkoutroot, 'Mesa-10.2.1', 'lib'))
Note: See TracChangeset
for help on using the changeset viewer.