Skip to content

Conversation

@vimanyu
Copy link
Contributor

@vimanyu vimanyu commented Dec 9, 2020

For linux x86 builds, we have to install some required i386 packages before proceeding with the build.
This is an optimization to only run these install commands if those packages dont exist already).
Avoids having the user to type in their password everytime as these commands require admin rights.

@vimanyu vimanyu requested a review from jonsimantov December 9, 2020 18:44
@google-cla google-cla bot added the cla: yes label Dec 9, 2020
@vimanyu
Copy link
Contributor Author

vimanyu commented Dec 9, 2020

Oh no. Looks like debian python apt package does not exist on github runners. Looking at other ways.

@vimanyu vimanyu removed the request for review from jonsimantov December 9, 2020 18:46
apt python module is not installed on github runners. Instead of adding another dependency, using vanilla python modules to get the job done.
@vimanyu vimanyu requested a review from jonsimantov December 10, 2020 16:18
@vimanyu vimanyu self-assigned this Dec 10, 2020
Copy link
Contributor

@jonsimantov jonsimantov left a comment

Choose a reason for hiding this comment

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

LGTM as long as it's okay that gcc-multilib and g++multilib are now installed before the i386 architecture is added.

@vimanyu
Copy link
Contributor Author

vimanyu commented Dec 11, 2020

I think you meant that we are installing them after i386 architecture is added, which is different from what we did earlier.
I feel it should be okay as these packages dont have an architecture specific version and the tests passed on the runners. My guess is its a safe change but will keep an eye out for this.

@vimanyu vimanyu merged commit 0aae949 into dev Dec 11, 2020
@vimanyu vimanyu deleted the feature/linux-x86-dont-install-if-packages-exist branch December 11, 2020 00:40
@firebase firebase locked and limited conversation to collaborators Jan 10, 2021
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.

Labels

2 participants