diff options
author | Jose Fonseca <[email protected]> | 2020-03-27 15:07:32 +0000 |
---|---|---|
committer | Marge Bot <[email protected]> | 2020-03-30 13:38:01 +0000 |
commit | 2e92d3381988a85b2a6dcc8d8a8d7158ace9f348 (patch) | |
tree | a9e4d318b6fa5064f71d59a96d04b90999cae525 /src/gallium/targets/dri | |
parent | 0f847b18bc91dced5725169e8c96bef6c077db90 (diff) |
scons: Prune out unnecessary targets.
This prunes out all targets except libgl-gdi, libgl-xlib, and svga, as
suggested by Marek Olšák.
libgl-xlib will be remove once I have had time to confirm no automated
tests we have rely upon it.
There are also a bunch of Makefile.sources which become orphaned as
result, that are not taken care of in this change.
v2: Prune remainders of swr support.
Tested-by: Marge Bot <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/4348>
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/4348>
Diffstat (limited to 'src/gallium/targets/dri')
-rw-r--r-- | src/gallium/targets/dri/SConscript | 59 |
1 files changed, 0 insertions, 59 deletions
diff --git a/src/gallium/targets/dri/SConscript b/src/gallium/targets/dri/SConscript deleted file mode 100644 index 69cce3e95fa..00000000000 --- a/src/gallium/targets/dri/SConscript +++ /dev/null @@ -1,59 +0,0 @@ -Import('*') - -env = drienv.Clone() - -if env['suncc']: - print('warning: not building dri-vmwgfx') - Return() - -env.Append(CPPPATH = [ - '#/src/loader', - '#/src/mapi', - '#/src/mesa', - '#/src/mesa/drivers/dri/common', - '#/src/gallium/state_trackers/dri', -]) - -if env['llvm']: - env.Append(CPPDEFINES = 'GALLIUM_LLVMPIPE') - env.Prepend(LIBS = [llvmpipe]) - -env.PkgUseModules('DRM') - -env.Append(CPPDEFINES = [ - 'GALLIUM_VMWGFX', - 'GALLIUM_SOFTPIPE', -]) - -env.Prepend(LIBS = [ - st_dri, - svgadrm, - svga, - ws_dri, - softpipe, - pipe_loader, - libloader, - mesautil, - compiler, - mesa, - glsl, - nir, - spirv, - gallium, - megadrivers_stub, - dri_common, -]) - -module = env.LoadableModule( - target = 'gallium_dri.so', - source = 'target.c', - SHLIBPREFIX = '', -) - -# vmwgfx_dri.so -env.Command('vmwgfx_dri.so', 'gallium_dri.so', "ln -f ${SOURCE} ${TARGET}") -# swrast_dri.so -env.Command('swrast_dri.so', 'gallium_dri.so', "ln -f ${SOURCE} ${TARGET}") - -env.Alias('dri-vmwgfx', module) -env.Alias('dri-swrast', module) |