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

Build spec with -O2 optimization #187

Open
jonathanirvings opened this issue Mar 9, 2024 · 1 comment
Open

Build spec with -O2 optimization #187

jonathanirvings opened this issue Mar 9, 2024 · 1 comment

Comments

@jonathanirvings
Copy link
Contributor

jonathanirvings commented Mar 9, 2024

For complicated generators, building with vs without compiler optimization can differ between minutes vs hours.

This should be a simple change in https://github.com/ia-toki/tcframe/blob/master/scripts/tcframe#L20

@fushar
Copy link
Member

fushar commented Oct 5, 2024

Actually it's already possible via TCFRAME_CXX_FLAGS. See: https://tcframe.toki.id/en/stable/topic-guides/spec.html#compiling-spec-file. Maybe we can include -O2 in the default compilation command 🤔

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

No branches or pull requests

2 participants