mirror of
https://gitlab.freedesktop.org/mesa/mesa.git
synced 2026-05-06 05:08:08 +02:00
radeon: fix r600 builds when old version of llvm is present
Reviewed-by: Edward O'Callaghan <funfunctor@folklore1984.net>
This commit is contained in:
parent
fb26e6c0d4
commit
4711e54336
1 changed files with 2 additions and 2 deletions
|
|
@ -43,7 +43,7 @@
|
|||
#define HAVE_LLVM 0
|
||||
#endif
|
||||
|
||||
#if HAVE_LLVM
|
||||
#if HAVE_LLVM >= 0x0306
|
||||
#include <llvm-c/TargetMachine.h>
|
||||
#endif
|
||||
|
||||
|
|
@ -793,7 +793,7 @@ static void r600_disk_cache_create(struct r600_common_screen *rscreen)
|
|||
if (rscreen->chip_class < SI) {
|
||||
res = asprintf(×tamp_str, "%u",mesa_timestamp);
|
||||
}
|
||||
#if HAVE_LLVM
|
||||
#if HAVE_LLVM >= 0x0306
|
||||
else {
|
||||
uint32_t llvm_timestamp;
|
||||
if (disk_cache_get_function_timestamp(LLVMInitializeAMDGPUTargetInfo,
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue