Skip to content
New issue

Have a question about this project? # for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “#”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? # to your account

Scope ENABLE_JOURNALD make variable to Linux-only binaries, go build package instead of .go file. #507

Closed
wants to merge 1 commit into from

Conversation

jeremyje
Copy link
Contributor

@jeremyje jeremyje commented Dec 18, 2020

ENABLE_JOURNALD make argument is scoped to Linux binaries, Windows will ignore it since it's not supported.
go build targets the package directory instead of the specific go file so that multi-OS implementations can be built. Generally OS specific func main() must live in different .go files.

Issue: #461

@k8s-ci-robot k8s-ci-robot added cncf-cla: yes Indicates the PR's author has signed the CNCF CLA. size/M Denotes a PR that changes 30-99 lines, ignoring generated files. labels Dec 18, 2020
@k8s-ci-robot
Copy link
Contributor

[APPROVALNOTIFIER] This PR is NOT APPROVED

This pull-request has been approved by: jeremyje
To complete the pull request process, please assign dchen1107 after the PR has been reviewed.
You can assign the PR to them by writing /assign @dchen1107 in a comment when ready.

The full list of commands accepted by this bot can be found here.

Needs approval from an approver in each of these files:

Approvers can indicate their approval by writing /approve in a comment
Approvers can cancel approval by writing /approve cancel in a comment

@jeremyje jeremyje changed the title ENABLE_JOURNALD scoped to Linux binaries, go build package instead of .go file. Scope ENABLE_JOURNALD make variable to Linux-only binaries, go build package instead of .go file. Dec 21, 2020
@jeremyje
Copy link
Contributor Author

#509 obsoletes this PR.

@jeremyje jeremyje closed this Dec 22, 2020
@jeremyje jeremyje deleted the robustmake branch January 20, 2021 06:55
# for free to join this conversation on GitHub. Already have an account? # to comment
Labels
cncf-cla: yes Indicates the PR's author has signed the CNCF CLA. size/M Denotes a PR that changes 30-99 lines, ignoring generated files.
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants