cmdstanr composes <make/local STANCFLAGS>, which means the explicit stanc_options can be overruled by make/local. I propose we change the order to <make/local STANCFLAGS> , so that make/local provides the defaults which the user can override with explicit stanc_options argument. For example, if make/local has --O1 and the user wants to test --Oexperimental they could the latter with stanc_options without need to edit make/local.
I can make a PR, if it is agreed that is a good idea, ping @jgabry
cmdstanrcomposes <make/local STANCFLAGS>, which means the explicitstanc_optionscan be overruled bymake/local. I propose we change the order to <make/local STANCFLAGS> , so thatmake/localprovides the defaults which the user can override with explicitstanc_optionsargument. For example, ifmake/localhas--O1and the user wants to test--Oexperimentalthey could the latter withstanc_optionswithout need to editmake/local.I can make a PR, if it is agreed that is a good idea, ping @jgabry