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

Rebuilding on any package install #35

Open
thdxr opened this issue Sep 28, 2021 · 4 comments
Open

Rebuilding on any package install #35

thdxr opened this issue Sep 28, 2021 · 4 comments
Labels
enhancement New feature or request

Comments

@thdxr
Copy link

thdxr commented Sep 28, 2021

I think the current scripts are too aggressive with rebuilding this library. If I have this package as a dependency, any time I add any other package I have to sit through it recompiling, which can take minutes.

We're looking to bundle this package in https://github.com/serverless-stack/serverless-stack and we don't want our users to be impacted in this way.

Any suggestions?

@carlzogh
Copy link
Contributor

carlzogh commented Oct 4, 2021

I think our next step should be to look into distributing pre-compiled binaries as part of the RIC's release to remove some of the responsibilities (eg. compiling and build-time dependencies) from consumers.
This would help also greatly reduce time spent installing the package as reported in this issue.

@thdxr
Copy link
Author

thdxr commented Oct 4, 2021

That would be great. Although I recently figured out that MacOS isn't supported and that doesn't work for our use case. At quick glance it doesn't seem like anything is particularly difficult about compiling it on Mac but not sure

@lughino
Copy link

lughino commented Oct 15, 2022

Revamping this issue 1 year after.. Do you have any updates?
It's very annoying to have to recompile everytime.
Our docker build is taking a good 150 seconds more every time as it seems docker doesn't cache the step.

@andclt andclt added the enhancement New feature or request label Aug 25, 2023
@derekmurawsky
Copy link

We are building on a macbook m1 and the build time was 900 seconds. Reducing build times / increasing cache-ability in any way would be extremely beneficial.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

5 participants