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

Fix #2250 by using a consistent naming strategy. #2251

Merged
merged 1 commit into from
Jan 19, 2024

Conversation

thorstenhater
Copy link
Contributor

Use the module_name string to name files consistently.

Fixes #2250

@thorstenhater thorstenhater requested a review from Helveg January 18, 2024 13:56
@thorstenhater
Copy link
Contributor Author

@Helveg does this fix your troubles?

@thorstenhater thorstenhater marked this pull request as ready for review January 18, 2024 14:43
Copy link
Contributor

@boeschf boeschf left a comment

Choose a reason for hiding this comment

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

lgtm

Comment on lines +249 to +250
fs::path fn = outdir / (mod + "_cpu");
fn.replace_extension(".cpp");
Copy link
Contributor

Choose a reason for hiding this comment

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

Suggested change
fs::path fn = outdir / (mod + "_cpu");
fn.replace_extension(".cpp");
fs::path fn = outdir / (mod + "_cpu.cpp");

Copy link
Contributor Author

Choose a reason for hiding this comment

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

I kind of like the symmetry. Yes, it's redundant, but I like it anyway ;)

@thorstenhater thorstenhater merged commit 9f18a50 into arbor-sim:master Jan 19, 2024
21 checks passed
@thorstenhater thorstenhater deleted the bug/abc-output-naming branch January 19, 2024 08:51
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.

Building a catalogue with a mechanism with a different SUFFIX than filename crashes
2 participants