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

Add note to README about make parallelism #12378

Merged
merged 1 commit into from
Jul 30, 2020

Conversation

silverwind
Copy link
Member

@silverwind silverwind commented Jul 30, 2020

Alternative to #12367

Parallelism will screw our build in two ways:

  • It may run generate and frontend at the same time which breaks the public bindata
  • It may run $(EXECUTABLE) and generate at the same time which breaks all bindata

It could be solved by adding a proper dependency chain that enforces serialization but that would introduce a frontend/Node.js dependency on the backend chain which we want to avoid for users that don't have Node installed (e.g. building off the src tarballs). I think it's best to not intermingle backend/frontend dependency chains and just recommend not enabling parallelism as there is nothing that can run in parallel in the regular build (but not forbid it either so useful things like make -j2 watch-backend watch frontend will still work).

@GiteaBot GiteaBot added the lgtm/need 1 This PR needs approval from one additional maintainer to be merged. label Jul 30, 2020
@GiteaBot GiteaBot removed the lgtm/need 1 This PR needs approval from one additional maintainer to be merged. label Jul 30, 2020
@techknowlogick techknowlogick merged commit f6d5303 into go-gitea:master Jul 30, 2020
@GiteaBot GiteaBot added the lgtm/done This PR has enough approvals to get merged. There are no important open reservations anymore. label Jul 30, 2020
@techknowlogick techknowlogick added the type/docs This PR mainly updates/creates documentation label Jul 30, 2020
@techknowlogick techknowlogick added this to the 1.13.0 milestone Jul 30, 2020
@techknowlogick techknowlogick added the skip-changelog This PR is irrelevant for the (next) changelog, for example bug fixes for unreleased features. label Jul 30, 2020
@go-gitea go-gitea locked and limited conversation to collaborators Nov 24, 2020
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
lgtm/done This PR has enough approvals to get merged. There are no important open reservations anymore. skip-changelog This PR is irrelevant for the (next) changelog, for example bug fixes for unreleased features. type/docs This PR mainly updates/creates documentation
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

4 participants