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

Adjust test-dyno Makefile to allow parallel on macOS #26030

Merged
merged 1 commit into from
Oct 8, 2024

Conversation

riftEmber
Copy link
Member

@riftEmber riftEmber commented Oct 2, 2024

Adjust the Dyno tests Makefile target to correctly use concurrency (as specified in make invocation) on macOS.

The problem was due to different syntax for capture groups and "or" on macOS sed. Fixed by adjusting the sed invocation to work on either macOS or GNU sed.

Getting a parallel run working also requires using GNU Make 4.x, which isn't the default on macOS -- see backing issue.

[reviewer info placeholder]

Resolves https://github.com/Cray/chapel-private/issues/6770.

Testing:

  • make -jN test-dyno on my mac
  • make -jN test-dyno on chapdl
  • paratest cuz changing Makefiles is scary

@riftEmber riftEmber changed the title Adjust test-dyno Makefile to allow parallel on macOS Adjust test-dyno Makefile to allow parallel on macOS Oct 2, 2024
@riftEmber riftEmber merged commit 2605b1f into chapel-lang:main Oct 8, 2024
7 checks passed
@riftEmber riftEmber deleted the jobsflag-fix-sed branch October 8, 2024 17:39
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.

3 participants