Skip to content

Conversation

seemethere
Copy link
Member

@seemethere seemethere commented Apr 26, 2021

Stack from ghstack:

Sets the custom test binaries we build in .jenkins/pytorch/build.sh to
be built in the build directory instead of the directory above the
workspace.

This should alleviate any weirdness we were seeing before with test
binaries having to be overwritten

Signed-off-by: Eli Uriegas eliuriegas@fb.com

Differential Revision: D28018453

Sets the custom test binaries we build in .jenkins/pytorch/build.sh to
be built in the `build` directory instead of the directory above the
workspace.

This should alleviate any weirdness we were seeing before with test
binaries having to be overwritten

Signed-off-by: Eli Uriegas <eliuriegas@fb.com>

[ghstack-poisoned]
@facebook-github-bot
Copy link
Contributor

facebook-github-bot commented Apr 26, 2021

💊 CI failures summary and remediations

As of commit 46220e9 (more details on the Dr. CI page):


💚 💚 Looks good so far! There are no failures yet. 💚 💚


This comment was automatically generated by Dr. CI (expand for details).Follow this link to opt-out of these comments for your Pull Requests.

Please report bugs/suggestions to the (internal) Dr. CI Users group.

Click here to manually regenerate this comment.

Sets the custom test binaries we build in .jenkins/pytorch/build.sh to
be built in the `build` directory instead of the directory above the
workspace.

This should alleviate any weirdness we were seeing before with test
binaries having to be overwritten

Signed-off-by: Eli Uriegas <eliuriegas@fb.com>

[ghstack-poisoned]
Sets the custom test binaries we build in .jenkins/pytorch/build.sh to
be built in the `build` directory instead of the directory above the
workspace.

This should alleviate any weirdness we were seeing before with test
binaries having to be overwritten

Signed-off-by: Eli Uriegas <eliuriegas@fb.com>

[ghstack-poisoned]
Sets the custom test binaries we build in .jenkins/pytorch/build.sh to
be built in the `build` directory instead of the directory above the
workspace.

This should alleviate any weirdness we were seeing before with test
binaries having to be overwritten

Signed-off-by: Eli Uriegas <eliuriegas@fb.com>

[ghstack-poisoned]
@seemethere seemethere added the module: ci Related to continuous integration label Apr 26, 2021
COMPACT_JOB_NAME="${BUILD_ENVIRONMENT}"

# Get fully qualified path using realpath
CUSTOM_TEST_ARTIFACT_BUILD_DIR=$(realpath ${CUSTOM_TEST_ARTIFACT_BUILD_DIR:-${PWD}/../})
Copy link
Contributor

Choose a reason for hiding this comment

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

nit: why do we need this default back to ${PWD}/../ behavior? can we remove it entirely?

Copy link
Member Author

Choose a reason for hiding this comment

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

I wanted to keep them so that the circleci builds don't actually change their current behavior.

Trying to make the least obstructive change here.

cp build/.ninja_log dist
fi

CUSTOM_TEST_ARTIFACT_BUILD_DIR=${CUSTOM_TEST_ARTIFACT_BUILD_DIR:-${PWD}/../}
Copy link
Contributor

Choose a reason for hiding this comment

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

ditto

Sets the custom test binaries we build in .jenkins/pytorch/build.sh to
be built in the `build` directory instead of the directory above the
workspace.

This should alleviate any weirdness we were seeing before with test
binaries having to be overwritten

Signed-off-by: Eli Uriegas <eliuriegas@fb.com>

[ghstack-poisoned]
@facebook-github-bot
Copy link
Contributor

@seemethere merged this pull request in e138987.

@facebook-github-bot facebook-github-bot deleted the gh/seemethere/71/head branch May 1, 2021 14:16
crcrpar pushed a commit to crcrpar/pytorch that referenced this pull request May 7, 2021
Summary:
Pull Request resolved: pytorch#56941

Sets the custom test binaries we build in .jenkins/pytorch/build.sh to
be built in the `build` directory instead of the directory above the
workspace.

This should alleviate any weirdness we were seeing before with test
binaries having to be overwritten

Signed-off-by: Eli Uriegas <eliuriegas@fb.com>

Test Plan: Imported from OSS

Reviewed By: H-Huang

Differential Revision: D28018453

Pulled By: seemethere

fbshipit-source-id: 74add11037a622e011d00fb6292bfe20e1d55d9e
krshrimali pushed a commit to krshrimali/pytorch that referenced this pull request May 19, 2021
Summary:
Pull Request resolved: pytorch#56941

Sets the custom test binaries we build in .jenkins/pytorch/build.sh to
be built in the `build` directory instead of the directory above the
workspace.

This should alleviate any weirdness we were seeing before with test
binaries having to be overwritten

Signed-off-by: Eli Uriegas <eliuriegas@fb.com>

Test Plan: Imported from OSS

Reviewed By: H-Huang

Differential Revision: D28018453

Pulled By: seemethere

fbshipit-source-id: 74add11037a622e011d00fb6292bfe20e1d55d9e
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

cla signed Merged module: ci Related to continuous integration

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants