appveyor / ci

AppVeyor community support repository
https://www.appveyor.com
344 stars 64 forks source link

Boost 1.82.0 available in Visual Studio 2019 image but not in Visual Studio 2022 image #3885

Closed lballabio closed 9 months ago

lballabio commented 10 months ago

See https://ci.appveyor.com/project/lballabio/quantlib/builds/47689427, which outputs the contents of C:\Libraries and, if found, of C:\Libraries\boost_1_82_0.

The 2022 image still has Boost 1.73 and 1.77 installed.

Moreover, the Boost 1.82 binaries installed in the 2019 image are those labeled as msvc-14.3 (i.e., those for VS2022), not the expected msvc-14.2.

OwenMcDonnell commented 10 months ago

Thanks for bringing this to our attention. It will be rectified in the next image update. In the meantime you could execute this script in the init phase of your build. You'll have to modify the download location to msvc-14.2 if you want the VS2019 binaries.

jackpoz commented 9 months ago

image

new VS 2022 image has Boost 1.83 only even if https://www.appveyor.com/docs/windows-images-software/#boost says it should have 1.77 and 1.83

image

Please either fix the images or the documentation

lballabio commented 9 months ago

Same problem for the VS 2019 image.

OwenMcDonnell commented 9 months ago

Boost 1.77 doesn't have a 2022 binary, though 1.78 does. I can add that to the 2022 image. Is 1.77 still needed on the 2019 image or would 1.78 on both suffice?

lballabio commented 9 months ago

I'm ok with any version on 2022 and 2019, but I'm just speaking for myself of course. I guess it'd be nice for versions to not just disappear without warning, in case people rely on them for settings compiler variables.

jackpoz commented 9 months ago

Boost 1.77 doesn't have a 2022 binary, though 1.78 does. I can add that to the 2022 image. Is 1.77 still needed on the 2019 image or would 1.78 on both suffice?

Any version of Boost in VS 2022 image is fine for me too, even the one currently installed 1.83 , but it would help if the documentation mentioned the same versions that are installed in the images.

OwenMcDonnell commented 9 months ago

I've released a minor image update to address this issue. Please let me know if new builds are working as expected with respect to Boost libraries. The documentation should be brought up to date shortly as well (see here)

lballabio commented 9 months ago

It worked for me, thanks.