Skip to content

Commit

Permalink
Bump Stan to include makefile fix
Browse files Browse the repository at this point in the history
  • Loading branch information
WardBrian committed May 28, 2024
1 parent cdd06da commit f87c758
Show file tree
Hide file tree
Showing 2 changed files with 8 additions and 1 deletion.
7 changes: 7 additions & 0 deletions Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -74,6 +74,13 @@ PRECOMPILED_HEADERS ?= false
ifeq ($(PRECOMPILED_HEADERS),true)
PRECOMPILED_MODEL_HEADER=$(STAN)src/stan/model/model_header.hpp.gch/model_header$(STAN_FLAGS)_$(CXX_MAJOR)_$(CXX_MINOR).hpp.gch

$(patsubst %.hpp.gch,%.d,$(PRECOMPILED_MODEL_HEADER)) : DEPTARGETS = -MT $@
$(patsubst %.hpp.gch,%.d,$(PRECOMPILED_MODEL_HEADER)) : $(STAN)src/stan/model/model_header.hpp
@mkdir -p $(dir $@)
$(COMPILE.cpp) $(DEPFLAGS) $<

-include $(patsubst %.hpp.gch,%.d,$(PRECOMPILED_MODEL_HEADER))

$(PRECOMPILED_MODEL_HEADER): $(STAN)src/stan/model/model_header.hpp
@echo ''
@echo '--- Compiling pre-compiled header. ---'
Expand Down
2 changes: 1 addition & 1 deletion stan
Submodule stan updated 1 files
+1 −1 lib/stan_math

0 comments on commit f87c758

Please sign in to comment.