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-regex] Build error (toolset path with spaces) #5

Closed
tekert opened this issue Jun 10, 2023 · 4 comments · Fixed by microsoft/vcpkg#32309
Closed

[boost-regex] Build error (toolset path with spaces) #5

tekert opened this issue Jun 10, 2023 · 4 comments · Fixed by microsoft/vcpkg#32309

Comments

@tekert
Copy link

tekert commented Jun 10, 2023

There is a problem building archives from boost
Seems the boost build system doesn't like toolset paths with spaces coming from CMAKE_AR in this case.
I can't seem to track where the error is.

Here is the details from vcpkg when trying to install boost-regex from example:


Package: boost-regex[core]:x64-win-llvm-lto-static-md -> 1.82.0#2

Host Environment

  • Host: x64-windows
  • Compiler: Clang 16.0.5
  • vcpkg-tool version: 2023-04-07-bedcba5172f5e4b91caac660ab7afe92c27a9895
    vcpkg-scripts version: 85c222bc3 2023-06-09 (19 hours ago)

To Reproduce

vcpkg install boost-regex:x64-win-llvm-lto-static-md --clean-packages-after-build

Failure logs

-- Using cached boostorg-regex-boost-1.82.0.tar.gz.
-- Cleaning sources at G:/cpp/buildt/boost-regex/src/ost-1.82.0-aceb223f87.clean. Use --editable to skip cleaning for the packages you specify.
-- Extracting source E:/Sources/cpp/tools/vcpkg/downloads/boostorg-regex-boost-1.82.0.tar.gz
-- Using source at G:/cpp/buildt/boost-regex/src/ost-1.82.0-aceb223f87.clean
-- Including E:/Sources/cpp/tools/vcpkg/ports/boost-regex/b2-options.cmake
-- Getting CMake variables for x64-win-llvm-lto-static-md
-- Configuring x64-win-llvm-lto-static-md
-- Building x64-win-llvm-lto-static-md-dbg
CMake Error at scripts/cmake/vcpkg_execute_build_process.cmake:134 (message):
    Command failed: E:/Sources/cpp/tools/vcpkg/downloads/tools/cmake-3.25.1-windows/cmake-3.25.1-windows-i386/bin/cmake.exe --build . --config Debug --target install -- -v -j17
    Working Directory: G:/cpp/buildt/boost-regex/x64-win-llvm-lto-static-md-dbg
    See logs for more information:
      G:\cpp\buildt\boost-regex\install-x64-win-llvm-lto-static-md-dbg-out.log

Call Stack (most recent call first):
  installed/x64-windows/share/vcpkg-cmake/vcpkg_cmake_build.cmake:74 (vcpkg_execute_build_process)
  installed/x64-windows/share/vcpkg-cmake/vcpkg_cmake_install.cmake:16 (vcpkg_cmake_build)
  installed/x64-windows/share/boost-build/boost-modular-build.cmake:140 (vcpkg_cmake_install)
  ports/boost-regex/portfile.cmake:12 (boost_modular_build)
  scripts/ports.cmake:147 (include)



G:\cpp\buildt\boost-regex\install-x64-win-llvm-lto-static-md-dbg-out.log
[1/2] cmd.exe /C "cd /D G:\cpp\buildt\boost-regex\src\ost-1.82.0-aceb223f87.clean\build && E:\Sources\cpp\tools\vcpkg\installed\x64-windows\tools\boost-build\b2.exe toolset=clang-win --user-config=G:/cpp/buildt/boost-regex/x64-win-llvm-lto-static-md-dbg/user-config.jam --stagedir=G:/cpp/buildt/boost-regex/x64-win-llvm-lto-static-md-dbg/stage --build-dir=G:/cpp/buildt/boost-regex/x64-win-llvm-lto-static-md-dbg runtime-link=shared link=static address-model=64 architecture=x86 target-os=windows threadapi=win32 variant=debug --disable-icu --disable-icu --with-atomic --with-random --with-date_time --with-filesystem --with-system --with-thread --with-chrono -j 17 -sBOOST_ROOT=E:/Sources/cpp/tools/vcpkg/installed/x64-windows/tools/boost-build -sBOOST_BUILD_PATH=E:/Sources/cpp/tools/vcpkg/installed/x64-windows/tools/boost-build --debug-configuration --debug-building --debug-generators --ignore-site-config --hash -q debug-symbols=on -d +2 threading=multi stage"
FAILED: CMakeFiles/boost G:/cpp/buildt/boost-regex/x64-win-llvm-lto-static-md-dbg/CMakeFiles/boost 
cmd.exe /C "cd /D G:\cpp\buildt\boost-regex\src\ost-1.82.0-aceb223f87.clean\build && E:\Sources\cpp\tools\vcpkg\installed\x64-windows\tools\boost-build\b2.exe toolset=clang-win --user-config=G:/cpp/buildt/boost-regex/x64-win-llvm-lto-static-md-dbg/user-config.jam --stagedir=G:/cpp/buildt/boost-regex/x64-win-llvm-lto-static-md-dbg/stage --build-dir=G:/cpp/buildt/boost-regex/x64-win-llvm-lto-static-md-dbg runtime-link=shared link=static address-model=64 architecture=x86 target-os=windows threadapi=win32 variant=debug --disable-icu --disable-icu --with-atomic --with-random --with-date_time --with-filesystem --with-system --with-thread --with-chrono -j 17 -sBOOST_ROOT=E:/Sources/cpp/tools/vcpkg/installed/x64-windows/tools/boost-build -sBOOST_BUILD_PATH=E:/Sources/cpp/tools/vcpkg/installed/x64-windows/tools/boost-build --debug-configuration --debug-building --debug-generators --ignore-site-config --hash -q debug-symbols=on -d +2 threading=multi stage"
notice: loading B2 from E:/Sources/cpp/tools/vcpkg/installed/x64-windows/tools/boost-build/src/kernel/bootstrap.jam
notice: Site configuration files will be ignored due to the
notice: --ignore-site-config command-line option.
notice: Loading explicitly specified user configuration file:
    G:\cpp\buildt\boost-regex\x64-win-llvm-lto-static-md-dbg\user-config.jam
notice: Searching 'G:\cpp\buildt\boost-regex\x64-win-llvm-lto-static-md-dbg' for user-config configuration file 'user-config.jam'.
notice: Loading user-config configuration file 'user-config.jam' from 'G:/cpp/buildt/boost-regex/x64-win-llvm-lto-static-md-dbg'.
notice: [msvc-cfg] msvc-14.3 detected, command: 'C:\Program Files\Microsoft Visual Studio\2022\Community\VC\Tools\MSVC\14.36.32532\bin\Hostx64\x64\cl.exe'
notice: [clang-win] using compiler '"C:/Program Files/LLVM/bin/clang-cl.exe"', version '143', target 'x86_64', default address-model=64
notice: will use 'C:/Program Files/LLVM/bin/clang-cl.exe' for clang-win, condition <toolset>clang-win-143
...
Skipped 196 lines
...

           is viable
         ***  1  viable generators
           ** generator clang-win.archive
           composing: true
             *** construct OBJ
                 from { ../src/posix_api.cpp.CPP }
                 properties: <address-model>64 <architecture>x86 <asynch-exceptions>off <coverage>off <debug-store>object <debug-symbols>on <define>BOOST_ALL_NO_LIB=1 <embed-manifest-via>mt <embed-manifest>on <exception-handling>on <extern-c-nothrow>off <hardcode-dll-paths>true <host-os>windows <include>../include&&/E:/Sources/cpp/tools/vcpkg/installed/x64-win-llvm-lto-static-md/include <inlining>off <install-dependencies>off <link>static <linkflags>-nologo -INCREMENTAL:NO -Brepro -DEBUG:FULL <main-target-type>LIB <midl-robust>yes <midl-stubless-proxy>yes <optimization>off <os>NT <pch>on <preserve-test-targets>on <profiling>off <relevant>define:<relevant>link <relevant>link <relevant>link:<relevant>toolset <relevant>threading:<relevant>runtime-link <relevant>threading:<relevant>toolset <response-file>auto <rtti>on <runtime-debugging>on <runtime-link>shared <stdlib>native <strip>off <suppress-import-lib>false <symlink-location>project-relative <tag>@Jamfile<G:\cpp\buildt\boost-regex\src\ost-1.82.0-aceb223f87.clean>%Jamfile<G:\cpp\buildt\boost-regex\src\ost-1.82.0-aceb223f87.clean>.tag <target-os>windows <testing.execute>on <threadapi>win32 <threading>multi <toolset-clang:platform>win <toolset-clang:version>143 <toolset>clang <user-interface>console <variant>debug <vectorize>off <warnings-as-errors>off <warnings>all <windows-api>desktop
             find-viable-generators target-type= OBJ property-set= clang-win-143/link-static
             trying type OBJ
             there are generators for this type
             trying generator rc.compile.resource ( RC -> OBJ )
               is viable
             trying generator msvc.compile.c++ ( CPP -> OBJ )
             trying generator msvc.compile.c ( C -> OBJ )
             trying generator msvc.compile.rc ( RC -> OBJ )
             trying generator msvc.compile.asm ( ASM -> OBJ )
             trying generator msvc.compile.c.pch ( H -> C_PCH OBJ )
             trying generator msvc.compile.c++.pch ( H -> CPP_PCH OBJ )
             trying generator clang-win.compile.c++ ( CPP -> OBJ )
               is viable
             trying generator clang-win.compile.c ( C -> OBJ )
               is viable
             trying generator clang-win.compile.rc ( RC -> OBJ )
               is viable
             trying generator clang-win.compile.asm ( ASM -> OBJ )
               is viable
             trying generator clang-win.compile.c.pch ( H -> C_PCH OBJ )
               is viable
             trying generator clang-win.compile.c++.pch ( H -> CPP_PCH OBJ )
               is viable
             ***  6  viable generators
               ** generator clang-win.compile.c++
               composing:
               SUCCESS:  [ <relevant>address-model <relevant>architecture <relevant>asynch-exceptions <relevant>cflags <relevant>compileflags <relevant>cxxflags <relevant>cxxstd <relevant>debug-store <relevant>debug-symbols <relevant>define <relevant>exception-handling <relevant>extern-c-nothrow <relevant>force-include <relevant>include <relevant>inlining <relevant>instruction-set <relevant>mc-input-encoding <relevant>mc-output-encoding <relevant>mc-set-customer-bit <relevant>optimization <relevant>pch <relevant>pch-file <relevant>pch-header <relevant>pch-source <relevant>response-file <relevant>rtti <relevant>runtime-debugging <relevant>runtime-link <relevant>threading <relevant>toolset <relevant>toolset-clang:platform <relevant>toolset-clang:version <relevant>undef <relevant>user-interface <relevant>warnings <relevant>warnings-as-errors ] { clang-win%clang-win.compile.c++-posix_api.obj.OBJ { ../src/posix_api.cpp.CPP } }

             returned [ <relevant>address-model <relevant>architecture <relevant>asynch-exceptions <relevant>cflags <relevant>compileflags <relevant>cxxflags <relevant>cxxstd <relevant>debug-store <relevant>debug-symbols <relevant>define <relevant>exception-handling <relevant>extern-c-nothrow <relevant>force-include <relevant>include <relevant>inlining <relevant>instruction-set <relevant>mc-input-encoding <relevant>mc-output-encoding <relevant>mc-set-customer-bit <relevant>optimization <relevant>pch <relevant>pch-file <relevant>pch-header <relevant>pch-source <relevant>response-file <relevant>rtti <relevant>runtime-debugging <relevant>runtime-link <relevant>threading <relevant>toolset <relevant>toolset-clang:platform <relevant>toolset-clang:version <relevant>undef <relevant>user-interface <relevant>warnings <relevant>warnings-as-errors ] { clang-win%clang-win.compile.c++-posix_api.obj.OBJ { ../src/posix_api.cpp.CPP } }
               generator clang-win.compile.c++  spawned 
               { clang-win%clang-win.compile.c++-posix_api.obj.OBJ { ../src/posix_api.cpp.CPP } }
               with usage requirements: [ <relevant>address-model <relevant>architecture <relevant>asynch-exceptions <relevant>cflags <relevant>compileflags <relevant>cxxflags <relevant>cxxstd <relevant>debug-store <relevant>debug-symbols <relevant>define <relevant>exception-handling <relevant>extern-c-nothrow <relevant>force-include <relevant>include <relevant>inlining <relevant>instruction-set <relevant>mc-input-encoding <relevant>mc-output-encoding <relevant>mc-set-customer-bit <relevant>optimization <relevant>pch <relevant>pch-file <relevant>pch-header <relevant>pch-source <relevant>response-file <relevant>rtti <relevant>runtime-debugging <relevant>runtime-link <relevant>threading <relevant>toolset <relevant>toolset-clang:platform <relevant>toolset-clang:version <relevant>undef <relevant>user-interface <relevant>warnings <relevant>warnings-as-errors ]
               ** generator 'clang-win.compile.c' pruned
               ** generator 'clang-win.compile.rc' pruned
               ** generator 'clang-win.compile.asm' pruned
               ** generator 'clang-win.compile.c.pch' pruned
               ** generator 'clang-win.compile.c++.pch' pruned
             *** construct OBJ
                 from { ../src/regex.cpp.CPP }
                 properties: <address-model>64 <architecture>x86 <asynch-exceptions>off <coverage>off <debug-store>object <debug-symbols>on <define>BOOST_ALL_NO_LIB=1 <embed-manifest-via>mt <embed-manifest>on <exception-handling>on <extern-c-nothrow>off <hardcode-dll-paths>true <host-os>windows <include>../include&&/E:/Sources/cpp/tools/vcpkg/installed/x64-win-llvm-lto-static-md/include <inlining>off <install-dependencies>off <link>static <linkflags>-nologo -INCREMENTAL:NO -Brepro -DEBUG:FULL <main-target-type>LIB <midl-robust>yes <midl-stubless-proxy>yes <optimization>off <os>NT <pch>on <preserve-test-targets>on <profiling>off <relevant>define:<relevant>link <relevant>link <relevant>link:<relevant>toolset <relevant>threading:<relevant>runtime-link <relevant>threading:<relevant>toolset <response-file>auto <rtti>on <runtime-debugging>on <runtime-link>shared <stdlib>native <strip>off <suppress-import-lib>false <symlink-location>project-relative <tag>@Jamfile<G:\cpp\buildt\boost-regex\src\ost-1.82.0-aceb223f87.clean>%Jamfile<G:\cpp\buildt\boost-regex\src\ost-1.82.0-aceb223f87.clean>.tag <target-os>windows <testing.execute>on <threadapi>win32 <threading>multi <toolset-clang:platform>win <toolset-clang:version>143 <toolset>clang <user-interface>console <variant>debug <vectorize>off <warnings-as-errors>off <warnings>all <windows-api>desktop
             ***  6  viable generators
               ** generator clang-win.compile.c++
               composing:
               SUCCESS:  [ <relevant>address-model <relevant>architecture <relevant>asynch-exceptions <relevant>cflags <relevant>compileflags <relevant>cxxflags <relevant>cxxstd <relevant>debug-store <relevant>debug-symbols <relevant>define <relevant>exception-handling <relevant>extern-c-nothrow <relevant>force-include <relevant>include <relevant>inlining <relevant>instruction-set <relevant>mc-input-encoding <relevant>mc-output-encoding <relevant>mc-set-customer-bit <relevant>optimization <relevant>pch <relevant>pch-file <relevant>pch-header <relevant>pch-source <relevant>response-file <relevant>rtti <relevant>runtime-debugging <relevant>runtime-link <relevant>threading <relevant>toolset <relevant>toolset-clang:platform <relevant>toolset-clang:version <relevant>undef <relevant>user-interface <relevant>warnings <relevant>warnings-as-errors ] { clang-win%clang-win.compile.c++-regex.obj.OBJ { ../src/regex.cpp.CPP } }

             returned [ <relevant>address-model <relevant>architecture <relevant>asynch-exceptions <relevant>cflags <relevant>compileflags <relevant>cxxflags <relevant>cxxstd <relevant>debug-store <relevant>debug-symbols <relevant>define <relevant>exception-handling <relevant>extern-c-nothrow <relevant>force-include <relevant>include <relevant>inlining <relevant>instruction-set <relevant>mc-input-encoding <relevant>mc-output-encoding <relevant>mc-set-customer-bit <relevant>optimization <relevant>pch <relevant>pch-file <relevant>pch-header <relevant>pch-source <relevant>response-file <relevant>rtti <relevant>runtime-debugging <relevant>runtime-link <relevant>threading <relevant>toolset <relevant>toolset-clang:platform <relevant>toolset-clang:version <relevant>undef <relevant>user-interface <relevant>warnings <relevant>warnings-as-errors ] { clang-win%clang-win.compile.c++-regex.obj.OBJ { ../src/regex.cpp.CPP } }
               generator clang-win.compile.c++  spawned 
               { clang-win%clang-win.compile.c++-regex.obj.OBJ { ../src/regex.cpp.CPP } }
               with usage requirements: [ <relevant>address-model <relevant>architecture <relevant>asynch-exceptions <relevant>cflags <relevant>compileflags <relevant>cxxflags <relevant>cxxstd <relevant>debug-store <relevant>debug-symbols <relevant>define <relevant>exception-handling <relevant>extern-c-nothrow <relevant>force-include <relevant>include <relevant>inlining <relevant>instruction-set <relevant>mc-input-encoding <relevant>mc-output-encoding <relevant>mc-set-customer-bit <relevant>optimization <relevant>pch <relevant>pch-file <relevant>pch-header <relevant>pch-source <relevant>response-file <relevant>rtti <relevant>runtime-debugging <relevant>runtime-link <relevant>threading <relevant>toolset <relevant>toolset-clang:platform <relevant>toolset-clang:version <relevant>undef <relevant>user-interface <relevant>warnings <relevant>warnings-as-errors ]
               ** generator 'clang-win.compile.c' pruned
               ** generator 'clang-win.compile.rc' pruned
               ** generator 'clang-win.compile.asm' pruned
               ** generator 'clang-win.compile.c.pch' pruned
               ** generator 'clang-win.compile.c++.pch' pruned
             *** construct OBJ
                 from { ../src/regex_debug.cpp.CPP }
                 properties: <address-model>64 <architecture>x86 <asynch-exceptions>off <coverage>off <debug-store>object <debug-symbols>on <define>BOOST_ALL_NO_LIB=1 <embed-manifest-via>mt <embed-manifest>on <exception-handling>on <extern-c-nothrow>off <hardcode-dll-paths>true <host-os>windows <include>../include&&/E:/Sources/cpp/tools/vcpkg/installed/x64-win-llvm-lto-static-md/include <inlining>off <install-dependencies>off <link>static <linkflags>-nologo -INCREMENTAL:NO -Brepro -DEBUG:FULL <main-target-type>LIB <midl-robust>yes <midl-stubless-proxy>yes <optimization>off <os>NT <pch>on <preserve-test-targets>on <profiling>off <relevant>define:<relevant>link <relevant>link <relevant>link:<relevant>toolset <relevant>threading:<relevant>runtime-link <relevant>threading:<relevant>toolset <response-file>auto <rtti>on <runtime-debugging>on <runtime-link>shared <stdlib>native <strip>off <suppress-import-lib>false <symlink-location>project-relative <tag>@Jamfile<G:\cpp\buildt\boost-regex\src\ost-1.82.0-aceb223f87.clean>%Jamfile<G:\cpp\buildt\boost-regex\src\ost-1.82.0-aceb223f87.clean>.tag <target-os>windows <testing.execute>on <threadapi>win32 <threading>multi <toolset-clang:platform>win <toolset-clang:version>143 <toolset>clang <user-interface>console <variant>debug <vectorize>off <warnings-as-errors>off <warnings>all <windows-api>desktop
             ***  6  viable generators
               ** generator clang-win.compile.c++
               composing:
               SUCCESS:  [ <relevant>address-model <relevant>architecture <relevant>asynch-exceptions <relevant>cflags <relevant>compileflags <relevant>cxxflags <relevant>cxxstd <relevant>debug-store <relevant>debug-symbols <relevant>define <relevant>exception-handling <relevant>extern-c-nothrow <relevant>force-include <relevant>include <relevant>inlining <relevant>instruction-set <relevant>mc-input-encoding <relevant>mc-output-encoding <relevant>mc-set-customer-bit <relevant>optimization <relevant>pch <relevant>pch-file <relevant>pch-header <relevant>pch-source <relevant>response-file <relevant>rtti <relevant>runtime-debugging <relevant>runtime-link <relevant>threading <relevant>toolset <relevant>toolset-clang:platform <relevant>toolset-clang:version <relevant>undef <relevant>user-interface <relevant>warnings <relevant>warnings-as-errors ] { clang-win%clang-win.compile.c++-regex_debug.obj.OBJ { ../src/regex_debug.cpp.CPP } }

             returned [ <relevant>address-model <relevant>architecture <relevant>asynch-exceptions <relevant>cflags <relevant>compileflags <relevant>cxxflags <relevant>cxxstd <relevant>debug-store <relevant>debug-symbols <relevant>define <relevant>exception-handling <relevant>extern-c-nothrow <relevant>force-include <relevant>include <relevant>inlining <relevant>instruction-set <relevant>mc-input-encoding <relevant>mc-output-encoding <relevant>mc-set-customer-bit <relevant>optimization <relevant>pch <relevant>pch-file <relevant>pch-header <relevant>pch-source <relevant>response-file <relevant>rtti <relevant>runtime-debugging <relevant>runtime-link <relevant>threading <relevant>toolset <relevant>toolset-clang:platform <relevant>toolset-clang:version <relevant>undef <relevant>user-interface <relevant>warnings <relevant>warnings-as-errors ] { clang-win%clang-win.compile.c++-regex_debug.obj.OBJ { ../src/regex_debug.cpp.CPP } }
               generator clang-win.compile.c++  spawned 
               { clang-win%clang-win.compile.c++-regex_debug.obj.OBJ { ../src/regex_debug.cpp.CPP } }
               with usage requirements: [ <relevant>address-model <relevant>architecture <relevant>asynch-exceptions <relevant>cflags <relevant>compileflags <relevant>cxxflags <relevant>cxxstd <relevant>debug-store <relevant>debug-symbols <relevant>define <relevant>exception-handling <relevant>extern-c-nothrow <relevant>force-include <relevant>include <relevant>inlining <relevant>instruction-set <relevant>mc-input-encoding <relevant>mc-output-encoding <relevant>mc-set-customer-bit <relevant>optimization <relevant>pch <relevant>pch-file <relevant>pch-header <relevant>pch-source <relevant>response-file <relevant>rtti <relevant>runtime-debugging <relevant>runtime-link <relevant>threading <relevant>toolset <relevant>toolset-clang:platform <relevant>toolset-clang:version <relevant>undef <relevant>user-interface <relevant>warnings <relevant>warnings-as-errors ]
               ** generator 'clang-win.compile.c' pruned
               ** generator 'clang-win.compile.rc' pruned
               ** generator 'clang-win.compile.asm' pruned
               ** generator 'clang-win.compile.c.pch' pruned
               ** generator 'clang-win.compile.c++.pch' pruned
             *** construct OBJ
                 from { ../src/static_mutex.cpp.CPP }
                 properties: <address-model>64 <architecture>x86 <asynch-exceptions>off <coverage>off <debug-store>object <debug-symbols>on <define>BOOST_ALL_NO_LIB=1 <embed-manifest-via>mt <embed-manifest>on <exception-handling>on <extern-c-nothrow>off <hardcode-dll-paths>true <host-os>windows <include>../include&&/E:/Sources/cpp/tools/vcpkg/installed/x64-win-llvm-lto-static-md/include <inlining>off <install-dependencies>off <link>static <linkflags>-nologo -INCREMENTAL:NO -Brepro -DEBUG:FULL <main-target-type>LIB <midl-robust>yes <midl-stubless-proxy>yes <optimization>off <os>NT <pch>on <preserve-test-targets>on <profiling>off <relevant>define:<relevant>link <relevant>link <relevant>link:<relevant>toolset <relevant>threading:<relevant>runtime-link <relevant>threading:<relevant>toolset <response-file>auto <rtti>on <runtime-debugging>on <runtime-link>shared <stdlib>native <strip>off <suppress-import-lib>false <symlink-location>project-relative <tag>@Jamfile<G:\cpp\buildt\boost-regex\src\ost-1.82.0-aceb223f87.clean>%Jamfile<G:\cpp\buildt\boost-regex\src\ost-1.82.0-aceb223f87.clean>.tag <target-os>windows <testing.execute>on <threadapi>win32 <threading>multi <toolset-clang:platform>win <toolset-clang:version>143 <toolset>clang <user-interface>console <variant>debug <vectorize>off <warnings-as-errors>off <warnings>all <windows-api>desktop
             ***  6  viable generators
               ** generator clang-win.compile.c++
               composing:
               SUCCESS:  [ <relevant>address-model <relevant>architecture <relevant>asynch-exceptions <relevant>cflags <relevant>compileflags <relevant>cxxflags <relevant>cxxstd <relevant>debug-store <relevant>debug-symbols <relevant>define <relevant>exception-handling <relevant>extern-c-nothrow <relevant>force-include <relevant>include <relevant>inlining <relevant>instruction-set <relevant>mc-input-encoding <relevant>mc-output-encoding <relevant>mc-set-customer-bit <relevant>optimization <relevant>pch <relevant>pch-file <relevant>pch-header <relevant>pch-source <relevant>response-file <relevant>rtti <relevant>runtime-debugging <relevant>runtime-link <relevant>threading <relevant>toolset <relevant>toolset-clang:platform <relevant>toolset-clang:version <relevant>undef <relevant>user-interface <relevant>warnings <relevant>warnings-as-errors ] { clang-win%clang-win.compile.c++-static_mutex.obj.OBJ { ../src/static_mutex.cpp.CPP } }

             returned [ <relevant>address-model <relevant>architecture <relevant>asynch-exceptions <relevant>cflags <relevant>compileflags <relevant>cxxflags <relevant>cxxstd <relevant>debug-store <relevant>debug-symbols <relevant>define <relevant>exception-handling <relevant>extern-c-nothrow <relevant>force-include <relevant>include <relevant>inlining <relevant>instruction-set <relevant>mc-input-encoding <relevant>mc-output-encoding <relevant>mc-set-customer-bit <relevant>optimization <relevant>pch <relevant>pch-file <relevant>pch-header <relevant>pch-source <relevant>response-file <relevant>rtti <relevant>runtime-debugging <relevant>runtime-link <relevant>threading <relevant>toolset <relevant>toolset-clang:platform <relevant>toolset-clang:version <relevant>undef <relevant>user-interface <relevant>warnings <relevant>warnings-as-errors ] { clang-win%clang-win.compile.c++-static_mutex.obj.OBJ { ../src/static_mutex.cpp.CPP } }
               generator clang-win.compile.c++  spawned 
               { clang-win%clang-win.compile.c++-static_mutex.obj.OBJ { ../src/static_mutex.cpp.CPP } }
               with usage requirements: [ <relevant>address-model <relevant>architecture <relevant>asynch-exceptions <relevant>cflags <relevant>compileflags <relevant>cxxflags <relevant>cxxstd <relevant>debug-store <relevant>debug-symbols <relevant>define <relevant>exception-handling <relevant>extern-c-nothrow <relevant>force-include <relevant>include <relevant>inlining <relevant>instruction-set <relevant>mc-input-encoding <relevant>mc-output-encoding <relevant>mc-set-customer-bit <relevant>optimization <relevant>pch <relevant>pch-file <relevant>pch-header <relevant>pch-source <relevant>response-file <relevant>rtti <relevant>runtime-debugging <relevant>runtime-link <relevant>threading <relevant>toolset <relevant>toolset-clang:platform <relevant>toolset-clang:version <relevant>undef <relevant>user-interface <relevant>warnings <relevant>warnings-as-errors ]
               ** generator 'clang-win.compile.c' pruned
               ** generator 'clang-win.compile.rc' pruned
               ** generator 'clang-win.compile.asm' pruned
               ** generator 'clang-win.compile.c.pch' pruned
               ** generator 'clang-win.compile.c++.pch' pruned
             *** construct OBJ
                 from { ../src/wide_posix_api.cpp.CPP }
                 properties: <address-model>64 <architecture>x86 <asynch-exceptions>off <coverage>off <debug-store>object <debug-symbols>on <define>BOOST_ALL_NO_LIB=1 <embed-manifest-via>mt <embed-manifest>on <exception-handling>on <extern-c-nothrow>off <hardcode-dll-paths>true <host-os>windows <include>../include&&/E:/Sources/cpp/tools/vcpkg/installed/x64-win-llvm-lto-static-md/include <inlining>off <install-dependencies>off <link>static <linkflags>-nologo -INCREMENTAL:NO -Brepro -DEBUG:FULL <main-target-type>LIB <midl-robust>yes <midl-stubless-proxy>yes <optimization>off <os>NT <pch>on <preserve-test-targets>on <profiling>off <relevant>define:<relevant>link <relevant>link <relevant>link:<relevant>toolset <relevant>threading:<relevant>runtime-link <relevant>threading:<relevant>toolset <response-file>auto <rtti>on <runtime-debugging>on <runtime-link>shared <stdlib>native <strip>off <suppress-import-lib>false <symlink-location>project-relative <tag>@Jamfile<G:\cpp\buildt\boost-regex\src\ost-1.82.0-aceb223f87.clean>%Jamfile<G:\cpp\buildt\boost-regex\src\ost-1.82.0-aceb223f87.clean>.tag <target-os>windows <testing.execute>on <threadapi>win32 <threading>multi <toolset-clang:platform>win <toolset-clang:version>143 <toolset>clang <user-interface>console <variant>debug <vectorize>off <warnings-as-errors>off <warnings>all <windows-api>desktop
             ***  6  viable generators
               ** generator clang-win.compile.c++
               composing:
               SUCCESS:  [ <relevant>address-model <relevant>architecture <relevant>asynch-exceptions <relevant>cflags <relevant>compileflags <relevant>cxxflags <relevant>cxxstd <relevant>debug-store <relevant>debug-symbols <relevant>define <relevant>exception-handling <relevant>extern-c-nothrow <relevant>force-include <relevant>include <relevant>inlining <relevant>instruction-set <relevant>mc-input-encoding <relevant>mc-output-encoding <relevant>mc-set-customer-bit <relevant>optimization <relevant>pch <relevant>pch-file <relevant>pch-header <relevant>pch-source <relevant>response-file <relevant>rtti <relevant>runtime-debugging <relevant>runtime-link <relevant>threading <relevant>toolset <relevant>toolset-clang:platform <relevant>toolset-clang:version <relevant>undef <relevant>user-interface <relevant>warnings <relevant>warnings-as-errors ] { clang-win%clang-win.compile.c++-wide_posix_api.obj.OBJ { ../src/wide_posix_api.cpp.CPP } }

             returned [ <relevant>address-model <relevant>architecture <relevant>asynch-exceptions <relevant>cflags <relevant>compileflags <relevant>cxxflags <relevant>cxxstd <relevant>debug-store <relevant>debug-symbols <relevant>define <relevant>exception-handling <relevant>extern-c-nothrow <relevant>force-include <relevant>include <relevant>inlining <relevant>instruction-set <relevant>mc-input-encoding <relevant>mc-output-encoding <relevant>mc-set-customer-bit <relevant>optimization <relevant>pch <relevant>pch-file <relevant>pch-header <relevant>pch-source <relevant>response-file <relevant>rtti <relevant>runtime-debugging <relevant>runtime-link <relevant>threading <relevant>toolset <relevant>toolset-clang:platform <relevant>toolset-clang:version <relevant>undef <relevant>user-interface <relevant>warnings <relevant>warnings-as-errors ] { clang-win%clang-win.compile.c++-wide_posix_api.obj.OBJ { ../src/wide_posix_api.cpp.CPP } }
               generator clang-win.compile.c++  spawned 
               { clang-win%clang-win.compile.c++-wide_posix_api.obj.OBJ { ../src/wide_posix_api.cpp.CPP } }
               with usage requirements: [ <relevant>address-model <relevant>architecture <relevant>asynch-exceptions <relevant>cflags <relevant>compileflags <relevant>cxxflags <relevant>cxxstd <relevant>debug-store <relevant>debug-symbols <relevant>define <relevant>exception-handling <relevant>extern-c-nothrow <relevant>force-include <relevant>include <relevant>inlining <relevant>instruction-set <relevant>mc-input-encoding <relevant>mc-output-encoding <relevant>mc-set-customer-bit <relevant>optimization <relevant>pch <relevant>pch-file <relevant>pch-header <relevant>pch-source <relevant>response-file <relevant>rtti <relevant>runtime-debugging <relevant>runtime-link <relevant>threading <relevant>toolset <relevant>toolset-clang:platform <relevant>toolset-clang:version <relevant>undef <relevant>user-interface <relevant>warnings <relevant>warnings-as-errors ]
               ** generator 'clang-win.compile.c' pruned
               ** generator 'clang-win.compile.rc' pruned
               ** generator 'clang-win.compile.asm' pruned
               ** generator 'clang-win.compile.c.pch' pruned
               ** generator 'clang-win.compile.c++.pch' pruned
           SUCCESS:  [ <relevant>address-model <relevant>architecture <relevant>archiveflags <relevant>debug-symbols <relevant>response-file <relevant>runtime-debugging <relevant>toolset <relevant>toolset-clang:platform <relevant>toolset-clang:version <relevant>user-interface ] { clang-win%clang-win.archive-libboost_regex-clangw143-mt-gd-x64-1_82.lib.STATIC_LIB { clang-win%clang-win.compile.c++-posix_api.obj.OBJ { ../src/posix_api.cpp.CPP } } { clang-win%clang-win.compile.c++-regex.obj.OBJ { ../src/regex.cpp.CPP } } { clang-win%clang-win.compile.c++-regex_debug.obj.OBJ { ../src/regex_debug.cpp.CPP } } { clang-win%clang-win.compile.c++-static_mutex.obj.OBJ { ../src/static_mutex.cpp.CPP } } { clang-win%clang-win.compile.c++-wide_posix_api.obj.OBJ { ../src/wide_posix_api.cpp.CPP } } }

         returned [ <relevant>address-model <relevant>architecture <relevant>archiveflags <relevant>asynch-exceptions <relevant>cflags <relevant>compileflags <relevant>cxxflags <relevant>cxxstd <relevant>debug-store <relevant>debug-symbols <relevant>define <relevant>exception-handling <relevant>extern-c-nothrow <relevant>force-include <relevant>include <relevant>inlining <relevant>instruction-set <relevant>link <relevant>mc-input-encoding <relevant>mc-output-encoding <relevant>mc-set-customer-bit <relevant>optimization <relevant>pch <relevant>pch-file <relevant>pch-header <relevant>pch-source <relevant>response-file <relevant>rtti <relevant>runtime-debugging <relevant>runtime-link <relevant>threading <relevant>toolset <relevant>toolset-clang:platform <relevant>toolset-clang:version <relevant>undef <relevant>user-interface <relevant>warnings <relevant>warnings-as-errors ] { clang-win%clang-win.archive-libboost_regex-clangw143-mt-gd-x64-1_82.lib.STATIC_LIB { clang-win%clang-win.compile.c++-posix_api.obj.OBJ { ../src/posix_api.cpp.CPP } } { clang-win%clang-win.compile.c++-regex.obj.OBJ { ../src/regex.cpp.CPP } } { clang-win%clang-win.compile.c++-regex_debug.obj.OBJ { ../src/regex_debug.cpp.CPP } } { clang-win%clang-win.compile.c++-static_mutex.obj.OBJ { ../src/static_mutex.cpp.CPP } } { clang-win%clang-win.compile.c++-wide_posix_api.obj.OBJ { ../src/wide_posix_api.cpp.CPP } } }
           generator clang-win.archive  spawned 
           { clang-win%clang-win.archive-libboost_regex-clangw143-mt-gd-x64-1_82.lib.STATIC_LIB { clang-win%clang-win.compile.c++-posix_api.obj.OBJ { ../src/posix_api.cpp.CPP } } { clang-win%clang-win.compile.c++-regex.obj.OBJ { ../src/regex.cpp.CPP } } { clang-win%clang-win.compile.c++-regex_debug.obj.OBJ { ../src/regex_debug.cpp.CPP } } { clang-win%clang-win.compile.c++-static_mutex.obj.OBJ { ../src/static_mutex.cpp.CPP } } { clang-win%clang-win.compile.c++-wide_posix_api.obj.OBJ { ../src/wide_posix_api.cpp.CPP } } }
           with usage requirements: [ <relevant>address-model <relevant>architecture <relevant>archiveflags <relevant>asynch-exceptions <relevant>cflags <relevant>compileflags <relevant>cxxflags <relevant>cxxstd <relevant>debug-store <relevant>debug-symbols <relevant>define <relevant>exception-handling <relevant>extern-c-nothrow <relevant>force-include <relevant>include <relevant>inlining <relevant>instruction-set <relevant>link <relevant>mc-input-encoding <relevant>mc-output-encoding <relevant>mc-set-customer-bit <relevant>optimization <relevant>pch <relevant>pch-file <relevant>pch-header <relevant>pch-source <relevant>response-file <relevant>rtti <relevant>runtime-debugging <relevant>runtime-link <relevant>threading <relevant>toolset <relevant>toolset-clang:platform <relevant>toolset-clang:version <relevant>undef <relevant>user-interface <relevant>warnings <relevant>warnings-as-errors ]
     returned [ <relevant>address-model <relevant>architecture <relevant>archiveflags <relevant>asynch-exceptions <relevant>cflags <relevant>compileflags <relevant>cxxflags <relevant>cxxstd <relevant>debug-store <relevant>debug-symbols <relevant>define <relevant>exception-handling <relevant>extern-c-nothrow <relevant>force-include <relevant>include <relevant>inlining <relevant>instruction-set <relevant>link <relevant>mc-input-encoding <relevant>mc-output-encoding <relevant>mc-set-customer-bit <relevant>optimization <relevant>pch <relevant>pch-file <relevant>pch-header <relevant>pch-source <relevant>response-file <relevant>rtti <relevant>runtime-debugging <relevant>runtime-link <relevant>threading <relevant>toolset <relevant>toolset-clang:platform <relevant>toolset-clang:version <relevant>undef <relevant>user-interface <relevant>warnings <relevant>warnings-as-errors ] { clang-win%clang-win.archive-libboost_regex-clangw143-mt-gd-x64-1_82.lib.STATIC_LIB { clang-win%clang-win.compile.c++-posix_api.obj.OBJ { ../src/posix_api.cpp.CPP } } { clang-win%clang-win.compile.c++-regex.obj.OBJ { ../src/regex.cpp.CPP } } { clang-win%clang-win.compile.c++-regex_debug.obj.OBJ { ../src/regex_debug.cpp.CPP } } { clang-win%clang-win.compile.c++-static_mutex.obj.OBJ { ../src/static_mutex.cpp.CPP } } { clang-win%clang-win.compile.c++-wide_posix_api.obj.OBJ { ../src/wide_posix_api.cpp.CPP } } }
       generator builtin.lib-generator  spawned 
       { clang-win%clang-win.archive-libboost_regex-clangw143-mt-gd-x64-1_82.lib.STATIC_LIB { clang-win%clang-win.compile.c++-posix_api.obj.OBJ { ../src/posix_api.cpp.CPP } } { clang-win%clang-win.compile.c++-regex.obj.OBJ { ../src/regex.cpp.CPP } } { clang-win%clang-win.compile.c++-regex_debug.obj.OBJ { ../src/regex_debug.cpp.CPP } } { clang-win%clang-win.compile.c++-static_mutex.obj.OBJ { ../src/static_mutex.cpp.CPP } } { clang-win%clang-win.compile.c++-wide_posix_api.obj.OBJ { ../src/wide_posix_api.cpp.CPP } } }
       with usage requirements: [ <relevant>address-model <relevant>architecture <relevant>archiveflags <relevant>asynch-exceptions <relevant>cflags <relevant>compileflags <relevant>cxxflags <relevant>cxxstd <relevant>debug-store <relevant>debug-symbols <relevant>define <relevant>exception-handling <relevant>extern-c-nothrow <relevant>force-include <relevant>include <relevant>inlining <relevant>instruction-set <relevant>link <relevant>mc-input-encoding <relevant>mc-output-encoding <relevant>mc-set-customer-bit <relevant>optimization <relevant>pch <relevant>pch-file <relevant>pch-header <relevant>pch-source <relevant>response-file <relevant>rtti <relevant>runtime-debugging <relevant>runtime-link <relevant>threading <relevant>toolset <relevant>toolset-clang:platform <relevant>toolset-clang:version <relevant>undef <relevant>user-interface <relevant>warnings <relevant>warnings-as-errors ]
         Usage requirements from boost_regex:  <relevant>address-model <relevant>architecture <relevant>asynch-exceptions <relevant>cxxstd <relevant>cxxstd-dialect <relevant>debug-store <relevant>debug-symbols <relevant>deduced-address-model <relevant>deduced-architecture <relevant>exception-handling <relevant>extern-c-nothrow <relevant>inlining <relevant>instruction-set <relevant>link <relevant>optimization <relevant>pch <relevant>rtti <relevant>runtime-debugging <relevant>runtime-link <relevant>segmented-stacks <relevant>threading <relevant>toolset <relevant>toolset-clang:platform <relevant>toolset-clang:version <relevant>toolset-msvc:vendor <relevant>variant <relevant>warnings <relevant>warnings-as-errors <relevant>windows-api

     Usage requirements for stage:  <relevant>address-model <relevant>architecture <relevant>asynch-exceptions <relevant>cxxstd <relevant>cxxstd-dialect <relevant>debug-store <relevant>debug-symbols <relevant>deduced-address-model <relevant>deduced-architecture <relevant>exception-handling <relevant>extern-c-nothrow <relevant>inlining <relevant>instruction-set <relevant>link <relevant>optimization <relevant>pch <relevant>rtti <relevant>runtime-debugging <relevant>runtime-link <relevant>segmented-stacks <relevant>threading <relevant>toolset <relevant>toolset-clang:platform <relevant>toolset-clang:version <relevant>toolset-msvc:vendor <relevant>variant <relevant>warnings <relevant>warnings-as-errors <relevant>windows-api
     Build properties:  <address-model>64 <architecture>x86 <asynch-exceptions>off <coverage>off <debug-store>object <debug-symbols>on <define>BOOST_ALL_NO_LIB=1 <embed-manifest-via>mt <embed-manifest>on <exception-handling>on <extern-c-nothrow>off <hardcode-dll-paths>false <host-os>windows <include>../include&&/E:/Sources/cpp/tools/vcpkg/installed/x64-win-llvm-lto-static-md/include <inlining>off <install-dependencies>off <link>static <linkflags>-nologo -INCREMENTAL:NO -Brepro -DEBUG:FULL <location>/G:/cpp/buildt/boost-regex/x64-win-llvm-lto-static-md-dbg/stage/lib <midl-robust>yes <midl-stubless-proxy>yes <optimization>off <os>NT <pch>on <preserve-test-targets>on <profiling>off <relevant>address-model <relevant>architecture <relevant>asynch-exceptions <relevant>cxxstd <relevant>cxxstd-dialect <relevant>debug-store <relevant>debug-symbols <relevant>deduced-address-model <relevant>deduced-architecture <relevant>exception-handling <relevant>extern-c-nothrow <relevant>inlining <relevant>instruction-set <relevant>link <relevant>optimization <relevant>pch <relevant>rtti <relevant>runtime-debugging <relevant>runtime-link <relevant>segmented-stacks <relevant>threading <relevant>threading:<relevant>runtime-link <relevant>threading:<relevant>toolset <relevant>toolset <relevant>toolset-clang:platform <relevant>toolset-clang:version <relevant>toolset-msvc:vendor <relevant>variant <relevant>warnings <relevant>warnings-as-errors <relevant>windows-api <response-file>auto <rtti>on <runtime-debugging>on <runtime-link>shared <stdlib>native <strip>off <suppress-import-lib>false <symlink-location>project-relative <tag>@Jamfile<G:\cpp\buildt\boost-regex\src\ost-1.82.0-aceb223f87.clean>%Jamfile<G:\cpp\buildt\boost-regex\src\ost-1.82.0-aceb223f87.clean>.tag <target-os>windows <testing.execute>on <threadapi>win32 <threading>multi <toolset-clang:platform>win <toolset-clang:version>143 <toolset>clang <translate-path>@Jamfile<G:\cpp\buildt\boost-regex\src\ost-1.82.0-aceb223f87.clean\build>%Jamfile<G:\cpp\buildt\boost-regex\src\ost-1.82.0-aceb223f87.clean\build>.stage-translate-path <user-interface>console <variant>debug <vectorize>off <warnings-as-errors>off <warnings>all <windows-api>desktop
     Usage requirements from stage:  <relevant>address-model <relevant>architecture <relevant>asynch-exceptions <relevant>cxxstd <relevant>cxxstd-dialect <relevant>debug-store <relevant>debug-symbols <relevant>deduced-address-model <relevant>deduced-architecture <relevant>exception-handling <relevant>extern-c-nothrow <relevant>inlining <relevant>instruction-set <relevant>link <relevant>optimization <relevant>pch <relevant>rtti <relevant>runtime-debugging <relevant>runtime-link <relevant>segmented-stacks <relevant>threading <relevant>toolset <relevant>toolset-clang:platform <relevant>toolset-clang:version <relevant>toolset-msvc:vendor <relevant>variant <relevant>warnings <relevant>warnings-as-errors <relevant>windows-api

[1] clang-win-143/debug/address-model-64/architecture-x86/link-static/threadapi-win32/threading-multi
common.mkdir G:\cpp\buildt\boost-regex\x64-win-llvm-lto-static-md-dbg\stage

        if not exist "G:\cpp\buildt\boost-regex\x64-win-llvm-lto-static-md-dbg\stage\\" mkdir "G:\cpp\buildt\boost-regex\x64-win-llvm-lto-static-md-dbg\stage"
    
common.mkdir G:\cpp\buildt\boost-regex\x64-win-llvm-lto-static-md-dbg\stage\lib

        if not exist "G:\cpp\buildt\boost-regex\x64-win-llvm-lto-static-md-dbg\stage\lib\\" mkdir "G:\cpp\buildt\boost-regex\x64-win-llvm-lto-static-md-dbg\stage\lib"
    
compile-c-c++ G:\cpp\buildt\boost-regex\x64-win-llvm-lto-static-md-dbg\boost\build\9ce0872fe7feae3839f2236f8df9a6f4\regex_debug.obj

     "C:/Program Files/LLVM/bin/clang-cl.exe" --target=x86_64-pc-windows-msvc "..\build\..\src\regex_debug.cpp" -c -Fo"G:\cpp\buildt\boost-regex\x64-win-llvm-lto-static-md-dbg\boost\build\9ce0872fe7feae3839f2236f8df9a6f4\regex_debug.obj"     -TP /EHs /GR -nologo -EHsc -GR -DWIN32 -D_WIN64 -D_WIN32_WINNT=0x0A00 -DWINVER=0x0A00 -D_CRT_SECURE_NO_DEPRECATE -D_CRT_SECURE_NO_WARNINGS -D_CRT_NONSTDC_NO_DEPRECATE -D_ATL_SECURE_NO_DEPRECATE -D_SCL_SECURE_NO_WARNINGS -D_CRT_INTERNAL_NONSTDC_NAMES -D_CRT_DECLARE_NONSTDC_NAMES -D_FORCENAMELESSUNION -mcrc32 -msse4.2 -utf-8 -WX- -Od -Ob0 -GS -RTC1 -FC -MDd -Z7 -Brepro -D_DEBUG -FC /Z7 /Od /Ob0 /W4 /MDd -DBOOST_ALL_NO_LIB=1 "-I..\include" "-IE:\Sources\cpp\tools\vcpkg\installed\x64-win-llvm-lto-static-md\include" 

compile-c-c++ G:\cpp\buildt\boost-regex\x64-win-llvm-lto-static-md-dbg\boost\build\9ce0872fe7feae3839f2236f8df9a6f4\regex.obj

     "C:/Program Files/LLVM/bin/clang-cl.exe" --target=x86_64-pc-windows-msvc "..\build\..\src\regex.cpp" -c -Fo"G:\cpp\buildt\boost-regex\x64-win-llvm-lto-static-md-dbg\boost\build\9ce0872fe7feae3839f2236f8df9a6f4\regex.obj"     -TP /EHs /GR -nologo -EHsc -GR -DWIN32 -D_WIN64 -D_WIN32_WINNT=0x0A00 -DWINVER=0x0A00 -D_CRT_SECURE_NO_DEPRECATE -D_CRT_SECURE_NO_WARNINGS -D_CRT_NONSTDC_NO_DEPRECATE -D_ATL_SECURE_NO_DEPRECATE -D_SCL_SECURE_NO_WARNINGS -D_CRT_INTERNAL_NONSTDC_NAMES -D_CRT_DECLARE_NONSTDC_NAMES -D_FORCENAMELESSUNION -mcrc32 -msse4.2 -utf-8 -WX- -Od -Ob0 -GS -RTC1 -FC -MDd -Z7 -Brepro -D_DEBUG -FC /Z7 /Od /Ob0 /W4 /MDd -DBOOST_ALL_NO_LIB=1 "-I..\include" "-IE:\Sources\cpp\tools\vcpkg\installed\x64-win-llvm-lto-static-md\include" 

compile-c-c++ G:\cpp\buildt\boost-regex\x64-win-llvm-lto-static-md-dbg\boost\build\9ce0872fe7feae3839f2236f8df9a6f4\static_mutex.obj

     "C:/Program Files/LLVM/bin/clang-cl.exe" --target=x86_64-pc-windows-msvc "..\build\..\src\static_mutex.cpp" -c -Fo"G:\cpp\buildt\boost-regex\x64-win-llvm-lto-static-md-dbg\boost\build\9ce0872fe7feae3839f2236f8df9a6f4\static_mutex.obj"     -TP /EHs /GR -nologo -EHsc -GR -DWIN32 -D_WIN64 -D_WIN32_WINNT=0x0A00 -DWINVER=0x0A00 -D_CRT_SECURE_NO_DEPRECATE -D_CRT_SECURE_NO_WARNINGS -D_CRT_NONSTDC_NO_DEPRECATE -D_ATL_SECURE_NO_DEPRECATE -D_SCL_SECURE_NO_WARNINGS -D_CRT_INTERNAL_NONSTDC_NAMES -D_CRT_DECLARE_NONSTDC_NAMES -D_FORCENAMELESSUNION -mcrc32 -msse4.2 -utf-8 -WX- -Od -Ob0 -GS -RTC1 -FC -MDd -Z7 -Brepro -D_DEBUG -FC /Z7 /Od /Ob0 /W4 /MDd -DBOOST_ALL_NO_LIB=1 "-I..\include" "-IE:\Sources\cpp\tools\vcpkg\installed\x64-win-llvm-lto-static-md\include" 

compile-c-c++ G:\cpp\buildt\boost-regex\x64-win-llvm-lto-static-md-dbg\boost\build\9ce0872fe7feae3839f2236f8df9a6f4\posix_api.obj

     "C:/Program Files/LLVM/bin/clang-cl.exe" --target=x86_64-pc-windows-msvc "..\build\..\src\posix_api.cpp" -c -Fo"G:\cpp\buildt\boost-regex\x64-win-llvm-lto-static-md-dbg\boost\build\9ce0872fe7feae3839f2236f8df9a6f4\posix_api.obj"     -TP /EHs /GR -nologo -EHsc -GR -DWIN32 -D_WIN64 -D_WIN32_WINNT=0x0A00 -DWINVER=0x0A00 -D_CRT_SECURE_NO_DEPRECATE -D_CRT_SECURE_NO_WARNINGS -D_CRT_NONSTDC_NO_DEPRECATE -D_ATL_SECURE_NO_DEPRECATE -D_SCL_SECURE_NO_WARNINGS -D_CRT_INTERNAL_NONSTDC_NAMES -D_CRT_DECLARE_NONSTDC_NAMES -D_FORCENAMELESSUNION -mcrc32 -msse4.2 -utf-8 -WX- -Od -Ob0 -GS -RTC1 -FC -MDd -Z7 -Brepro -D_DEBUG -FC /Z7 /Od /Ob0 /W4 /MDd -DBOOST_ALL_NO_LIB=1 "-I..\include" "-IE:\Sources\cpp\tools\vcpkg\installed\x64-win-llvm-lto-static-md\include" 

compile-c-c++ G:\cpp\buildt\boost-regex\x64-win-llvm-lto-static-md-dbg\boost\build\9ce0872fe7feae3839f2236f8df9a6f4\wide_posix_api.obj

     "C:/Program Files/LLVM/bin/clang-cl.exe" --target=x86_64-pc-windows-msvc "..\build\..\src\wide_posix_api.cpp" -c -Fo"G:\cpp\buildt\boost-regex\x64-win-llvm-lto-static-md-dbg\boost\build\9ce0872fe7feae3839f2236f8df9a6f4\wide_posix_api.obj"     -TP /EHs /GR -nologo -EHsc -GR -DWIN32 -D_WIN64 -D_WIN32_WINNT=0x0A00 -DWINVER=0x0A00 -D_CRT_SECURE_NO_DEPRECATE -D_CRT_SECURE_NO_WARNINGS -D_CRT_NONSTDC_NO_DEPRECATE -D_ATL_SECURE_NO_DEPRECATE -D_SCL_SECURE_NO_WARNINGS -D_CRT_INTERNAL_NONSTDC_NAMES -D_CRT_DECLARE_NONSTDC_NAMES -D_FORCENAMELESSUNION -mcrc32 -msse4.2 -utf-8 -WX- -Od -Ob0 -GS -RTC1 -FC -MDd -Z7 -Brepro -D_DEBUG -FC /Z7 /Od /Ob0 /W4 /MDd -DBOOST_ALL_NO_LIB=1 "-I..\include" "-IE:\Sources\cpp\tools\vcpkg\installed\x64-win-llvm-lto-static-md\include" 

clang-win.archive G:\cpp\buildt\boost-regex\x64-win-llvm-lto-static-md-dbg\boost\build\9ce0872fe7feae3839f2236f8df9a6f4\libboost_regex-clangw143-mt-gd-x64-1_82.lib

        if exist "G:\cpp\buildt\boost-regex\x64-win-llvm-lto-static-md-dbg\boost\build\9ce0872fe7feae3839f2236f8df9a6f4\libboost_regex-clangw143-mt-gd-x64-1_82.lib" DEL "G:\cpp\buildt\boost-regex\x64-win-llvm-lto-static-md-dbg\boost\build\9ce0872fe7feae3839f2236f8df9a6f4\libboost_regex-clangw143-mt-gd-x64-1_82.lib"
         C:/Program Files/LLVM/bin/llvm-lib.exe /nologo  /out:"G:\cpp\buildt\boost-regex\x64-win-llvm-lto-static-md-dbg\boost\build\9ce0872fe7feae3839f2236f8df9a6f4\libboost_regex-clangw143-mt-gd-x64-1_82.lib" "G:\cpp\buildt\boost-regex\x64-win-llvm-lto-static-md-dbg\boost\build\9ce0872fe7feae3839f2236f8df9a6f4\posix_api.obj" "G:\cpp\buildt\boost-regex\x64-win-llvm-lto-static-md-dbg\boost\build\9ce0872fe7feae3839f2236f8df9a6f4\regex.obj" "G:\cpp\buildt\boost-regex\x64-win-llvm-lto-static-md-dbg\boost\build\9ce0872fe7feae3839f2236f8df9a6f4\regex_debug.obj" "G:\cpp\buildt\boost-regex\x64-win-llvm-lto-static-md-dbg\boost\build\9ce0872fe7feae3839f2236f8df9a6f4\static_mutex.obj" "G:\cpp\buildt\boost-regex\x64-win-llvm-lto-static-md-dbg\boost\build\9ce0872fe7feae3839f2236f8df9a6f4\wide_posix_api.obj"   
    
"C:/Program" no se reconoce como un comando interno o externo,
programa o archivo por lotes ejecutable.
...skipped <pG:\cpp\buildt\boost-regex\x64-win-llvm-lto-static-md-dbg\stage\lib>libboost_regex-clangw143-mt-gd-x64-1_82.lib for lack of <pG:\cpp\buildt\boost-regex\x64-win-llvm-lto-static-md-dbg\boost\build\9ce0872fe7feae3839f2236f8df9a6f4>libboost_regex-clangw143-mt-gd-x64-1_82.lib...
...failed updating 1 target...
ninja: build stopped: subcommand failed.

Additional context

@tekert
Copy link
Author

tekert commented Jun 10, 2023

If i remove the ${LLVM_BIN_DIR} from:

set(CMAKE_AR "${LLVM_BIN_DIR}/llvm-lib.exe" CACHE STRING "")

it works, but llvm-lib.exe has to be in the PATH

@Neumann-A
Copy link
Owner

Boost has more problems than that: microsoft/vcpkg#27694.
I have my own overlay to make it work.

@tekert
Copy link
Author

tekert commented Jun 10, 2023

I see, read every comment, thanks for the work to bringing llvm a step closer.
Hope they merge something soon.

@DKGH
Copy link

DKGH commented Nov 20, 2023

I am also having this problem with several boost libraries. I am using VS 2022 with CMake 3.27. Is there a solution yet? My vcpkg version is 2023-09-15.

yurybura pushed a commit to yurybura/vcpkg that referenced this issue May 8, 2024
~~arm64-windows: boost-context builds are blocked by a cmake bug (see
https://gitlab.kitware.com/cmake/cmake/-/issues/24317)~~

closes microsoft#32274
closes Neumann-A/my-vcpkg-triplets#5

Questions:
- [x] ~~Move cmake files to `share/cmake/<name>` ?~~ Not doing it
because it is just using `vcpkg_cmake_config_fixup()`
- [x] Fix weak dependencies (uwp|emscripten|android|arm)?
- [x] Fix library names on !x64 (currently hardcoded to x64 or x86;
failure in aricpp since it forces FindBoost module mode.)
- [x] ~~Fix arm64-windows boost-context builds -> requires CMake
(3.19.2?) update due to bug how the assembler is invoked.~~ (-> CI
baseline for now)

TODO:
- [x] adjust generate ports script
- [x] microsoft#37457

---------

Co-authored-by: Cheney-Wang <850426846@qq.com>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging a pull request may close this issue.

3 participants