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

Make MacOS releases self contained / bundle LLVM #3224

Merged
merged 2 commits into from
Feb 28, 2024

Conversation

laytan
Copy link
Collaborator

@laytan laytan commented Feb 22, 2024

This makes all dynamic library dependencies bundle into dist/libs.

Just like before, macos will complain that the binary (and now additionally the bundled libraries) aren't signed/trusted, and you need to go to privacy settings to allow it to run.
To be clear, this already happened before this change with the binary.

This PR also makes the action zip up the dist folder, this is to keep the executable permissions when downloading it back, see actions/upload-artifact#38 for why.

@gingerBill
Copy link
Member

How much bigger will this be?

@laytan
Copy link
Collaborator Author

laytan commented Feb 22, 2024

It actually went down to 60MB because we are zipping it now. Here is a run I did on my fork: https://github.com/laytan/Odin/actions/runs/8010221628 if you want to check out the artifacts.

@gingerBill
Copy link
Member

Oh wow! This might be a great thing for everyone!

@gingerBill gingerBill merged commit 1678391 into odin-lang:master Feb 28, 2024
4 checks passed
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