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

Upgrade to purity inference #257

Merged
merged 83 commits into from
Dec 11, 2024
Merged

Upgrade to purity inference #257

merged 83 commits into from
Dec 11, 2024

Conversation

lukewilliamboswell
Copy link
Collaborator

No description provided.

@Anton-4
Copy link
Collaborator

Anton-4 commented Dec 9, 2024

No need to worry about valgrind on nix, the next step is this.

@@ -7,7 +7,7 @@ lto = true
strip = "debuginfo"
# You can comment this out if you hit a segmentation fault similar to the one in see issue github.com/roc-lang/roc/issues/6121
# Setting this to 1 should improve execution speed by making things easier to optimize for LLVM.
codegen-units = 1
# codegen-units = 1
Copy link
Collaborator Author

Choose a reason for hiding this comment

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

I'm not sure what's going on here. I don't remember changing this

Copy link
Collaborator

Choose a reason for hiding this comment

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

Oh, probably should update that back to codegen-units = 1 in a follow up

Comment on lines +71 to +74
# not used, leaving here for future reference if we want to run valgrind on an example
# if [ "$no_ext_name" == "args" ] && command -v valgrind &> /dev/null; then
# valgrind $EXAMPLES_DIR/args argument
# fi
Copy link
Collaborator Author

Choose a reason for hiding this comment

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

Leaving this here for future... we went to all the effort to use valgrind

Copy link
Collaborator

@bhansconnect bhansconnect left a comment

Choose a reason for hiding this comment

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

Long time coming!!!

Comment on lines +10 to +14
# TODO
# I deleted the Arg parser as a workaround for issues it was causing when upgrading to purity inference.
# The plan is for people so use Weaver or simmilar in future. We can discuss putting it back in if we still
# want the "batteries included" experience, but either way that will need to be upgraded/tested with
# purity-inference.
Copy link
Collaborator Author

Choose a reason for hiding this comment

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

TODO note... I can remove this in this or follow up, I left this here for @Anton-4

@lukewilliamboswell lukewilliamboswell merged commit 9d45d09 into main Dec 11, 2024
5 checks passed
@lukewilliamboswell lukewilliamboswell deleted the purity-inference branch December 11, 2024 07:00
lukewilliamboswell added a commit that referenced this pull request Dec 11, 2024
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.

5 participants