Skip to content

Reorder compilation flag composition #1268

Description

@avehtari

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

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions