-
Notifications
You must be signed in to change notification settings - Fork 304
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
HPCC-31426 CentOS 7 + Python 3.8 #18471
HPCC-31426 CentOS 7 + Python 3.8 #18471
Conversation
Jira Issue: https://hpccsystems.atlassian.net//browse/HPCC-31426 Jirabot Action Result: |
dockerfiles/vcpkg/build.sh
Outdated
docker pull "hpccsystems/platform-build-base-$1:$VCPKG_REF" || true | ||
docker pull "hpccsystems/platform-build-$1:$VCPKG_REF" || true | ||
docker pull "hpccsystems/platform-build-$1:$GITHUB_BRANCH" || true | ||
# docker pull "hpccsystems/platform-build-base-$1:$VCPKG_REF" || true |
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.
Why are these commented out?
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.
FYI That build.sh file is only for local testing and used as part of any process - the pull should really be behind an arg flag, I will fix.
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 rolled back this change
CMAKE_OPTIONS_EXTRA="-DVCPKG_TARGET_TRIPLET=x64-centos-7-dynamic" | ||
elif [ "$1" == "amazonlinux" ]; then | ||
CMAKE_OPTIONS_EXTRA="-DVCPKG_TARGET_TRIPLET=x64-amazonlinux-dynamic" | ||
fi | ||
mkdir -p $HOME/.ccache | ||
docker run --rm \ | ||
--mount source="$(pwd)",target=/hpcc-dev/HPCC-Platform,type=bind,consistency=cached \ | ||
--mount source="$(realpath ~)/.cache/vcpkg",target=/root/.cache/vcpkg,type=bind,consistency=cached \ |
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.
What is this change for. Worth documenting related changes in the jira.
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.
Moves the cached vcpkg build location into the host machine, which in turn will speed up local calls to build.sh for any "vcpkg_overlay" contents.
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 added the change information into the commit message.
ecfae99
to
665df8f
Compare
665df8f
to
2df4561
Compare
Add custom build to support CentOS 7 + Python 3.8 Mount local vcpkg cache to avoid rebuilding packages Signed-off-by: Gordon Smith <[email protected]>
2df4561
to
bbda0d4
Compare
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.
@Michael-Gardner please take a look
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.
Looks good. Code looks fine. I was having issues updating the vcpkg submodule for this branch when I was trying to test it, but I think that's due to what I have cached locally.
Add custom build to support CentOS 7 + Python 3.8
Type of change:
Checklist:
Smoketest:
Testing: