Skip to content
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

[boost] Can't override Boost_COMPILER when building with clang-cl #32336

Closed
lemourin opened this issue Jul 1, 2023 · 11 comments
Closed

[boost] Can't override Boost_COMPILER when building with clang-cl #32336

lemourin opened this issue Jul 1, 2023 · 11 comments
Labels
category:community-triplet A PR or issue related to community triplets not officially validated by the vcpkg team.

Comments

@lemourin
Copy link
Contributor

lemourin commented Jul 1, 2023

vcpkg overrides Boost_COMPILER here regardless of whether user tries to set this flag in either toolchain file or cmake cache. This is a problem when trying to build with clang-cl, for which the Boost_COMPILER flag should be "-clangw143". When this flag is not set correctly then cmake can't find boost libraries.

I'm trying to build a library that depends on boost-regex using x64-win-llvm-static triplet from here.

@Neumann-A
Copy link
Contributor

Use boost-uninstall and boost-modular-build-helper from https://github.com/Neumann-A/my-vcpkg-ports or #27694

@Adela0814 Adela0814 added the category:community-triplet A PR or issue related to community triplets not officially validated by the vcpkg team. label Jul 3, 2023
@Adela0814 Adela0814 removed their assignment Jul 3, 2023
@JonLiu1993
Copy link
Member

This issue hasn’t been updated in 3 month, if it is still an issue, please reopen this issue.

@JonLiu1993 JonLiu1993 closed this as not planned Won't fix, can't repro, duplicate, stale Nov 17, 2023
@lemourin
Copy link
Contributor Author

No plans to upstream the fix?

@JonLiu1993
Copy link
Member

@lemourin, If there is an update to this issue I will reopen it.

@DKGH
Copy link

DKGH commented Nov 28, 2023

Use boost-uninstall and boost-modular-build-helper from https://github.com/Neumann-A/my-vcpkg-ports or #27694

This solution is no longer working for boost-coroutine.

@Neumann-A
Copy link
Contributor

What exactly is not working? Logs please.

@DKGH
Copy link

DKGH commented Nov 28, 2023

Similar error as here. I logged the issue here #35369 without referring to your ports. But you can test with your ports with the same result for boost-coroutine.

@Neumann-A
Copy link
Contributor

$ ./vcpkg.exe install boost-coroutine --host-triplet x64-win-llvm --overlay-triplets=../my-vcpkg-triplets --overlay-port
s=../my-vcpkg-ports
warning: In the September 2023 release, the default triplet for vcpkg libraries changed from x86-windows to the detected host triplet (x64-win-llvm). For the old behavior, add --triplet x86-windows . To suppress this message, add --triplet x64-win-llvm .
Computing installation plan...
The following packages will be built and installed:
  * boost-assert:x64-win-llvm -> 1.83.0
  * boost-build:x64-win-llvm -> 1.83.0
  * boost-config:x64-win-llvm -> 1.83.0
  * boost-context:x64-win-llvm -> 1.83.0
  * boost-core:x64-win-llvm -> 1.83.0
    boost-coroutine:x64-win-llvm -> 1.83.0
  * boost-exception:x64-win-llvm -> 1.83.0
  * boost-integer:x64-win-llvm -> 1.83.0
  * boost-io:x64-win-llvm -> 1.83.0
  * boost-modular-build-helper:x64-win-llvm -> 1.83.0#2 -- E:\all\vcpkg\../my-vcpkg-ports\boost-modular-build-helper
  * boost-move:x64-win-llvm -> 1.83.0
  * boost-mp11:x64-win-llvm -> 1.83.0
  * boost-pool:x64-win-llvm -> 1.83.0
  * boost-predef:x64-win-llvm -> 1.83.0
  * boost-preprocessor:x64-win-llvm -> 1.83.0
  * boost-smart-ptr:x64-win-llvm -> 1.83.0
  * boost-static-assert:x64-win-llvm -> 1.83.0
  * boost-system:x64-win-llvm -> 1.83.0
  * boost-throw-exception:x64-win-llvm -> 1.83.0
  * boost-tuple:x64-win-llvm -> 1.83.0
  * boost-type-traits:x64-win-llvm -> 1.83.0
  * boost-uninstall:x64-win-llvm -> 1.83.0#1 -- E:\all\vcpkg\../my-vcpkg-ports\boost-uninstall
  * boost-utility:x64-win-llvm -> 1.83.0
  * boost-variant2:x64-win-llvm -> 1.83.0
  * boost-vcpkg-helpers:x64-win-llvm -> 1.83.0
  * boost-winapi:x64-win-llvm -> 1.83.0
Additional packages (*) will be modified to complete this operation.
Detecting compiler hash for triplet x64-win-llvm...
Restored 0 package(s) from E:\vcpkg_cache\binaries in 1.57 ms. Use --debug to see more details.
Installing 1/26 boost-uninstall:x64-win-llvm...
Building boost-uninstall:x64-win-llvm...
-- [OVERLAY] Loading triplet configuration from: E:\all\my-vcpkg-triplets\x64-win-llvm.cmake
-- Installing port from location: E:\all\vcpkg\../my-vcpkg-ports\boost-uninstall
--
Please use the following command when you need to remove all boost ports/components:
    "./vcpkg remove boost-uninstall:x64-win-llvm --recurse"

-- Using cached FindBoost-CMake-3.24.3.cmake.
-- Installing: E:/all/vcpkg/packages/boost-uninstall_x64-win-llvm/share/boost/FindBoost.cmake
-- Performing post-build validation
Stored binaries in 1 destinations in 30.9 ms.
Elapsed time to handle boost-uninstall:x64-win-llvm: 113 ms
Installing 2/26 boost-vcpkg-helpers:x64-win-llvm...
Building boost-vcpkg-helpers:x64-win-llvm...
-- [OVERLAY] Loading triplet configuration from: E:\all\my-vcpkg-triplets\x64-win-llvm.cmake
-- Using cached boost_LICENSE_1_0.txt.
-- Installing: E:/all/vcpkg/packages/boost-vcpkg-helpers_x64-win-llvm/share/boost-vcpkg-helpers/boost-modular-headers.cmake
-- Installing: E:/all/vcpkg/packages/boost-vcpkg-helpers_x64-win-llvm/share/boost-vcpkg-helpers/usage
-- Installing: E:/all/vcpkg/packages/boost-vcpkg-helpers_x64-win-llvm/share/boost-vcpkg-helpers/boost_LICENSE_1_0.txt
-- Installing: E:/all/vcpkg/packages/boost-vcpkg-helpers_x64-win-llvm/share/boost-vcpkg-helpers/copyright
-- Performing post-build validation
Stored binaries in 1 destinations in 17.1 ms.
Elapsed time to handle boost-vcpkg-helpers:x64-win-llvm: 85.5 ms
Installing 3/26 boost-config:x64-win-llvm...
Building boost-config:x64-win-llvm...
-- [OVERLAY] Loading triplet configuration from: E:\all\my-vcpkg-triplets\x64-win-llvm.cmake
-- Using cached boostorg-config-boost-1.83.0.tar.gz.
-- Cleaning sources at E:/all/vcpkg/buildtrees/boost-config/src/ost-1.83.0-007acc7274.clean. Use --editable to skip cleaning for the packages you specify.
-- Extracting source E:/vcpkg_cache/downloads/boostorg-config-boost-1.83.0.tar.gz
-- Using source at E:/all/vcpkg/buildtrees/boost-config/src/ost-1.83.0-007acc7274.clean
-- Copying headers
-- Copying headers done
-- Installing: E:/all/vcpkg/packages/boost-config_x64-win-llvm/share/boost-config/usage
-- Installing: E:/all/vcpkg/packages/boost-config_x64-win-llvm/share/boost-config/copyright
-- Performing post-build validation
Stored binaries in 1 destinations in 38 ms.
Elapsed time to handle boost-config:x64-win-llvm: 519 ms
Installing 4/26 boost-assert:x64-win-llvm...
Building boost-assert:x64-win-llvm...
-- [OVERLAY] Loading triplet configuration from: E:\all\my-vcpkg-triplets\x64-win-llvm.cmake
-- Using cached boostorg-assert-boost-1.83.0.tar.gz.
-- Cleaning sources at E:/all/vcpkg/buildtrees/boost-assert/src/ost-1.83.0-0b8c17b5f5.clean. Use --editable to skip cleaning for the packages you specify.
-- Extracting source E:/vcpkg_cache/downloads/boostorg-assert-boost-1.83.0.tar.gz
-- Using source at E:/all/vcpkg/buildtrees/boost-assert/src/ost-1.83.0-0b8c17b5f5.clean
-- Copying headers
-- Copying headers done
-- Installing: E:/all/vcpkg/packages/boost-assert_x64-win-llvm/share/boost-assert/usage
-- Installing: E:/all/vcpkg/packages/boost-assert_x64-win-llvm/share/boost-assert/copyright
-- Performing post-build validation
Stored binaries in 1 destinations in 16.3 ms.
Elapsed time to handle boost-assert:x64-win-llvm: 222 ms
Installing 5/26 boost-build:x64-win-llvm...
Building boost-build:x64-win-llvm...
-- [OVERLAY] Loading triplet configuration from: E:\all\my-vcpkg-triplets\x64-win-llvm.cmake
-- Using cached boostorg-build-boost-1.83.0.tar.gz.
-- Cleaning sources at E:/all/vcpkg/buildtrees/boost-build/src/ost-1.83.0-93738d0a3a.clean. Use --editable to skip cleaning for the packages you specify.
-- Extracting source E:/vcpkg_cache/downloads/boostorg-build-boost-1.83.0.tar.gz
-- Applying patch 0002-fix-get-version.patch
-- Applying patch 0003-fix-emscripten.patch
-- Applying patch 0004-workaround-MSVC-codegen-bug-in-17.5-on-ARM64.patch
-- Using source at E:/all/vcpkg/buildtrees/boost-build/src/ost-1.83.0-93738d0a3a.clean
-- Using cached boost_LICENSE_1_0.txt.
-- Using cached boost-1.83.0-boostcpp.jam.
-- Installing: E:/all/vcpkg/packages/boost-build_x64-win-llvm/share/boost-build/copyright
-- Bootstrapping...
-- Performing post-build validation
Stored binaries in 1 destinations in 75.6 ms.
Elapsed time to handle boost-build:x64-win-llvm: 19 s
Installing 6/26 boost-static-assert:x64-win-llvm...
Building boost-static-assert:x64-win-llvm...
-- [OVERLAY] Loading triplet configuration from: E:\all\my-vcpkg-triplets\x64-win-llvm.cmake
-- Using cached boostorg-static_assert-boost-1.83.0.tar.gz.
-- Cleaning sources at E:/all/vcpkg/buildtrees/boost-static-assert/src/ost-1.83.0-e96b56c5f5.clean. Use --editable to skip cleaning for the packages you specify.
-- Extracting source E:/vcpkg_cache/downloads/boostorg-static_assert-boost-1.83.0.tar.gz
-- Using source at E:/all/vcpkg/buildtrees/boost-static-assert/src/ost-1.83.0-e96b56c5f5.clean
-- Copying headers
-- Copying headers done
-- Installing: E:/all/vcpkg/packages/boost-static-assert_x64-win-llvm/share/boost-static-assert/usage
-- Installing: E:/all/vcpkg/packages/boost-static-assert_x64-win-llvm/share/boost-static-assert/copyright
-- Performing post-build validation
Stored binaries in 1 destinations in 15.5 ms.
Elapsed time to handle boost-static-assert:x64-win-llvm: 214 ms
Installing 7/26 boost-throw-exception:x64-win-llvm...
Building boost-throw-exception:x64-win-llvm...
-- [OVERLAY] Loading triplet configuration from: E:\all\my-vcpkg-triplets\x64-win-llvm.cmake
-- Using cached boostorg-throw_exception-boost-1.83.0.tar.gz.
-- Cleaning sources at E:/all/vcpkg/buildtrees/boost-throw-exception/src/ost-1.83.0-5adf2ca137.clean. Use --editable to skip cleaning for the packages you specify.
-- Extracting source E:/vcpkg_cache/downloads/boostorg-throw_exception-boost-1.83.0.tar.gz
-- Using source at E:/all/vcpkg/buildtrees/boost-throw-exception/src/ost-1.83.0-5adf2ca137.clean
-- Copying headers
-- Copying headers done
-- Installing: E:/all/vcpkg/packages/boost-throw-exception_x64-win-llvm/share/boost-throw-exception/usage
-- Installing: E:/all/vcpkg/packages/boost-throw-exception_x64-win-llvm/share/boost-throw-exception/copyright
-- Performing post-build validation
Stored binaries in 1 destinations in 17 ms.
Elapsed time to handle boost-throw-exception:x64-win-llvm: 221 ms
Installing 8/26 boost-core:x64-win-llvm...
Building boost-core:x64-win-llvm...
-- [OVERLAY] Loading triplet configuration from: E:\all\my-vcpkg-triplets\x64-win-llvm.cmake
-- Using cached boostorg-core-boost-1.83.0.tar.gz.
-- Cleaning sources at E:/all/vcpkg/buildtrees/boost-core/src/ost-1.83.0-f55ec3205b.clean. Use --editable to skip cleaning for the packages you specify.
-- Extracting source E:/vcpkg_cache/downloads/boostorg-core-boost-1.83.0.tar.gz
-- Using source at E:/all/vcpkg/buildtrees/boost-core/src/ost-1.83.0-f55ec3205b.clean
-- Copying headers
-- Copying headers done
-- Installing: E:/all/vcpkg/packages/boost-core_x64-win-llvm/share/boost-core/usage
-- Installing: E:/all/vcpkg/packages/boost-core_x64-win-llvm/share/boost-core/copyright
-- Performing post-build validation
Stored binaries in 1 destinations in 26.4 ms.
Elapsed time to handle boost-core:x64-win-llvm: 310 ms
Installing 9/26 boost-modular-build-helper:x64-win-llvm...
Building boost-modular-build-helper:x64-win-llvm...
-- [OVERLAY] Loading triplet configuration from: E:\all\my-vcpkg-triplets\x64-win-llvm.cmake
-- Installing port from location: E:\all\vcpkg\../my-vcpkg-ports\boost-modular-build-helper
-- Performing post-build validation
Stored binaries in 1 destinations in 16.4 ms.
Elapsed time to handle boost-modular-build-helper:x64-win-llvm: 89 ms
Installing 10/26 boost-mp11:x64-win-llvm...
Building boost-mp11:x64-win-llvm...
-- [OVERLAY] Loading triplet configuration from: E:\all\my-vcpkg-triplets\x64-win-llvm.cmake
-- Using cached boostorg-mp11-boost-1.83.0.tar.gz.
-- Cleaning sources at E:/all/vcpkg/buildtrees/boost-mp11/src/ost-1.83.0-5097205718.clean. Use --editable to skip cleaning for the packages you specify.
-- Extracting source E:/vcpkg_cache/downloads/boostorg-mp11-boost-1.83.0.tar.gz
-- Using source at E:/all/vcpkg/buildtrees/boost-mp11/src/ost-1.83.0-5097205718.clean
-- Copying headers
-- Copying headers done
-- Installing: E:/all/vcpkg/packages/boost-mp11_x64-win-llvm/share/boost-mp11/usage
-- Installing: E:/all/vcpkg/packages/boost-mp11_x64-win-llvm/share/boost-mp11/copyright
-- Performing post-build validation
Stored binaries in 1 destinations in 25.8 ms.
Elapsed time to handle boost-mp11:x64-win-llvm: 283 ms
Installing 11/26 boost-type-traits:x64-win-llvm...
Building boost-type-traits:x64-win-llvm...
-- [OVERLAY] Loading triplet configuration from: E:\all\my-vcpkg-triplets\x64-win-llvm.cmake
-- Using cached boostorg-type_traits-boost-1.83.0.tar.gz.
-- Cleaning sources at E:/all/vcpkg/buildtrees/boost-type-traits/src/ost-1.83.0-b1d53b437a.clean. Use --editable to skip cleaning for the packages you specify.
-- Extracting source E:/vcpkg_cache/downloads/boostorg-type_traits-boost-1.83.0.tar.gz
-- Using source at E:/all/vcpkg/buildtrees/boost-type-traits/src/ost-1.83.0-b1d53b437a.clean
-- Copying headers
-- Copying headers done
-- Installing: E:/all/vcpkg/packages/boost-type-traits_x64-win-llvm/share/boost-type-traits/usage
-- Installing: E:/all/vcpkg/packages/boost-type-traits_x64-win-llvm/share/boost-type-traits/copyright
-- Performing post-build validation
Stored binaries in 1 destinations in 33.3 ms.
Elapsed time to handle boost-type-traits:x64-win-llvm: 438 ms
Installing 12/26 boost-integer:x64-win-llvm...
Building boost-integer:x64-win-llvm...
-- [OVERLAY] Loading triplet configuration from: E:\all\my-vcpkg-triplets\x64-win-llvm.cmake
-- Using cached boostorg-integer-boost-1.83.0.tar.gz.
-- Cleaning sources at E:/all/vcpkg/buildtrees/boost-integer/src/ost-1.83.0-a23dcc6ae6.clean. Use --editable to skip cleaning for the packages you specify.
-- Extracting source E:/vcpkg_cache/downloads/boostorg-integer-boost-1.83.0.tar.gz
-- Using source at E:/all/vcpkg/buildtrees/boost-integer/src/ost-1.83.0-a23dcc6ae6.clean
-- Copying headers
-- Copying headers done
-- Installing: E:/all/vcpkg/packages/boost-integer_x64-win-llvm/share/boost-integer/usage
-- Installing: E:/all/vcpkg/packages/boost-integer_x64-win-llvm/share/boost-integer/copyright
-- Performing post-build validation
Stored binaries in 1 destinations in 24.8 ms.
Elapsed time to handle boost-integer:x64-win-llvm: 250 ms
Installing 13/26 boost-predef:x64-win-llvm...
Building boost-predef:x64-win-llvm...
-- [OVERLAY] Loading triplet configuration from: E:\all\my-vcpkg-triplets\x64-win-llvm.cmake
-- Using cached boostorg-predef-boost-1.83.0.tar.gz.
-- Cleaning sources at E:/all/vcpkg/buildtrees/boost-predef/src/ost-1.83.0-e4081be896.clean. Use --editable to skip cleaning for the packages you specify.
-- Extracting source E:/vcpkg_cache/downloads/boostorg-predef-boost-1.83.0.tar.gz
-- Using source at E:/all/vcpkg/buildtrees/boost-predef/src/ost-1.83.0-e4081be896.clean
-- Copying headers
-- Copying headers done
-- Installing: E:/all/vcpkg/packages/boost-predef_x64-win-llvm/share/boost-predef/usage
-- Installing: E:/all/vcpkg/packages/boost-predef_x64-win-llvm/share/boost-predef/copyright
-- Performing post-build validation
Stored binaries in 1 destinations in 29 ms.
Elapsed time to handle boost-predef:x64-win-llvm: 350 ms
Installing 14/26 boost-winapi:x64-win-llvm...
Building boost-winapi:x64-win-llvm...
-- [OVERLAY] Loading triplet configuration from: E:\all\my-vcpkg-triplets\x64-win-llvm.cmake
-- Using cached boostorg-winapi-boost-1.83.0.tar.gz.
-- Cleaning sources at E:/all/vcpkg/buildtrees/boost-winapi/src/ost-1.83.0-5dc0ba91c9.clean. Use --editable to skip cleaning for the packages you specify.
-- Extracting source E:/vcpkg_cache/downloads/boostorg-winapi-boost-1.83.0.tar.gz
-- Using source at E:/all/vcpkg/buildtrees/boost-winapi/src/ost-1.83.0-5dc0ba91c9.clean
-- Copying headers
-- Copying headers done
-- Installing: E:/all/vcpkg/packages/boost-winapi_x64-win-llvm/share/boost-winapi/usage
-- Installing: E:/all/vcpkg/packages/boost-winapi_x64-win-llvm/share/boost-winapi/copyright
-- Performing post-build validation
Stored binaries in 1 destinations in 38 ms.
Elapsed time to handle boost-winapi:x64-win-llvm: 330 ms
Installing 15/26 boost-pool:x64-win-llvm...
Building boost-pool:x64-win-llvm...
-- [OVERLAY] Loading triplet configuration from: E:\all\my-vcpkg-triplets\x64-win-llvm.cmake
-- Using cached boostorg-pool-boost-1.83.0.tar.gz.
-- Cleaning sources at E:/all/vcpkg/buildtrees/boost-pool/src/ost-1.83.0-5f8f31d203.clean. Use --editable to skip cleaning for the packages you specify.
-- Extracting source E:/vcpkg_cache/downloads/boostorg-pool-boost-1.83.0.tar.gz
-- Using source at E:/all/vcpkg/buildtrees/boost-pool/src/ost-1.83.0-5f8f31d203.clean
-- Copying headers
-- Copying headers done
-- Installing: E:/all/vcpkg/packages/boost-pool_x64-win-llvm/share/boost-pool/usage
-- Installing: E:/all/vcpkg/packages/boost-pool_x64-win-llvm/share/boost-pool/copyright
-- Performing post-build validation
Stored binaries in 1 destinations in 25.7 ms.
Elapsed time to handle boost-pool:x64-win-llvm: 277 ms
Installing 16/26 boost-move:x64-win-llvm...
Building boost-move:x64-win-llvm...
-- [OVERLAY] Loading triplet configuration from: E:\all\my-vcpkg-triplets\x64-win-llvm.cmake
-- Using cached boostorg-move-boost-1.83.0.tar.gz.
-- Cleaning sources at E:/all/vcpkg/buildtrees/boost-move/src/ost-1.83.0-4b9fe0a302.clean. Use --editable to skip cleaning for the packages you specify.
-- Extracting source E:/vcpkg_cache/downloads/boostorg-move-boost-1.83.0.tar.gz
-- Using source at E:/all/vcpkg/buildtrees/boost-move/src/ost-1.83.0-4b9fe0a302.clean
-- Copying headers
-- Copying headers done
-- Installing: E:/all/vcpkg/packages/boost-move_x64-win-llvm/share/boost-move/usage
-- Installing: E:/all/vcpkg/packages/boost-move_x64-win-llvm/share/boost-move/copyright
-- Performing post-build validation
Stored binaries in 1 destinations in 28.9 ms.
Elapsed time to handle boost-move:x64-win-llvm: 266 ms
Installing 17/26 boost-smart-ptr:x64-win-llvm...
Building boost-smart-ptr:x64-win-llvm...
-- [OVERLAY] Loading triplet configuration from: E:\all\my-vcpkg-triplets\x64-win-llvm.cmake
-- Using cached boostorg-smart_ptr-boost-1.83.0.tar.gz.
-- Cleaning sources at E:/all/vcpkg/buildtrees/boost-smart-ptr/src/ost-1.83.0-95f1bef191.clean. Use --editable to skip cleaning for the packages you specify.
-- Extracting source E:/vcpkg_cache/downloads/boostorg-smart_ptr-boost-1.83.0.tar.gz
-- Using source at E:/all/vcpkg/buildtrees/boost-smart-ptr/src/ost-1.83.0-95f1bef191.clean
-- Copying headers
-- Copying headers done
-- Installing: E:/all/vcpkg/packages/boost-smart-ptr_x64-win-llvm/share/boost-smart-ptr/usage
-- Installing: E:/all/vcpkg/packages/boost-smart-ptr_x64-win-llvm/share/boost-smart-ptr/copyright
-- Performing post-build validation
Stored binaries in 1 destinations in 28.5 ms.
Elapsed time to handle boost-smart-ptr:x64-win-llvm: 335 ms
Installing 18/26 boost-context:x64-win-llvm...
Building boost-context:x64-win-llvm...
-- [OVERLAY] Loading triplet configuration from: E:\all\my-vcpkg-triplets\x64-win-llvm.cmake
-- Using cached boostorg-context-boost-1.83.0.tar.gz.
-- Cleaning sources at E:/all/vcpkg/buildtrees/boost-context/src/ost-1.83.0-52cdcfade8.clean. Use --editable to skip cleaning for the packages you specify.
-- Extracting source E:/vcpkg_cache/downloads/boostorg-context-boost-1.83.0.tar.gz
-- Using source at E:/all/vcpkg/buildtrees/boost-context/src/ost-1.83.0-52cdcfade8.clean
-- Getting CMake variables for x64-win-llvm
-- Including E:/all/vcpkg/buildtrees/boost-context/vcpkg-b2-options.cmake
-- Configuring x64-win-llvm
-- Building x64-win-llvm-dbg
-- Building x64-win-llvm-rel
-- Copying headers
-- Copying headers done
-- Installing: E:/all/vcpkg/packages/boost-context_x64-win-llvm/share/boost-context/usage
-- Installing: E:/all/vcpkg/packages/boost-context_x64-win-llvm/share/boost-context/copyright
-- Performing post-build validation
Stored binaries in 1 destinations in 41.3 ms.
Elapsed time to handle boost-context:x64-win-llvm: 4.1 s
Installing 19/26 boost-tuple:x64-win-llvm...
Building boost-tuple:x64-win-llvm...
-- [OVERLAY] Loading triplet configuration from: E:\all\my-vcpkg-triplets\x64-win-llvm.cmake
-- Using cached boostorg-tuple-boost-1.83.0.tar.gz.
-- Cleaning sources at E:/all/vcpkg/buildtrees/boost-tuple/src/ost-1.83.0-9935442c0e.clean. Use --editable to skip cleaning for the packages you specify.
-- Extracting source E:/vcpkg_cache/downloads/boostorg-tuple-boost-1.83.0.tar.gz
-- Using source at E:/all/vcpkg/buildtrees/boost-tuple/src/ost-1.83.0-9935442c0e.clean
-- Copying headers
-- Copying headers done
-- Installing: E:/all/vcpkg/packages/boost-tuple_x64-win-llvm/share/boost-tuple/usage
-- Installing: E:/all/vcpkg/packages/boost-tuple_x64-win-llvm/share/boost-tuple/copyright
-- Performing post-build validation
Stored binaries in 1 destinations in 20.3 ms.
Elapsed time to handle boost-tuple:x64-win-llvm: 228 ms
Installing 20/26 boost-exception:x64-win-llvm...
Building boost-exception:x64-win-llvm...
-- [OVERLAY] Loading triplet configuration from: E:\all\my-vcpkg-triplets\x64-win-llvm.cmake
-- Using cached boostorg-exception-boost-1.83.0.tar.gz.
-- Cleaning sources at E:/all/vcpkg/buildtrees/boost-exception/src/ost-1.83.0-e0db41e4c0.clean. Use --editable to skip cleaning for the packages you specify.
-- Extracting source E:/vcpkg_cache/downloads/boostorg-exception-boost-1.83.0.tar.gz
-- Using source at E:/all/vcpkg/buildtrees/boost-exception/src/ost-1.83.0-e0db41e4c0.clean
-- Getting CMake variables for x64-win-llvm
-- Configuring x64-win-llvm
-- Building x64-win-llvm-dbg
-- Building x64-win-llvm-rel
-- Copying headers
-- Copying headers done
-- Installing: E:/all/vcpkg/packages/boost-exception_x64-win-llvm/share/boost-exception/usage
-- Installing: E:/all/vcpkg/packages/boost-exception_x64-win-llvm/share/boost-exception/copyright
-- Performing post-build validation
Stored binaries in 1 destinations in 23.1 ms.
Elapsed time to handle boost-exception:x64-win-llvm: 2.4 s
Installing 21/26 boost-variant2:x64-win-llvm...
Building boost-variant2:x64-win-llvm...
-- [OVERLAY] Loading triplet configuration from: E:\all\my-vcpkg-triplets\x64-win-llvm.cmake
-- Using cached boostorg-variant2-boost-1.83.0.tar.gz.
-- Cleaning sources at E:/all/vcpkg/buildtrees/boost-variant2/src/ost-1.83.0-908aa08c6f.clean. Use --editable to skip cleaning for the packages you specify.
-- Extracting source E:/vcpkg_cache/downloads/boostorg-variant2-boost-1.83.0.tar.gz
-- Using source at E:/all/vcpkg/buildtrees/boost-variant2/src/ost-1.83.0-908aa08c6f.clean
-- Copying headers
-- Copying headers done
-- Installing: E:/all/vcpkg/packages/boost-variant2_x64-win-llvm/share/boost-variant2/usage
-- Installing: E:/all/vcpkg/packages/boost-variant2_x64-win-llvm/share/boost-variant2/copyright
-- Performing post-build validation
Stored binaries in 1 destinations in 22.2 ms.
Elapsed time to handle boost-variant2:x64-win-llvm: 231 ms
Installing 22/26 boost-system:x64-win-llvm...
Building boost-system:x64-win-llvm...
-- [OVERLAY] Loading triplet configuration from: E:\all\my-vcpkg-triplets\x64-win-llvm.cmake
-- Using cached boostorg-system-boost-1.83.0.tar.gz.
-- Cleaning sources at E:/all/vcpkg/buildtrees/boost-system/src/ost-1.83.0-a4793e8294.clean. Use --editable to skip cleaning for the packages you specify.
-- Extracting source E:/vcpkg_cache/downloads/boostorg-system-boost-1.83.0.tar.gz
-- Using source at E:/all/vcpkg/buildtrees/boost-system/src/ost-1.83.0-a4793e8294.clean
-- Getting CMake variables for x64-win-llvm
-- Configuring x64-win-llvm
-- Building x64-win-llvm-dbg
-- Building x64-win-llvm-rel
-- Copying headers
-- Copying headers done
-- Installing: E:/all/vcpkg/packages/boost-system_x64-win-llvm/share/boost-system/usage
-- Installing: E:/all/vcpkg/packages/boost-system_x64-win-llvm/share/boost-system/copyright
-- Performing post-build validation
Stored binaries in 1 destinations in 40.8 ms.
Elapsed time to handle boost-system:x64-win-llvm: 2.3 s
Installing 23/26 boost-io:x64-win-llvm...
Building boost-io:x64-win-llvm...
-- [OVERLAY] Loading triplet configuration from: E:\all\my-vcpkg-triplets\x64-win-llvm.cmake
-- Using cached boostorg-io-boost-1.83.0.tar.gz.
-- Cleaning sources at E:/all/vcpkg/buildtrees/boost-io/src/ost-1.83.0-0fa940781a.clean. Use --editable to skip cleaning for the packages you specify.
-- Extracting source E:/vcpkg_cache/downloads/boostorg-io-boost-1.83.0.tar.gz
-- Using source at E:/all/vcpkg/buildtrees/boost-io/src/ost-1.83.0-0fa940781a.clean
-- Copying headers
-- Copying headers done
-- Installing: E:/all/vcpkg/packages/boost-io_x64-win-llvm/share/boost-io/usage
-- Installing: E:/all/vcpkg/packages/boost-io_x64-win-llvm/share/boost-io/copyright
-- Performing post-build validation
Stored binaries in 1 destinations in 19.7 ms.
Elapsed time to handle boost-io:x64-win-llvm: 222 ms
Installing 24/26 boost-preprocessor:x64-win-llvm...
Building boost-preprocessor:x64-win-llvm...
-- [OVERLAY] Loading triplet configuration from: E:\all\my-vcpkg-triplets\x64-win-llvm.cmake
-- Using cached boostorg-preprocessor-boost-1.83.0.tar.gz.
-- Cleaning sources at E:/all/vcpkg/buildtrees/boost-preprocessor/src/ost-1.83.0-6dcf50e9b7.clean. Use --editable to skip cleaning for the packages you specify.
-- Extracting source E:/vcpkg_cache/downloads/boostorg-preprocessor-boost-1.83.0.tar.gz
-- Using source at E:/all/vcpkg/buildtrees/boost-preprocessor/src/ost-1.83.0-6dcf50e9b7.clean
-- Copying headers
-- Copying headers done
-- Installing: E:/all/vcpkg/packages/boost-preprocessor_x64-win-llvm/share/boost-preprocessor/usage
-- Installing: E:/all/vcpkg/packages/boost-preprocessor_x64-win-llvm/share/boost-preprocessor/copyright
-- Performing post-build validation
Stored binaries in 1 destinations in 102 ms.
Elapsed time to handle boost-preprocessor:x64-win-llvm: 997 ms
Installing 25/26 boost-utility:x64-win-llvm...
Building boost-utility:x64-win-llvm...
-- [OVERLAY] Loading triplet configuration from: E:\all\my-vcpkg-triplets\x64-win-llvm.cmake
-- Using cached boostorg-utility-boost-1.83.0.tar.gz.
-- Cleaning sources at E:/all/vcpkg/buildtrees/boost-utility/src/ost-1.83.0-9a5945e91c.clean. Use --editable to skip cleaning for the packages you specify.
-- Extracting source E:/vcpkg_cache/downloads/boostorg-utility-boost-1.83.0.tar.gz
-- Using source at E:/all/vcpkg/buildtrees/boost-utility/src/ost-1.83.0-9a5945e91c.clean
-- Copying headers
-- Copying headers done
-- Installing: E:/all/vcpkg/packages/boost-utility_x64-win-llvm/share/boost-utility/usage
-- Installing: E:/all/vcpkg/packages/boost-utility_x64-win-llvm/share/boost-utility/copyright
-- Performing post-build validation
Stored binaries in 1 destinations in 25.2 ms.
Elapsed time to handle boost-utility:x64-win-llvm: 248 ms
Installing 26/26 boost-coroutine:x64-win-llvm...
Building boost-coroutine:x64-win-llvm...
-- [OVERLAY] Loading triplet configuration from: E:\all\my-vcpkg-triplets\x64-win-llvm.cmake
-- Using cached boostorg-coroutine-boost-1.83.0.tar.gz.
-- Cleaning sources at E:/all/vcpkg/buildtrees/boost-coroutine/src/ost-1.83.0-554f073b34.clean. Use --editable to skip cleaning for the packages you specify.
-- Extracting source E:/vcpkg_cache/downloads/boostorg-coroutine-boost-1.83.0.tar.gz
-- Using source at E:/all/vcpkg/buildtrees/boost-coroutine/src/ost-1.83.0-554f073b34.clean
-- Getting CMake variables for x64-win-llvm
-- Configuring x64-win-llvm
-- Building x64-win-llvm-dbg
-- Building x64-win-llvm-rel
-- Copying headers
-- Copying headers done
-- Installing: E:/all/vcpkg/packages/boost-coroutine_x64-win-llvm/share/boost-coroutine/usage
-- Installing: E:/all/vcpkg/packages/boost-coroutine_x64-win-llvm/share/boost-coroutine/copyright
-- Performing post-build validation
Stored binaries in 1 destinations in 49.5 ms.
Elapsed time to handle boost-coroutine:x64-win-llvm: 3.3 s
Total install time: 38 s
The package boost is compatible with built-in CMake targets:

    find_package(Boost REQUIRED [COMPONENTS <libs>...])
    target_link_libraries(main PRIVATE Boost::boost Boost::<lib1> Boost::<lib2> ...)

@DKGH
Copy link

DKGH commented Nov 28, 2023

I retested it. If I keep only the following of your ports, it doesn't work: boost-all, boost-modular-build-helper, and boost-uninstall. If I use the whole of your folder, it does. Which other ports are necessary for boost-coroutine to compile?

@Neumann-A
Copy link
Contributor

ah probably vcpkg-cmake-get-vars

@DKGH
Copy link

DKGH commented Nov 29, 2023

This worked.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
category:community-triplet A PR or issue related to community triplets not officially validated by the vcpkg team.
Projects
None yet
Development

No branches or pull requests

5 participants