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

Split the pack and compile steps #438

Merged
merged 2 commits into from
May 5, 2017
Merged

Conversation

ianthehat
Copy link
Contributor

This changes the compile step to output a .o in all cases, and then use a subsequent pack step to build the .a
This removes the last read modify write action from the bash scripts, and reduces the compile bash script to something we can retool

@ianthehat
Copy link
Contributor Author

This is failing tests because it requires the GOROOT changes in #434 to be submitted first

go/def.bzl Outdated
Args:
ctx: The skylark Context.
out_lib: the archive that should be produced
objects: an iterable of object or archive files to be added to the output archive file.
Copy link
Contributor

Choose a reason for hiding this comment

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

s/objects/archives/

Copy link
Contributor Author

Choose a reason for hiding this comment

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

fixed

This changes the compile step to output a .o in all cases, and then use a subsequent pack step to build the .a
This removes the last read modify write action from the bash scripts, and reduces the compile bash script to something we can retool
@ianthehat ianthehat merged commit 1511078 into bazel-contrib:master May 5, 2017
@ianthehat ianthehat deleted the pack branch May 15, 2017 01:53
groodt pushed a commit to groodt/rules_go that referenced this pull request Mar 14, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants