mirror of
https://gitlab.freedesktop.org/mesa/mesa.git
synced 2026-05-04 22:49:13 +02:00
scons: Fix build without llvm.
radeonsi depends on llvm, so it must be disabled if llvm support is not enabled.
This commit is contained in:
parent
4c15a77f27
commit
4c23acb269
1 changed files with 8 additions and 2 deletions
|
|
@ -33,8 +33,11 @@ if env['drm']:
|
|||
SConscript([
|
||||
'drivers/r300/SConscript',
|
||||
'drivers/r600/SConscript',
|
||||
'drivers/radeonsi/SConscript',
|
||||
])
|
||||
if env['llvm']:
|
||||
SConscript([
|
||||
'drivers/radeonsi/SConscript',
|
||||
])
|
||||
# XXX: nouveau drivers have a tight dependency on libdrm, so to enable
|
||||
# we need some version logic before we enable them. Also, ATM there is
|
||||
# no nouveau target in scons
|
||||
|
|
@ -153,8 +156,11 @@ if not env['embedded']:
|
|||
SConscript([
|
||||
'targets/dri-r300/SConscript',
|
||||
'targets/dri-r600/SConscript',
|
||||
'targets/dri-radeonsi/SConscript',
|
||||
])
|
||||
if env['llvm']:
|
||||
SConscript([
|
||||
'targets/dri-radeonsi/SConscript',
|
||||
])
|
||||
|
||||
if env['xorg'] and env['drm']:
|
||||
SConscript([
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue