From 3180f9c3e7aad4212f56635f8bb4ab063009211c Mon Sep 17 00:00:00 2001 From: Sam Skalicky Date: Fri, 1 Mar 2019 16:26:21 -0800 Subject: [PATCH] added mkldnn dependency for plugin compile target (#14274) --- Makefile | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Makefile b/Makefile index ed450196875f..cd6610581893 100644 --- a/Makefile +++ b/Makefile @@ -489,7 +489,7 @@ build/plugin/%_gpu.o: plugin/%.cu $(CXX) -std=c++11 $(CFLAGS) -MM -MT build/plugin/$*_gpu.o $< >build/plugin/$*_gpu.d $(NVCC) -c -o $@ $(NVCCFLAGS) $(CUDA_ARCH) -Xcompiler "$(CFLAGS)" $< -build/plugin/%.o: plugin/%.cc +build/plugin/%.o: plugin/%.cc | mkldnn @mkdir -p $(@D) $(CXX) -std=c++11 -c $(CFLAGS) -MMD -c $< -o $@