Skip to content

Commit

Permalink
Fix Makefile for LLVM11 (#6343)
Browse files Browse the repository at this point in the history
  • Loading branch information
steven-johnson authored Oct 22, 2021
1 parent 6c9224a commit 297c30a
Showing 1 changed file with 5 additions and 1 deletion.
6 changes: 5 additions & 1 deletion Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -843,9 +843,13 @@ RUNTIME_LL_COMPONENTS = \
x86_avx \
x86_avx2 \
x86_avx512 \
x86_amx \
x86_sse41

ifeq (,$(findstring $(LLVM_VERSION_TIMES_10), 110 111))
# x86_amx.ll won't compile under LLVM11, but we don't need it there, either
RUNTIME_LL_COMPONENTS += x86_amx
endif

RUNTIME_EXPORTED_INCLUDES = $(INCLUDE_DIR)/HalideRuntime.h \
$(INCLUDE_DIR)/HalideRuntimeD3D12Compute.h \
$(INCLUDE_DIR)/HalideRuntimeCuda.h \
Expand Down

0 comments on commit 297c30a

Please sign in to comment.