<?xml version="1.0" encoding="UTF-8"?>
<rss xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#" xmlns:taxo="http://purl.org/rss/1.0/modules/taxonomy/" version="2.0">
  <channel>
    <title>topic Update procedure for boost compilation (&amp;gt;=1.81) using oneAPI toolkit (2024.2.1.20240711) on Windows in Intel® oneAPI DPC++/C++ Compiler</title>
    <link>https://community.intel.com/t5/Intel-oneAPI-DPC-C-Compiler/Update-procedure-for-boost-compilation-gt-1-81-using-oneAPI/m-p/1684884#M4428</link>
    <description>&lt;P&gt;Hello&lt;/P&gt;&lt;P&gt;I need to compile Boost 1.81 binaries for our development purposes, preferably using the Clang compiler. I found a page describing a procedure that should be valid for the C++ Compiler 2022.0.0 and Boost versions 1.75/1.78 (&lt;A href="https://www.intel.com/content/www/us/en/developer/articles/technical/building-boost-with-oneapi.html" target="_blank" rel="noopener"&gt;Building Boost with Intel® oneAPI&lt;/A&gt;). However, these instructions do not seem to work with Boost 1.81, and I fear they might not work with any newer versions either.&lt;/P&gt;&lt;P&gt;First of all, even after editing the&amp;nbsp;project-config.jam&amp;nbsp;file, whenever I run the bootstrap script, the toolset chosen ends up being VC143, regardless of whether I added the&amp;nbsp;clang-win&amp;nbsp;line in the file. If I try to run the bootstrap script with an invalid toolset option, the available options are:&lt;/P&gt;&lt;UL&gt;&lt;LI&gt;borland&lt;/LI&gt;&lt;LI&gt;como&lt;/LI&gt;&lt;LI&gt;gcc&lt;/LI&gt;&lt;LI&gt;gcc-nocygwin&lt;/LI&gt;&lt;LI&gt;intel-win32&lt;/LI&gt;&lt;LI&gt;mingw&lt;/LI&gt;&lt;LI&gt;vc12&lt;/LI&gt;&lt;LI&gt;vc14&lt;/LI&gt;&lt;LI&gt;vc141&lt;/LI&gt;&lt;LI&gt;vc142&lt;/LI&gt;&lt;LI&gt;vc143&lt;/LI&gt;&lt;/UL&gt;&lt;P&gt;In my case, I'd like to compile the x64 binaries, so the&amp;nbsp;intel-win32&amp;nbsp;option would not be applicable. By inspecting the bootstrap script, I can see that the following options exist:&lt;BR /&gt;&lt;BR /&gt;&lt;/P&gt;&lt;P&gt;&lt;!--  ScriptorStartFragment  --&gt;&lt;/P&gt;&lt;DIV&gt;REM Ideally, we should obtain the toolset that build.bat has&lt;/DIV&gt;&lt;DIV&gt;REM guessed. However, it uses setlocal at the start and does not&lt;/DIV&gt;&lt;DIV&gt;REM export BOOST_JAM_TOOLSET, and I don't know how to do that&lt;/DIV&gt;&lt;DIV&gt;REM properly. Default to msvc if not specified.&lt;/DIV&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;DIV&gt;SET TOOLSET=msvc&lt;/DIV&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;DIV&gt;IF "%1"=="gcc" SET TOOLSET=gcc&lt;/DIV&gt;&lt;DIV&gt;IF "%1"=="clang" SET TOOLSET=clang&lt;/DIV&gt;&lt;DIV&gt;IF "%1"=="borland" SET TOOLSET=embarcadero&lt;/DIV&gt;&lt;DIV&gt;IF "%1"=="vc71" SET TOOLSET=msvc : 7.1&lt;/DIV&gt;&lt;DIV&gt;IF "%1"=="vc8" SET TOOLSET=msvc : 8.0&lt;/DIV&gt;&lt;DIV&gt;IF "%1"=="vc9" SET TOOLSET=msvc : 9.0&lt;/DIV&gt;&lt;DIV&gt;IF "%1"=="vc10" SET TOOLSET=msvc : 10.0&lt;/DIV&gt;&lt;DIV&gt;IF "%1"=="vc11" SET TOOLSET=msvc : 11.0&lt;/DIV&gt;&lt;DIV&gt;IF "%1"=="vc12" SET TOOLSET=msvc : 12.0&lt;/DIV&gt;&lt;DIV&gt;IF "%1"=="vc14" SET TOOLSET=msvc : 14.0&lt;/DIV&gt;&lt;DIV&gt;IF "%1"=="vc141" SET TOOLSET=msvc : 14.1&lt;/DIV&gt;&lt;DIV&gt;IF "%1"=="vc142" SET TOOLSET=msvc : 14.2&lt;/DIV&gt;&lt;DIV&gt;IF "%1"=="vc143" SET TOOLSET=msvc : 14.3&lt;/DIV&gt;&lt;DIV&gt;&amp;nbsp;&lt;/DIV&gt;&lt;DIV&gt;Even though there seems to be a&amp;nbsp;clang&amp;nbsp;option, I end up getting many errors during the bootstrap execution, as it seems that MSVC files are being targeted instead.&lt;/DIV&gt;&lt;DIV&gt;&amp;nbsp;&lt;/DIV&gt;&lt;DIV&gt;Is there an updated procedure somewhere else?&lt;/DIV&gt;&lt;P&gt;&lt;!--  ScriptorEndFragment  --&gt;&lt;/P&gt;</description>
    <pubDate>Wed, 23 Apr 2025 19:28:04 GMT</pubDate>
    <dc:creator>brunodema</dc:creator>
    <dc:date>2025-04-23T19:28:04Z</dc:date>
    <item>
      <title>Update procedure for boost compilation (&gt;=1.81) using oneAPI toolkit (2024.2.1.20240711) on Windows</title>
      <link>https://community.intel.com/t5/Intel-oneAPI-DPC-C-Compiler/Update-procedure-for-boost-compilation-gt-1-81-using-oneAPI/m-p/1684884#M4428</link>
      <description>&lt;P&gt;Hello&lt;/P&gt;&lt;P&gt;I need to compile Boost 1.81 binaries for our development purposes, preferably using the Clang compiler. I found a page describing a procedure that should be valid for the C++ Compiler 2022.0.0 and Boost versions 1.75/1.78 (&lt;A href="https://www.intel.com/content/www/us/en/developer/articles/technical/building-boost-with-oneapi.html" target="_blank" rel="noopener"&gt;Building Boost with Intel® oneAPI&lt;/A&gt;). However, these instructions do not seem to work with Boost 1.81, and I fear they might not work with any newer versions either.&lt;/P&gt;&lt;P&gt;First of all, even after editing the&amp;nbsp;project-config.jam&amp;nbsp;file, whenever I run the bootstrap script, the toolset chosen ends up being VC143, regardless of whether I added the&amp;nbsp;clang-win&amp;nbsp;line in the file. If I try to run the bootstrap script with an invalid toolset option, the available options are:&lt;/P&gt;&lt;UL&gt;&lt;LI&gt;borland&lt;/LI&gt;&lt;LI&gt;como&lt;/LI&gt;&lt;LI&gt;gcc&lt;/LI&gt;&lt;LI&gt;gcc-nocygwin&lt;/LI&gt;&lt;LI&gt;intel-win32&lt;/LI&gt;&lt;LI&gt;mingw&lt;/LI&gt;&lt;LI&gt;vc12&lt;/LI&gt;&lt;LI&gt;vc14&lt;/LI&gt;&lt;LI&gt;vc141&lt;/LI&gt;&lt;LI&gt;vc142&lt;/LI&gt;&lt;LI&gt;vc143&lt;/LI&gt;&lt;/UL&gt;&lt;P&gt;In my case, I'd like to compile the x64 binaries, so the&amp;nbsp;intel-win32&amp;nbsp;option would not be applicable. By inspecting the bootstrap script, I can see that the following options exist:&lt;BR /&gt;&lt;BR /&gt;&lt;/P&gt;&lt;P&gt;&lt;!--  ScriptorStartFragment  --&gt;&lt;/P&gt;&lt;DIV&gt;REM Ideally, we should obtain the toolset that build.bat has&lt;/DIV&gt;&lt;DIV&gt;REM guessed. However, it uses setlocal at the start and does not&lt;/DIV&gt;&lt;DIV&gt;REM export BOOST_JAM_TOOLSET, and I don't know how to do that&lt;/DIV&gt;&lt;DIV&gt;REM properly. Default to msvc if not specified.&lt;/DIV&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;DIV&gt;SET TOOLSET=msvc&lt;/DIV&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;DIV&gt;IF "%1"=="gcc" SET TOOLSET=gcc&lt;/DIV&gt;&lt;DIV&gt;IF "%1"=="clang" SET TOOLSET=clang&lt;/DIV&gt;&lt;DIV&gt;IF "%1"=="borland" SET TOOLSET=embarcadero&lt;/DIV&gt;&lt;DIV&gt;IF "%1"=="vc71" SET TOOLSET=msvc : 7.1&lt;/DIV&gt;&lt;DIV&gt;IF "%1"=="vc8" SET TOOLSET=msvc : 8.0&lt;/DIV&gt;&lt;DIV&gt;IF "%1"=="vc9" SET TOOLSET=msvc : 9.0&lt;/DIV&gt;&lt;DIV&gt;IF "%1"=="vc10" SET TOOLSET=msvc : 10.0&lt;/DIV&gt;&lt;DIV&gt;IF "%1"=="vc11" SET TOOLSET=msvc : 11.0&lt;/DIV&gt;&lt;DIV&gt;IF "%1"=="vc12" SET TOOLSET=msvc : 12.0&lt;/DIV&gt;&lt;DIV&gt;IF "%1"=="vc14" SET TOOLSET=msvc : 14.0&lt;/DIV&gt;&lt;DIV&gt;IF "%1"=="vc141" SET TOOLSET=msvc : 14.1&lt;/DIV&gt;&lt;DIV&gt;IF "%1"=="vc142" SET TOOLSET=msvc : 14.2&lt;/DIV&gt;&lt;DIV&gt;IF "%1"=="vc143" SET TOOLSET=msvc : 14.3&lt;/DIV&gt;&lt;DIV&gt;&amp;nbsp;&lt;/DIV&gt;&lt;DIV&gt;Even though there seems to be a&amp;nbsp;clang&amp;nbsp;option, I end up getting many errors during the bootstrap execution, as it seems that MSVC files are being targeted instead.&lt;/DIV&gt;&lt;DIV&gt;&amp;nbsp;&lt;/DIV&gt;&lt;DIV&gt;Is there an updated procedure somewhere else?&lt;/DIV&gt;&lt;P&gt;&lt;!--  ScriptorEndFragment  --&gt;&lt;/P&gt;</description>
      <pubDate>Wed, 23 Apr 2025 19:28:04 GMT</pubDate>
      <guid>https://community.intel.com/t5/Intel-oneAPI-DPC-C-Compiler/Update-procedure-for-boost-compilation-gt-1-81-using-oneAPI/m-p/1684884#M4428</guid>
      <dc:creator>brunodema</dc:creator>
      <dc:date>2025-04-23T19:28:04Z</dc:date>
    </item>
    <item>
      <title>Re: Update procedure for boost compilation (&gt;=1.81) using oneAPI toolkit (2024.2.1.20240711) on W</title>
      <link>https://community.intel.com/t5/Intel-oneAPI-DPC-C-Compiler/Update-procedure-for-boost-compilation-gt-1-81-using-oneAPI/m-p/1685459#M4431</link>
      <description>&lt;P&gt;It seems that the clang-win option mentioned in the tutorial I posted in the original post is naturally supported by boost only for versions &amp;gt;=1.85. That means that I remain blocked for my case with version 1.81.&lt;/P&gt;</description>
      <pubDate>Fri, 25 Apr 2025 12:51:21 GMT</pubDate>
      <guid>https://community.intel.com/t5/Intel-oneAPI-DPC-C-Compiler/Update-procedure-for-boost-compilation-gt-1-81-using-oneAPI/m-p/1685459#M4431</guid>
      <dc:creator>brunodema</dc:creator>
      <dc:date>2025-04-25T12:51:21Z</dc:date>
    </item>
  </channel>
</rss>

