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

[DRAFT] Introducing new workflow: Building K from source in MacOS #3674

Closed
wants to merge 12 commits into from

Conversation

Robertorosmaninho
Copy link
Collaborator

No description provided.

@Robertorosmaninho Robertorosmaninho self-assigned this Sep 28, 2023
@Baltoli
Copy link
Contributor

Baltoli commented Oct 10, 2023

@Robertorosmaninho see this issue for a fix for the issue you're seeing when building K here; the Homebrew formula is in general a pretty good source for the best way to build K from source on macOS. Let me know if I can help at all with this

Comment on lines +66 to +69
# brew install direnv
# cp macos-envrc .envrc
# eval "$(direnv hook bash)"
# direnv allow .
Copy link
Contributor

Choose a reason for hiding this comment

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

Looks like you're reaching that conclusion, but direnv is not something I'd expect to see in CI - it's just a local developer convenience tool.

Copy link
Collaborator Author

@Robertorosmaninho Robertorosmaninho Oct 10, 2023

Choose a reason for hiding this comment

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

Actually, I don't quite follow what you mean by

the Homebrew formula is in general a pretty good source for the best way to build K from source on macOS

Could you please elaborate on that?

Copy link
Contributor

Choose a reason for hiding this comment

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

The code is here: https://github.com/kframework/homebrew-k/blob/master/Formula/kframework.rb

If you've not seen a Homebrew formula before, it's basically a Ruby DSL that allows you to specify dependencies and build steps for a package. We maintain one for K; if there are macOS-specific issues with the build then it's plausible that the Homebrew code has already dealt with it somehow

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.

2 participants