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

Update java build def to support remote execution #787

Merged
merged 5 commits into from Dec 10, 2019

Conversation

henryaj
Copy link
Contributor

@henryaj henryaj commented Dec 6, 2019

When using remote execution, $OUT is a relative path (which the backend expects to be relative to $TMP_DIR). This changes the java build rule to get the file's abspath and move it to the expected location.

|| true is required for the rule to build locally as the file is already in the right place.

Copy link
Member

@peterebden peterebden left a comment

Choose a reason for hiding this comment

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

LGTM - not sure what's up with the build failure though 🤔

src/remote/action.go Outdated Show resolved Hide resolved
@henryaj henryaj merged commit 4e4878e into thought-machine:master Dec 10, 2019
henryaj added a commit that referenced this pull request Dec 10, 2019
noxxious pushed a commit to noxxious/please that referenced this pull request Jan 16, 2020
Overrides $OUT on remote execution when there is a single output
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.

None yet

2 participants