mirror of
https://github.com/matrix-construct/construct
synced 2025-01-07 13:25:22 +01:00
ircd/Makefile: Platform-conditional compilation for amdgcn/r600.
This commit is contained in:
parent
8c629f20a6
commit
e30c77283c
1 changed files with 8 additions and 0 deletions
|
@ -436,6 +436,8 @@ gpt_gpu.spv.cc: gpt_gpu.spv
|
|||
# GCN-HSA
|
||||
#
|
||||
|
||||
if AMD64
|
||||
|
||||
GCN_HSA_TARGET = amdgcn--amdhsa
|
||||
|
||||
GCN_HSA_CPPFLAGS = $(GPU_CPPFLAGS)
|
||||
|
@ -470,10 +472,14 @@ libircd_la_SOURCES += gpt_gpu.gcn_hsa.bc.cc
|
|||
gpt_gpu.gcn_hsa.bc.cc: gpt_gpu.gcn_hsa.bc
|
||||
xxd -i $^ $@
|
||||
|
||||
endif # AMD64
|
||||
|
||||
#
|
||||
# R600
|
||||
#
|
||||
|
||||
if AMD64
|
||||
|
||||
R600_TARGET = r600--
|
||||
|
||||
#
|
||||
|
@ -511,6 +517,8 @@ libircd_la_SOURCES += gpt_gpu.r600_barts.bc.cc
|
|||
gpt_gpu.r600_barts.bc.cc: gpt_gpu.r600_barts.bc
|
||||
xxd -i $^ $@
|
||||
|
||||
endif # AMD64
|
||||
|
||||
#
|
||||
#
|
||||
#
|
||||
|
|
Loading…
Reference in a new issue