mirror of
https://github.com/matrix-construct/construct
synced 2025-02-18 01:30:12 +01:00
ircd: Add missing conditions around clang/opencl tgts.
This commit is contained in:
parent
0be4c243bb
commit
7fbb66f5a7
1 changed files with 4 additions and 0 deletions
|
@ -352,10 +352,14 @@ endif
|
||||||
#
|
#
|
||||||
|
|
||||||
# LLVM PGO text to binary for -fprofile-use
|
# LLVM PGO text to binary for -fprofile-use
|
||||||
|
if CLANG
|
||||||
default.profdata:
|
default.profdata:
|
||||||
-$(LLVM_PROFDATA) merge -output=default.profdata default.proftext
|
-$(LLVM_PROFDATA) merge -output=default.profdata default.proftext
|
||||||
|
endif
|
||||||
|
|
||||||
if CLANG
|
if CLANG
|
||||||
|
if OPENCL
|
||||||
gpt_gpu.o: gpt_gpu.cl
|
gpt_gpu.o: gpt_gpu.cl
|
||||||
$(CC) -std=CL1.1 $(AM_CPPFLAGS) $(CPPFLAGS) $(DEFS) -Xclang -finclude-default-header -include "ircd/config.h" -o $@ -c $^
|
$(CC) -std=CL1.1 $(AM_CPPFLAGS) $(CPPFLAGS) $(DEFS) -Xclang -finclude-default-header -include "ircd/config.h" -o $@ -c $^
|
||||||
endif
|
endif
|
||||||
|
endif
|
||||||
|
|
Loading…
Add table
Reference in a new issue