-
Notifications
You must be signed in to change notification settings - Fork 86
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
(packaging) Add bootsnap dependency to bolt-runtime #384
Conversation
b697fc7
to
aa05faa
Compare
0bf11db
to
31d7fb8
Compare
31d7fb8
to
913826f
Compare
801d6cd
to
51be4f0
Compare
target branch needs to be updated before merging |
e418496
to
2d0b296
Compare
469c1c6
to
cf988fc
Compare
Adds the bootsnap gem and sets up proper env to compile it's native extensions on windows.
cf988fc
to
aea5e88
Compare
Mmk - I needed to make a few updates to get this far, including updating one md5 sum and pinning msgpack back to 1.3.3 since 1.4.2 did not publish a mingw version of the gem: jpogran#1 After that, I ran into this error:
Which I suspect may be related to pinning msgpack back? |
I don't think so, each gem compile is isolated in that respect. The error means it can't find the c ruby header files, and that's why I modified line 82, they are in the include directory. If it's erroring, we'll have to run the build by hand using artifacts from a failed build and inspect the environment variables and paths. Not trivial. Thanks for the hash updates, I had updated the versions but missed updating the hashes. |
This updates an md5 sum that seemed to be wrong, and uses msgpack 1.3.3 since 1.4.2 did not publish a mingw version. This also modifies the rubygem-native-extension dependency to set the rubygem version to 2.7.0.
# We don't want to install any packages from the chocolatey repo by accident | ||
plat.provision_with "C:/ProgramData/chocolatey/bin/choco.exe upgrade -y chocolatey" | ||
plat.provision_with "C:/ProgramData/chocolatey/bin/choco.exe sources remove -name chocolatey" | ||
# plat.provision_with "C:/ProgramData/chocolatey/bin/choco.exe sources remove -name chocolatey" |
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.
@jpogran I think that by removing this, a newer cmake
version is installed now(3.19.6, previously it was 3.5.2). This is breaking yaml-cpp build on agent-runtime. Would pining cmake
to 3.5.2
work for bolt?
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.
Apologies, this was my mistake. I was supposed to go back to using internal repo only. Will post a fix shortly
During testing puppetlabs#384 the public chocolate repo source was added, but I did not remove it before merging. This removes the public repo to ensure the correct sources are used.
During testing puppetlabs#384 the public chocolate repo source was added, but I did not remove it before merging. This removes the public repo to ensure the correct sources are used.
Needed for puppetlabs/bolt#2291