624f68b2b2
* Fix profiler plugin segfault by correctly setting p2p->func * Look for librccl-profiler.so instead of libnccl-profiler.so Signed-off-by: rahulvaidya20 <ravaidya@amd.com> --------- Signed-off-by: rahulvaidya20 <ravaidya@amd.com> Co-authored-by: Yongjie Qiu <Yongjie.Qiu@amd.com>
23 行
498 B
Makefile
23 行
498 B
Makefile
#
|
|
# Copyright (c) 2024, NVIDIA CORPORATION. All rights reserved.
|
|
#
|
|
# See LICENSE.txt for license information
|
|
#
|
|
.DEFAULT_GOAL: build
|
|
include ../../makefiles/common.mk
|
|
SRCDIR ?= $(abspath ../..)
|
|
BUILDDIR ?= .
|
|
NCCLDIR := $(BUILDDIR)
|
|
|
|
SRC_FILES := $(wildcard *.c)
|
|
|
|
build: ${BUILDDIR}/librccl-profiler.so
|
|
|
|
${BUILDDIR}/librccl-profiler.so: ${SRC_FILES}
|
|
@printf "Compiling %-35s > %s\n" $< $@
|
|
@mkdir -p ${BUILDDIR}
|
|
$(CC) -Inccl -fPIC -shared -o $@ $^
|
|
|
|
clean:
|
|
rm -f ${BUILDDIR}/librccl-profiler.so
|