From 224eddfc15ded69f41f6e8dd4a40a6971eb0ae6f Mon Sep 17 00:00:00 2001 From: Sylvain Jeaugey Date: Wed, 9 Aug 2017 10:41:31 -0700 Subject: [PATCH] Fix NCCL_HOME to be consistent with README [ROCm/rccl-tests commit: 25016c8eebbf8200208bfce9ebfbc1ea2254e915] --- projects/rccl-tests/src/Makefile | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/projects/rccl-tests/src/Makefile b/projects/rccl-tests/src/Makefile index 6188d01424..45d31d54b0 100644 --- a/projects/rccl-tests/src/Makefile +++ b/projects/rccl-tests/src/Makefile @@ -43,9 +43,9 @@ endif .PHONY: build clean BUILDDIR ?= ../build -ifneq ($(NCCLDIR), "") -NVCUFLAGS += -I$(NCCLDIR)/include/ -NVLDFLAGS += -L$(NCCLDIR)/lib +ifneq ($(NCCL_HOME), "") +NVCUFLAGS += -I$(NCCL_HOME)/include/ +NVLDFLAGS += -L$(NCCL_HOME)/lib endif ifeq ($(MPI), 1)