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

Remove go compiler install on CI #36391

Merged
merged 2 commits into from
Jun 15, 2023
Merged

Remove go compiler install on CI #36391

merged 2 commits into from
Jun 15, 2023

Conversation

aslonnie
Copy link
Collaborator

The only place using golang compiler is the buildifier, and we can just download released buildifier binary rather than building from source.

@aslonnie aslonnie requested a review from can-anyscale June 13, 2023 22:32
@aslonnie aslonnie force-pushed the lonnie-0613-nogo branch 3 times, most recently from e21c6a2 to 11b5a24 Compare June 13, 2023 22:46
Signed-off-by: Lonnie Liu <lonnie@anyscale.com>
Copy link
Collaborator

@can-anyscale can-anyscale left a comment

Choose a reason for hiding this comment

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

export PATH="${GOPATH}/bin:${GOROOT}/bin:${PATH}"
if [[ ! "${OSTYPE}" =~ ^linux ]]; then
echo "Bazel lint not supported on non-linux systems."
exit 1
Copy link
Collaborator

Choose a reason for hiding this comment

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

is this function currently called on non-supported system?

Copy link
Collaborator Author

Choose a reason for hiding this comment

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

I searched and no. this is only called on ci, and ci only runs lints on linux x86_64.

People can still run the bazel lint directly, which assumes that buildifier is already installed on the system.

@aslonnie
Copy link
Collaborator Author

Signed-off-by: Lonnie Liu <lonnie@anyscale.com>
Copy link
Contributor

@matthewdeng matthewdeng left a comment

Choose a reason for hiding this comment

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

@matthewdeng matthewdeng merged commit d3ee83e into master Jun 15, 2023
@matthewdeng matthewdeng deleted the lonnie-0613-nogo branch June 15, 2023 23:23
arvind-chandra pushed a commit to lmco/ray that referenced this pull request Aug 31, 2023
Signed-off-by: Lonnie Liu <lonnie@anyscale.com>
Signed-off-by: e428265 <arvind.chandramouli@lmco.com>
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.

3 participants