From d65aff9e2d3de571c50b36dbe4f8591e0d87a1a7 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Ren=C3=A9=20Ferdinand=20Rivera=20Morell?= Date: Thu, 15 May 2025 22:01:06 -0500 Subject: [PATCH 1/2] Test address model 32 for clang-cl. --- .github/workflows/multi.yml | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/.github/workflows/multi.yml b/.github/workflows/multi.yml index d1c7e2a8..837a5973 100644 --- a/.github/workflows/multi.yml +++ b/.github/workflows/multi.yml @@ -92,7 +92,7 @@ jobs: echo "::endgroup::" native: - name: native ${{ matrix.os }} ${{ matrix.toolset }} + name: native ${{ matrix.os }} ${{ matrix.toolset }} ${{ matrix.options }} runs-on: ${{ matrix.os }}-latest strategy: fail-fast: false @@ -104,6 +104,7 @@ jobs: - { os: macos, toolset: clang, options: cxxstd=17 } - { os: windows, toolset: gcc } - { os: windows, toolset: clang-win, options: embed-manifest-via=linker } + - { os: windows, toolset: clang-win, options: "address-model=32 embed-manifest-via=linker" } steps: - name: Checkout Boost super-repo From 33789764323e52a9014e579cea1cfde9fb78d5e7 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Ren=C3=A9=20Ferdinand=20Rivera=20Morell?= Date: Thu, 15 May 2025 22:47:13 -0500 Subject: [PATCH 2/2] Add safeseh to clang-win building. As an alternative msvc compiler the clang-win toolset needs the same seh flags. --- build/Jamfile.v2 | 1 + 1 file changed, 1 insertion(+) diff --git a/build/Jamfile.v2 b/build/Jamfile.v2 index 34e39f3c..5c767a65 100644 --- a/build/Jamfile.v2 +++ b/build/Jamfile.v2 @@ -39,6 +39,7 @@ project BOOST_CONTEXT_SOURCE multi msvc,32:/safeseh + clang-win,32:/safeseh : usage-requirements shared:BOOST_CONTEXT_DYN_LINK=1 BOOST_CONTEXT_NO_LIB=1