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

bazel: enable rules_foreign_cc vendored tools #20910

Conversation

keith
Copy link
Member

@keith keith commented Apr 20, 2022

This reverts commit fed3d12.

The original change had an issue with macOS 12.3 removing the default python version.

bazel-contrib/rules_foreign_cc#900
ninja-build/ninja#2118

Signed-off-by: Keith Smiley keithbsmiley@gmail.com

@repokitteh-read-only
Copy link

As a reminder, PRs marked as draft will not be automatically assigned reviewers,
or be handled by maintainer-oncall triage.

Please mark your PR as ready when you want it to be reviewed!

🐱

Caused by: #20910 was opened by keith.

see: more, trace.

@repokitteh-read-only repokitteh-read-only bot added the deps Approval required for changes to Envoy's external dependencies label Apr 20, 2022
@repokitteh-read-only
Copy link

CC @envoyproxy/dependency-shepherds: Your approval is needed for changes made to (bazel/.*repos.*\.bzl)|(bazel/dependency_imports\.bzl)|(api/bazel/.*\.bzl)|(.*/requirements\.txt)|(.*\.patch).
envoyproxy/dependency-shepherds assignee is @phlax

🐱

Caused by: #20910 was opened by keith.

see: more, trace.

@keith
Copy link
Member Author

keith commented Apr 20, 2022

no changes here yet, partially waiting to see what happens on the linked PRs

@jsharpe
Copy link

jsharpe commented Apr 20, 2022

@keith note that the automake example in rules_foreign_cc is not usable yet as it depends on the autoconf build which doesn't work because it does generate relocatable output so I don't have a good way yet of making the autotools set of build tools hermetic yet.

Also worth noting that if you end up building cmake from source rather than using one of the precompiled binaries then openssl support is missing at the moment.

@keith
Copy link
Member Author

keith commented Apr 20, 2022

@keith note that the automake example in rules_foreign_cc is not usable yet as it depends on the autoconf build which doesn't work because it does generate relocatable output so I don't have a good way yet of making the autotools set of build tools hermetic yet.

Thanks for the context, if we're not calling this directly that shouldn't affect us right? I only see make + cmake + ninja atm

Also worth noting that if you end up building cmake from source rather than using one of the precompiled binaries then openssl support is missing at the moment.

hrm good to know, I can probably look but what conditions would we build it, and when would we need openssl?

keith added 2 commits May 2, 2022 10:31
This reverts commit fed3d12.

Signed-off-by: Keith Smiley <keithbsmiley@gmail.com>
Signed-off-by: Keith Smiley <keithbsmiley@gmail.com>
@keith keith force-pushed the ks/bazel-enable-rules_foreign_cc-vendored-tools branch from 769c17c to d341a57 Compare May 2, 2022 17:31
@github-actions
Copy link

github-actions bot commented Jun 1, 2022

This pull request has been automatically marked as stale because it has not had activity in the last 30 days. It will be closed in 7 days if no further activity occurs. Please feel free to give a status update now, ping for review, or re-open when it's ready. Thank you for your contributions!

@github-actions github-actions bot added the stale stalebot believes this issue/PR has not been touched recently label Jun 1, 2022
@keith
Copy link
Member Author

keith commented Jun 7, 2022

i need to update this once there's a new release of these rules

@wrowe
Copy link
Contributor

wrowe commented Jun 7, 2022

/wait

@github-actions github-actions bot removed the stale stalebot believes this issue/PR has not been touched recently label Jun 8, 2022
@github-actions
Copy link

github-actions bot commented Jul 8, 2022

This pull request has been automatically marked as stale because it has not had activity in the last 30 days. It will be closed in 7 days if no further activity occurs. Please feel free to give a status update now, ping for review, or re-open when it's ready. Thank you for your contributions!

@github-actions github-actions bot added the stale stalebot believes this issue/PR has not been touched recently label Jul 8, 2022
@github-actions
Copy link

This pull request has been automatically closed because it has not had activity in the last 37 days. Please feel free to give a status update now, ping for review, or re-open when it's ready. Thank you for your contributions!

@github-actions github-actions bot closed this Jul 15, 2022
@keith keith deleted the ks/bazel-enable-rules_foreign_cc-vendored-tools branch May 5, 2023 15:18
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
deps Approval required for changes to Envoy's external dependencies stale stalebot believes this issue/PR has not been touched recently waiting
Projects
None yet
Development

Successfully merging this pull request may close these issues.

4 participants