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

Default to Release build #1741

Merged
merged 5 commits into from
Apr 30, 2024
Merged

Conversation

bennibbelink
Copy link
Contributor

Updates install.py to set -DCMAKE_BUILD_TYPE=Release if no --build-type is specified. Removes this flag from the dockerfiles where we install cyclus.

Copy link

github-actions bot commented Apr 30, 2024

Downstream Build Status Report - 1d0eaee - 2024-04-30 12:57:48 -0500

Build FROM cyclus_20.04_apt/cyclus
  • Cycamore: Success
  • Cymetric: Success
Build FROM cyclus_20.04_conda/cyclus
  • Cycamore: Success
  • Cymetric: Success
Build FROM cyclus_22.04_apt/cyclus
  • Cycamore: Success
  • Cymetric: Success
Build FROM cyclus_22.04_conda/cyclus
  • Cycamore: Success
  • Cymetric: Success

@coveralls
Copy link
Collaborator

coveralls commented Apr 30, 2024

Pull Request Test Coverage Report for Build 8899434289

Details

  • 0 of 0 changed or added relevant lines in 0 files are covered.
  • No unchanged relevant lines lost coverage.
  • Overall coverage remained the same at 40.725%

Totals Coverage Status
Change from base Build 8894105385: 0.0%
Covered Lines: 53135
Relevant Lines: 130473

💛 - Coveralls

Copy link
Member

@gonuke gonuke left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

If we set the default in argparse it will be visible to users

install.py Outdated
Comment on lines 82 to 83
else:
cmake_cmd += ['-DCMAKE_BUILD_TYPE=Release']
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Or should we set a default in the argparse declaration of this CLI parameter?

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

That is a better solution, thanks for the suggestion @gonuke

@gonuke
Copy link
Member

gonuke commented Apr 30, 2024

Do we need the same change for Cycamore?

@bennibbelink
Copy link
Contributor Author

Yes, please see cyclus/cycamore#600

@gonuke gonuke merged commit 7966963 into cyclus:main Apr 30, 2024
10 checks passed
@bennibbelink bennibbelink deleted the release-build-default branch April 30, 2024 18:13
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

3 participants