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

Fix #4644 : Fixes not building for m1 Mac #4653

Closed
wants to merge 2 commits into from

Conversation

antonmagnus
Copy link
Contributor

Fixes #4644

In the build Gradle model file the variable is fetched from root project variables and not from the local.properties.
Now it instead fetches from the local.properties where it was saved with the build script.

Remains to be tested before on in other environments before merging.

@BenHenning BenHenning self-assigned this Oct 14, 2022
Copy link
Member

@BenHenning BenHenning left a comment

Choose a reason for hiding this comment

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

Thanks @antonmagnus. It looks like CI is failing, and I think it's because of the local.properties reference (which I suspect won't work for a few reasons). PTAL at my in-file comment for more specifics.

artifact = "com.google.protobuf:protoc:3.8.0"
}
Properties properties = new Properties()
properties.load(project.rootProject.file("local.properties").newDataInputStream())
Copy link
Member

Choose a reason for hiding this comment

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

The project doesn't have a local.properties--is this something just on your local machine?

Also, we need to set this up such that it will work for other team members without them needing to set up their own local.properties (otherwise, it's really likely people will get stuck since it won't be clear that they need to do that).

Could we use a different approach?

@BenHenning BenHenning assigned antonmagnus and unassigned BenHenning Oct 14, 2022
@oppiabot
Copy link

oppiabot bot commented Oct 21, 2022

Hi @antonmagnus, I'm going to mark this PR as stale because it hasn't had any updates for 7 days. If no further activity occurs within 7 days, it will be automatically closed so that others can take up the issue.
If you are still working on this PR, please make a follow-up commit within 3 days (and submit it for review, if applicable). Please also let us know if you are stuck so we can help you!

@oppiabot oppiabot bot added the stale Corresponds to items that haven't seen a recent update and may be automatically closed. label Oct 21, 2022
@oppiabot oppiabot bot closed this Oct 28, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
stale Corresponds to items that haven't seen a recent update and may be automatically closed.
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Does not build with the default setup on M1.
2 participants