<?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 Re: meson support in Intel® oneAPI DPC++/C++ Compiler</title>
    <link>https://community.intel.com/t5/Intel-oneAPI-DPC-C-Compiler/meson-support/m-p/1297038#M1395</link>
    <description>&lt;P&gt;I have experimented with following if it helps.&lt;/P&gt;
&lt;P&gt;- First, run "meson setup" with default (non oneAPI) clang&lt;/P&gt;
&lt;P&gt;- source " .../oneapi/setvars.sh/" to make oneAPI clang in the path&lt;/P&gt;
&lt;P&gt;- build project with ninja&lt;/P&gt;
&lt;P&gt;This worked fine and I confirmed the correct toolchain used for compilation [1], so the compiler works fine only meson support needs to be added.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;[1]&lt;/P&gt;
&lt;P&gt;$ readelf -p .comment build/lib/librte_ethdev.so.21.3&lt;/P&gt;
&lt;P&gt;String dump of section '.comment':&lt;/P&gt;
&lt;P&gt;&amp;nbsp; [&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; 0]&amp;nbsp; GCC: (GNU) 11.1.1 20210531 (Red Hat 11.1.1-3)&lt;/P&gt;
&lt;P&gt;&amp;nbsp; [&amp;nbsp;&amp;nbsp;&amp;nbsp; 2e]&amp;nbsp; Intel(R) oneAPI DPC++/C++ Compiler 2021.3.0 (2021.3.0.20210619)&lt;/P&gt;</description>
    <pubDate>Thu, 08 Jul 2021 17:11:28 GMT</pubDate>
    <dc:creator>Ferruh</dc:creator>
    <dc:date>2021-07-08T17:11:28Z</dc:date>
    <item>
      <title>meson support</title>
      <link>https://community.intel.com/t5/Intel-oneAPI-DPC-C-Compiler/meson-support/m-p/1296013#M1376</link>
      <description>&lt;P&gt;Using oneAPI compiler with meson is giving the following error [1], clang is on the path [2].&lt;/P&gt;
&lt;P&gt;I assume this is because oneAPI does not expose itself as a clang compiler. Will there be official meson support for oneAPI?&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Btw, this is for DPDK opensource project. We used to support 'icc' which works fine with meson, but the new oneAPI compiler is failing.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Thanks for your support, Ferruh.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;[1]&lt;/P&gt;
&lt;P&gt;$ CC=clang meson setup build-clang&lt;/P&gt;
&lt;P&gt;The Meson build system&lt;/P&gt;
&lt;P&gt;Version: 0.56.2&lt;/P&gt;
&lt;P&gt;Source dir: /root/development/dpdk-next-net&lt;/P&gt;
&lt;P&gt;Build dir: /root/development/dpdk-next-net/build-clang&lt;/P&gt;
&lt;P&gt;Build type: native build&lt;/P&gt;
&lt;P&gt;Program cat found: YES (/usr/bin/cat)&lt;/P&gt;
&lt;P&gt;Project name: DPDK&lt;/P&gt;
&lt;P&gt;Project version: 21.08.0-rc0&lt;/P&gt;
&lt;P&gt;Using 'CC' from environment with value: 'clang'&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;meson.build:4:0: ERROR: Unknown compiler(s): [['clang']]&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;[2]&lt;/P&gt;
&lt;P&gt;$ clang --version&lt;/P&gt;
&lt;P&gt;Intel(R) oneAPI DPC++/C++ Compiler 2021.3.0 (2021.3.0.20210619)&lt;/P&gt;
&lt;P&gt;Target: x86_64-unknown-linux-gnu&lt;/P&gt;
&lt;P&gt;Thread model: posix&lt;/P&gt;
&lt;P&gt;InstalledDir: /opt/intel/oneapi/compiler/2021.3.0/linux/bin&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Mon, 05 Jul 2021 14:06:26 GMT</pubDate>
      <guid>https://community.intel.com/t5/Intel-oneAPI-DPC-C-Compiler/meson-support/m-p/1296013#M1376</guid>
      <dc:creator>Ferruh</dc:creator>
      <dc:date>2021-07-05T14:06:26Z</dc:date>
    </item>
    <item>
      <title>Re:meson support</title>
      <link>https://community.intel.com/t5/Intel-oneAPI-DPC-C-Compiler/meson-support/m-p/1296257#M1377</link>
      <description>&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;Thanks for reaching out to us.&lt;/P&gt;&lt;P&gt;&amp;gt;&amp;gt;&lt;I&gt;$ CC=clang meson setup build-clang&lt;/I&gt;&lt;/P&gt;&lt;P&gt;Could you please try using CXX instead of CC and dpcpp against clang and let us know if it helps.&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;Vidya.&lt;/P&gt;&lt;BR /&gt;</description>
      <pubDate>Tue, 06 Jul 2021 11:13:36 GMT</pubDate>
      <guid>https://community.intel.com/t5/Intel-oneAPI-DPC-C-Compiler/meson-support/m-p/1296257#M1377</guid>
      <dc:creator>VidyalathaB_Intel</dc:creator>
      <dc:date>2021-07-06T11:13:36Z</dc:date>
    </item>
    <item>
      <title>Re: meson support</title>
      <link>https://community.intel.com/t5/Intel-oneAPI-DPC-C-Compiler/meson-support/m-p/1296279#M1379</link>
      <description>&lt;P&gt;&lt;SPAN&gt;Thanks Vidya.&lt;/SPAN&gt;&lt;/P&gt;
&lt;P&gt;&lt;SPAN&gt;CXX worked for both&amp;nbsp; 'clang' &amp;amp; 'dpcpp'.&lt;/SPAN&gt;&lt;/P&gt;</description>
      <pubDate>Tue, 06 Jul 2021 12:54:19 GMT</pubDate>
      <guid>https://community.intel.com/t5/Intel-oneAPI-DPC-C-Compiler/meson-support/m-p/1296279#M1379</guid>
      <dc:creator>Ferruh</dc:creator>
      <dc:date>2021-07-06T12:54:19Z</dc:date>
    </item>
    <item>
      <title>Re: meson support</title>
      <link>https://community.intel.com/t5/Intel-oneAPI-DPC-C-Compiler/meson-support/m-p/1296333#M1382</link>
      <description>&lt;P&gt;Ahh, it seems I replied too early.&lt;/P&gt;
&lt;P&gt;When CXX is set, the compiler is not used at all. Since the project is a C project, when CXX=dpcpp set, all builds are done with another compiler in the system (GCC).&lt;/P&gt;
&lt;P&gt;So still not able to compile the project with oneAPI.&lt;/P&gt;</description>
      <pubDate>Tue, 06 Jul 2021 16:20:15 GMT</pubDate>
      <guid>https://community.intel.com/t5/Intel-oneAPI-DPC-C-Compiler/meson-support/m-p/1296333#M1382</guid>
      <dc:creator>Ferruh</dc:creator>
      <dc:date>2021-07-06T16:20:15Z</dc:date>
    </item>
    <item>
      <title>Re:meson support</title>
      <link>https://community.intel.com/t5/Intel-oneAPI-DPC-C-Compiler/meson-support/m-p/1297010#M1394</link>
      <description>&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;We are looking into this issue internally. we will get back to you soon.&lt;/P&gt;&lt;P&gt;Thanks &amp;amp; Regards,&lt;/P&gt;&lt;P&gt;Vidya.&lt;/P&gt;&lt;BR /&gt;</description>
      <pubDate>Thu, 08 Jul 2021 14:44:52 GMT</pubDate>
      <guid>https://community.intel.com/t5/Intel-oneAPI-DPC-C-Compiler/meson-support/m-p/1297010#M1394</guid>
      <dc:creator>VidyalathaB_Intel</dc:creator>
      <dc:date>2021-07-08T14:44:52Z</dc:date>
    </item>
    <item>
      <title>Re: meson support</title>
      <link>https://community.intel.com/t5/Intel-oneAPI-DPC-C-Compiler/meson-support/m-p/1297038#M1395</link>
      <description>&lt;P&gt;I have experimented with following if it helps.&lt;/P&gt;
&lt;P&gt;- First, run "meson setup" with default (non oneAPI) clang&lt;/P&gt;
&lt;P&gt;- source " .../oneapi/setvars.sh/" to make oneAPI clang in the path&lt;/P&gt;
&lt;P&gt;- build project with ninja&lt;/P&gt;
&lt;P&gt;This worked fine and I confirmed the correct toolchain used for compilation [1], so the compiler works fine only meson support needs to be added.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;[1]&lt;/P&gt;
&lt;P&gt;$ readelf -p .comment build/lib/librte_ethdev.so.21.3&lt;/P&gt;
&lt;P&gt;String dump of section '.comment':&lt;/P&gt;
&lt;P&gt;&amp;nbsp; [&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; 0]&amp;nbsp; GCC: (GNU) 11.1.1 20210531 (Red Hat 11.1.1-3)&lt;/P&gt;
&lt;P&gt;&amp;nbsp; [&amp;nbsp;&amp;nbsp;&amp;nbsp; 2e]&amp;nbsp; Intel(R) oneAPI DPC++/C++ Compiler 2021.3.0 (2021.3.0.20210619)&lt;/P&gt;</description>
      <pubDate>Thu, 08 Jul 2021 17:11:28 GMT</pubDate>
      <guid>https://community.intel.com/t5/Intel-oneAPI-DPC-C-Compiler/meson-support/m-p/1297038#M1395</guid>
      <dc:creator>Ferruh</dc:creator>
      <dc:date>2021-07-08T17:11:28Z</dc:date>
    </item>
    <item>
      <title>Re:meson support</title>
      <link>https://community.intel.com/t5/Intel-oneAPI-DPC-C-Compiler/meson-support/m-p/1298116#M1409</link>
      <description>&lt;P&gt;This is a known issue: &lt;A href="https://github.com/mesonbuild/meson/issues/8113" target="_blank"&gt;https://github.com/mesonbuild/meson/issues/8113&lt;/A&gt; . As far as I understand, you need to ask meson about support. &lt;/P&gt;&lt;P&gt;&lt;BR /&gt;&lt;/P&gt;&lt;P&gt;I checked our internal resources and found one application using meson. It is built using ninja, too. So meson + ninja could be a workaround. &lt;/P&gt;&lt;BR /&gt;</description>
      <pubDate>Tue, 13 Jul 2021 10:27:01 GMT</pubDate>
      <guid>https://community.intel.com/t5/Intel-oneAPI-DPC-C-Compiler/meson-support/m-p/1298116#M1409</guid>
      <dc:creator>Alina_S_Intel</dc:creator>
      <dc:date>2021-07-13T10:27:01Z</dc:date>
    </item>
    <item>
      <title>Re:meson support</title>
      <link>https://community.intel.com/t5/Intel-oneAPI-DPC-C-Compiler/meson-support/m-p/1300268#M1427</link>
      <description>&lt;P&gt;Sorry for the delay, the issue is escalated to the development team (CMPLRLLVM-29939). &lt;/P&gt;&lt;P&gt;&lt;BR /&gt;&lt;/P&gt;&lt;P&gt;We will no longer monitor this thread.&amp;nbsp;&amp;nbsp;&lt;/P&gt;&lt;P&gt;If you require additional assistance from Intel, please start a new thread. Any further interaction in this thread will be considered community only.&lt;/P&gt;&lt;P&gt;Thanks&lt;/P&gt;&lt;BR /&gt;</description>
      <pubDate>Wed, 21 Jul 2021 10:14:03 GMT</pubDate>
      <guid>https://community.intel.com/t5/Intel-oneAPI-DPC-C-Compiler/meson-support/m-p/1300268#M1427</guid>
      <dc:creator>Alina_S_Intel</dc:creator>
      <dc:date>2021-07-21T10:14:03Z</dc:date>
    </item>
  </channel>
</rss>

