-
Notifications
You must be signed in to change notification settings - Fork 25.6k
.github: Build test binaries in build/ directory #56941
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
Conversation
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]
💊 CI failures summary and remediationsAs 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. |
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]
.jenkins/pytorch/test.sh
Outdated
COMPACT_JOB_NAME="${BUILD_ENVIRONMENT}" | ||
|
||
# Get fully qualified path using realpath | ||
CUSTOM_TEST_ARTIFACT_BUILD_DIR=$(realpath ${CUSTOM_TEST_ARTIFACT_BUILD_DIR:-${PWD}/../}) |
There was a problem hiding this comment.
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?
There was a problem hiding this comment.
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}/../} |
There was a problem hiding this comment.
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]
@seemethere merged this pull request in e138987. |
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
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
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 theworkspace.
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