From 2d68e808e3e5e67a2ce9b3f92df2a4df4607f80d Mon Sep 17 00:00:00 2001 From: Saeed Maleki Date: Wed, 12 Apr 2023 19:50:45 +0000 Subject: [PATCH] fix for MPI requirement for mscclpp-tests --- Makefile | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/Makefile b/Makefile index 972582eb..899fc5d3 100644 --- a/Makefile +++ b/Makefile @@ -162,7 +162,10 @@ INCLUDE := -Isrc -Isrc/include all: build -build: lib tests mscclpp-test +build: lib tests +ifeq ($(USE_MPI_FOR_TESTS), 0) +build += mscclpp-test +endif lib: $(LIBOBJTARGETS) $(INCTARGETS) $(LIBTARGET)