文件
rocm-systems/projects/rccl/ext-tuner/basic/Makefile
T

忽略 .git-blame-ignore-revs 的修订。点击 绕过 并查看正常的 Blame 视图。

24 行
555 B
Makefile

2025-06-18 10:34:47 -07:00
#
# Copyright (c) 2015-2019, 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)
DST_DIR := $(BUILDDIR)/test/unit/plugins
build: ${BUILDDIR}/libnccl-tuner-basic.so
${BUILDDIR}/libnccl-tuner-basic.so: ${SRC_FILES}
@printf "Compiling %-35s > %s\n" $< $@
@mkdir -p ${BUILDDIR}
$(CC) -Inccl -fPIC -shared -o $@ $^
clean:
rm -f ${BUILDDIR}/libnccl-tuner-basic.so