Skip to content

Commit

Permalink
Merge pull request #1285 from stan-dev/windows-dont-copy-nonexistent-tbb
Browse files Browse the repository at this point in the history
  • Loading branch information
WardBrian authored Aug 26, 2024
2 parents 30c34c6 + 8780146 commit cf20966
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions make/program
Original file line number Diff line number Diff line change
Expand Up @@ -82,6 +82,7 @@ endif
$(LINK.cpp) $(subst \,/,$*.o) $(CMDSTAN_MAIN_O) $(LDLIBS) $(SUNDIALS_TARGETS) $(MPI_TARGETS) $(TBB_TARGETS) $(subst \,/,$(OUTPUT_OPTION))

ifeq ($(OS),Windows_NT)
ifneq (,$(TBB_TARGETS))
ifeq (,$(findstring tbb.dll, $(notdir $(shell where tbb.dll))))
@echo 'Intel TBB is not in PATH.'
@echo 'Consider calling '
Expand All @@ -94,6 +95,7 @@ ifeq (,$(findstring tbb.dll, $(notdir $(shell where tbb.dll))))
fi
endif
endif
endif

$(patsubst %.cpp,%$(STAN_FLAGS).d,$(CMDSTAN_MAIN)) : $(CMDSTAN_MAIN)
$(COMPILE.cpp) $(DEPFLAGS) $<
Expand Down

0 comments on commit cf20966

Please sign in to comment.