forked from GPUOpen-Drivers/llpc
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathMakefile.apillpc
More file actions
46 lines (38 loc) · 1.04 KB
/
Makefile.apillpc
File metadata and controls
46 lines (38 loc) · 1.04 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
include $(ICD_DEPTH)/make/icddefs
include $(ICD_DEPTH)/make/Makefile.$(ICD_PLATFORM).icd
LIB_TARGET = icdapillpc
ICD_SRCDIR = $(LLPC_DEPTH)
SRCPATH = $(ICD_SRCDIR)
LLVM_BUILD_DIR = $(ICD_DEPTH)/build/$(ICD_OS_BUILD)/imported/llvm/B_$(BUILD_TYPE)
LLPC_VULKAN_INCLUDE = $(ICD_DEPTH)/api/include/khronos
ifeq ($(VKI_BUILD_GFX9), 1)
ifeq ($(VKI_BUILD_VEGA20), 1)
LLPC_BUILD_VEGA20 = 1
endif
ifeq ($(VKI_BUILD_RAVEN2), 1)
LLPC_BUILD_RAVEN2 = 1
endif
endif
#if VKI_BUILD_GFX10
# GFX10 specific settings
ifeq ($(VKI_BUILD_GFX10), 1)
# GFX10 support relies on GFX9 support
LLPC_BUILD_VEGA20 = 1
LLPC_BUILD_RAVEN2 = 1
LLPC_BUILD_GFX10 = 1
endif
#endif
# Turn on "warnings as errors" if enabled.
ifeq ($(ICD_PLATFORM), win)
ifeq ($(ICD_ANALYSIS_WARNINGS_AS_ERRORS), 1)
LCXXOPTS += /analyze
else
LCXXOPTS += /analyze:WX-
endif
LLPC_PLATFORM = win
endif
ifeq ($(ICD_PLATFORM), lnx)
LLPC_PLATFORM = lnx
endif
include $(LLPC_DEPTH)/make/Makefile.llpc
include $(ICD_DEPTH)/make/icdrules