Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Use -fsyntax-only in Jenkins #1350

Open
wants to merge 12 commits into
base: master
Choose a base branch
from
Open

Use -fsyntax-only in Jenkins #1350

wants to merge 12 commits into from

Conversation

WardBrian
Copy link
Member

Submission Checklist

  • Run unit tests
  • Documentation
    • If a user-facing facing change was made, the documentation PR is here:
    • OR, no user-facing changes were made

Release notes

Try to use -fsyntax-only argument to Clang to speed up CI during the phases that only check if something actually compiles.

-fsyntax-only

Run the preprocessor, parser and semantic analysis stages

Copyright and Licensing

By submitting this pull request, the copyright holder is agreeing to
license the submitted work under the BSD 3-clause license (https://opensource.org/licenses/BSD-3-Clause)

@WardBrian WardBrian changed the title Try -fsyntax-only in Jenkins Use -fsyntax-only in Jenkins Sep 22, 2023
@WardBrian WardBrian marked this pull request as ready for review September 22, 2023 14:13
@WardBrian
Copy link
Member Author

This shaves ~20-30 minutes off of the CI compared to what we do right now. If we don't actually care about code-generating or linking of the stanc-generated code, it seems like a nice speedup

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

1 participant