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 remaining changes for bootstrap build on OpenBSD. #10567

Closed
wants to merge 2 commits into from
Closed

Add remaining changes for bootstrap build on OpenBSD. #10567

wants to merge 2 commits into from

Conversation

aldersondrive
Copy link
Contributor

@aldersondrive aldersondrive commented Jan 13, 2020

I have tested these changes via a bootstrap build on OpenBSD 6.6-current (amd64 architecture). The resulting bazel binary appeared to work in some simple testing involving cc_library, cc_binary, java_library, and java_binary.

Known issues/limitations:

  • Building a java_binary's deploy JAR fails because the singlejar tool fails to build. I intend to investigate soon.

  • Running Bazel requires a --host_javabase=@local_jdk//:jdk flag.

  • Sandboxing is unsupported.

This change, split out of the larger PR #10274, is part of the OpenBSD port in #10250. Most of the changes in that larger PR have already been committed via several smaller PRs (see the PRs linked from #10250). This PR collects the remaining changes.

Also, add back a missing `else` directive that the previous commit deleted by accident.
@aiuto aiuto added team-OSS Issues for the Bazel OSS team: installation, release processBazel packaging, website untriaged labels Jan 13, 2020
@buchgr
Copy link
Contributor

buchgr commented Jan 20, 2020

@aehlig can you take a look please?

Copy link
Contributor

@aehlig aehlig left a comment

Choose a reason for hiding this comment

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

LGTM. Thanks.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
cla: yes team-OSS Issues for the Bazel OSS team: installation, release processBazel packaging, website untriaged
Projects
None yet
Development

Successfully merging this pull request may close these issues.

5 participants