Skip to content

Improve the makefile with better debug ergonomics and memory printing - #5128

Merged
ajpotts merged 2 commits into
Bears-R-Us:mainfrom
jabraham17:add-debug
Dec 8, 2025
Merged

ajpotts merged 2 commits into
Bears-R-Us:mainfrom
jabraham17:add-debug

Conversation

@jabraham17

Copy link
Copy Markdown
Contributor

Improves the Makefile with the following

  • Adds ARKOUDA_DEBUG, implied by ARKOUDA_DEVELOPER, which turns on debug symbols for the generated server
    • with newer versions of Chapel, this will also disable even more optimizations for the best possible debugging experience
  • Enables --print-passes-memory by default so users can see how much memory the compiler is consuming
    • this can also be helpful for diagnosing memory timeouts
  • Stops throwing a deprecated config flag in newer Chapel versions

@ajpotts ajpotts left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

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

Looks great. Thanks!

@jaketrookman jaketrookman left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

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

Looks good

@ajpotts
ajpotts added this pull request to the merge queue Dec 8, 2025
Merged via the queue into Bears-R-Us:main with commit 877fe2e Dec 8, 2025
@jabraham17
jabraham17 deleted the add-debug branch December 9, 2025 17:56
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