зеркало из https://github.com/microsoft/msccl.git
Merge pull request #5 from lukeyeager/tests-nvml
Don't link tests with NVML
This commit is contained in:
Коммит
eb2d869f71
4
Makefile
4
Makefile
|
@ -111,8 +111,8 @@ test : lib $(TESTBINS)
|
||||||
$(TSTDIR)/% : src/%.cu lib
|
$(TSTDIR)/% : src/%.cu lib
|
||||||
@printf "Building %-25s > %-24s\n" $< $@
|
@printf "Building %-25s > %-24s\n" $< $@
|
||||||
@mkdir -p $(TSTDIR)
|
@mkdir -p $(TSTDIR)
|
||||||
@$(NVCC) -Ibuild/include $(CPPFLAGS) $(NVCUFLAGS) --compiler-options "$(CXXFLAGS)" -o $@ $< -Lbuild/lib $(LIBLINK) $(LDFLAGS) -lcuda -lcurand -lnvToolsExt -lnvidia-ml
|
@$(NVCC) -Ibuild/include $(CPPFLAGS) $(NVCUFLAGS) --compiler-options "$(CXXFLAGS)" -o $@ $< -Lbuild/lib $(LIBLINK) $(LDFLAGS) -lcuda -lcurand -lnvToolsExt
|
||||||
@$(NVCC) -M -Ibuild/include $(CPPFLAGS) $(NVCUFLAGS) --compiler-options "$(CXXFLAGS)" $< -Lbuild/lib $(LIBLINK) $(LDFLAGS) -lcuda -lcurand -lnvToolsExt -lnvidia-ml > $(@:%=%.d.tmp)
|
@$(NVCC) -M -Ibuild/include $(CPPFLAGS) $(NVCUFLAGS) --compiler-options "$(CXXFLAGS)" $< -Lbuild/lib $(LIBLINK) $(LDFLAGS) -lcuda -lcurand -lnvToolsExt > $(@:%=%.d.tmp)
|
||||||
@sed "0,/^.*:/s//$(subst /,\/,$@):/" $(@:%=%.d.tmp) > $(@:%=%.d)
|
@sed "0,/^.*:/s//$(subst /,\/,$@):/" $(@:%=%.d.tmp) > $(@:%=%.d)
|
||||||
@sed -e 's/.*://' -e 's/\\$$//' < $(@:%=%.d.tmp) | fmt -1 | \
|
@sed -e 's/.*://' -e 's/\\$$//' < $(@:%=%.d.tmp) | fmt -1 | \
|
||||||
sed -e 's/^ *//' -e 's/$$/:/' >> $(@:%=%.d)
|
sed -e 's/^ *//' -e 's/$$/:/' >> $(@:%=%.d)
|
||||||
|
|
Загрузка…
Ссылка в новой задаче