From mboxrd@z Thu Jan  1 00:00:00 1970
Return-Path: <ci-bounces@dpdk.org>
Received: from mails.dpdk.org (mails.dpdk.org [217.70.189.124])
	by inbox.dpdk.org (Postfix) with ESMTP id 5F19341E1E
	for <public@inbox.dpdk.org>; Wed,  8 Mar 2023 11:58:25 +0100 (CET)
Received: from mails.dpdk.org (localhost [127.0.0.1])
	by mails.dpdk.org (Postfix) with ESMTP id 483EA40FAE;
	Wed,  8 Mar 2023 11:58:25 +0100 (CET)
Received: from inbox.dpdk.org (inbox.dpdk.org [95.142.172.178])
 by mails.dpdk.org (Postfix) with ESMTP id C302C40ED6
 for <ci@dpdk.org>; Wed,  8 Mar 2023 11:58:23 +0100 (CET)
Received: by inbox.dpdk.org (Postfix, from userid 33)
 id B09EE41E20; Wed,  8 Mar 2023 11:58:23 +0100 (CET)
From: bugzilla@dpdk.org
To: ci@dpdk.org
Subject: [Bug 1174] Adding compilation flags to continue compiling mlx5 in
 iol-x86_64-unit-testing over Windows/clang
Date: Wed, 08 Mar 2023 10:58:23 +0000
X-Bugzilla-Reason: AssignedTo
X-Bugzilla-Type: new
X-Bugzilla-Watch-Reason: None
X-Bugzilla-Product: lab
X-Bugzilla-Component: job scripts
X-Bugzilla-Version: unspecified
X-Bugzilla-Keywords: 
X-Bugzilla-Severity: normal
X-Bugzilla-Who: talshn@nvidia.com
X-Bugzilla-Status: UNCONFIRMED
X-Bugzilla-Resolution: 
X-Bugzilla-Priority: Normal
X-Bugzilla-Assigned-To: ci@dpdk.org
X-Bugzilla-Target-Milestone: ---
X-Bugzilla-Flags: 
X-Bugzilla-Changed-Fields: bug_id short_desc product version rep_platform
 op_sys bug_status bug_severity priority component assigned_to reporter cc
 target_milestone
Message-ID: <bug-1174-149@http.bugs.dpdk.org/>
Content-Type: multipart/alternative; boundary=16782731031.C8FbDa.2937812
Content-Transfer-Encoding: 7bit
X-Bugzilla-URL: http://bugs.dpdk.org/
Auto-Submitted: auto-generated
X-Auto-Response-Suppress: All
MIME-Version: 1.0
X-BeenThere: ci@dpdk.org
X-Mailman-Version: 2.1.29
Precedence: list
List-Id: DPDK CI discussions <ci.dpdk.org>
List-Unsubscribe: <https://mails.dpdk.org/options/ci>,
 <mailto:ci-request@dpdk.org?subject=unsubscribe>
List-Archive: <http://mails.dpdk.org/archives/ci/>
List-Post: <mailto:ci@dpdk.org>
List-Help: <mailto:ci-request@dpdk.org?subject=help>
List-Subscribe: <https://mails.dpdk.org/listinfo/ci>,
 <mailto:ci-request@dpdk.org?subject=subscribe>
Errors-To: ci-bounces@dpdk.org


--16782731031.C8FbDa.2937812
Date: Wed, 8 Mar 2023 11:58:23 +0100
MIME-Version: 1.0
Content-Type: text/plain; charset=UTF-8
Content-Transfer-Encoding: quoted-printable
X-Bugzilla-URL: http://bugs.dpdk.org/
Auto-Submitted: auto-generated
X-Auto-Response-Suppress: All

https://bugs.dpdk.org/show_bug.cgi?id=3D1174

            Bug ID: 1174
           Summary: Adding compilation flags to continue compiling mlx5 in
                    iol-x86_64-unit-testing over Windows/clang
           Product: lab
           Version: unspecified
          Hardware: x86
                OS: Windows
            Status: UNCONFIRMED
          Severity: normal
          Priority: Normal
         Component: job scripts
          Assignee: ci@dpdk.org
          Reporter: talshn@nvidia.com
                CC: dpdklab@iol.unh.edu
  Target Milestone: ---

Hi,

A community patch [1] is about to be merged to main which will change the
detection of the MLX5 DevX libraries in Windows, DPDK will no longer look f=
or
the lib and inc folders using the env variables DEVX_INC_PATH/DEVX_LIB_PATH.

Instead the user will provide the path to those folders either in the build
command line using -Dc_args and -Dc_link_args, see example below:
        -I<include_directory>
        -L<library_directory>

 "C:\Program Files\Meson\meson.exe" setup --buildtype debug
"-Dc_args=3D-I\"%DEVX_INC_PATH%\"" "-Dc_link_args=3D-L\"%DEVX_LIB_PATH%\"" =
build

Another option is to Use CFLAGS/LDFLAGS

Please change your compilations scripts in iol-x86_64-unit-testing to conti=
nue
compiling mlx5 as part of the supported PMDs on Windows by using one of the
ways stated above, not changing it will skip mlx5 as seen in the said patch=
 CI
results on Windows/clang [2].

[1] -
https://patches.dpdk.org/project/dpdk/patch/20230302132150.3330288-2-thomas=
@monjalon.net/

[2] - https://lab.dpdk.org/results/dashboard/patchsets/25595/

--=20
You are receiving this mail because:
You are the assignee for the bug.=

--16782731031.C8FbDa.2937812
Date: Wed, 8 Mar 2023 11:58:23 +0100
MIME-Version: 1.0
Content-Type: text/html; charset=UTF-8
Content-Transfer-Encoding: quoted-printable
X-Bugzilla-URL: http://bugs.dpdk.org/
Auto-Submitted: auto-generated
X-Auto-Response-Suppress: All

<html>
    <head>
      <base href=3D"https://bugs.dpdk.org/">
    </head>
    <body><table border=3D"1" cellspacing=3D"0" cellpadding=3D"8" class=3D"=
bz_new_table">
        <tr>
          <th>Bug ID</th>
          <td><a class=3D"bz_bug_link=20
          bz_status_UNCONFIRMED "
   title=3D"UNCONFIRMED - Adding compilation flags to continue compiling ml=
x5 in iol-x86_64-unit-testing over Windows/clang"
   href=3D"https://bugs.dpdk.org/show_bug.cgi?id=3D1174">1174</a>
          </td>
        </tr>

        <tr>
          <th>Summary</th>
          <td>Adding compilation flags to continue compiling mlx5 in iol-x8=
6_64-unit-testing over Windows/clang
          </td>
        </tr>

        <tr>
          <th>Product</th>
          <td>lab
          </td>
        </tr>

        <tr>
          <th>Version</th>
          <td>unspecified
          </td>
        </tr>

        <tr>
          <th>Hardware</th>
          <td>x86
          </td>
        </tr>

        <tr>
          <th>OS</th>
          <td>Windows
          </td>
        </tr>

        <tr>
          <th>Status</th>
          <td>UNCONFIRMED
          </td>
        </tr>

        <tr>
          <th>Severity</th>
          <td>normal
          </td>
        </tr>

        <tr>
          <th>Priority</th>
          <td>Normal
          </td>
        </tr>

        <tr>
          <th>Component</th>
          <td>job scripts
          </td>
        </tr>

        <tr>
          <th>Assignee</th>
          <td>ci&#64;dpdk.org
          </td>
        </tr>

        <tr>
          <th>Reporter</th>
          <td>talshn&#64;nvidia.com
          </td>
        </tr>

        <tr>
          <th>CC</th>
          <td>dpdklab&#64;iol.unh.edu
          </td>
        </tr>

        <tr>
          <th>Target Milestone</th>
          <td>---
          </td>
        </tr></table>
      <p>
        <div class=3D"bz_comment_block">
          <pre class=3D"bz_comment_text">Hi,

A community patch [1] is about to be merged to main which will change the
detection of the MLX5 DevX libraries in Windows, DPDK will no longer look f=
or
the lib and inc folders using the env variables DEVX_INC_PATH/DEVX_LIB_PATH.

Instead the user will provide the path to those folders either in the build
command line using -Dc_args and -Dc_link_args, see example below:
        -I&lt;include_directory&gt;
        -L&lt;library_directory&gt;

 &quot;C:\Program Files\Meson\meson.exe&quot; setup --buildtype debug
&quot;-Dc_args=3D-I\&quot;%DEVX_INC_PATH%\&quot;&quot; &quot;-Dc_link_args=
=3D-L\&quot;%DEVX_LIB_PATH%\&quot;&quot; build

Another option is to Use CFLAGS/LDFLAGS

Please change your compilations scripts in iol-x86_64-unit-testing to conti=
nue
compiling mlx5 as part of the supported PMDs on Windows by using one of the
ways stated above, not changing it will skip mlx5 as seen in the said patch=
 CI
results on Windows/clang [2].

[1] -
<a href=3D"https://patches.dpdk.org/project/dpdk/patch/20230302132150.33302=
88-2-thomas&#64;monjalon.net/">https://patches.dpdk.org/project/dpdk/patch/=
20230302132150.3330288-2-thomas&#64;monjalon.net/</a>

[2] - <a href=3D"https://lab.dpdk.org/results/dashboard/patchsets/25595/">h=
ttps://lab.dpdk.org/results/dashboard/patchsets/25595/</a>
          </pre>
        </div>
      </p>


      <hr>
      <span>You are receiving this mail because:</span>

      <ul>
          <li>You are the assignee for the bug.</li>
      </ul>
      <div itemscope itemtype=3D"http://schema.org/EmailMessage">
        <div itemprop=3D"action" itemscope itemtype=3D"http://schema.org/Vi=
ewAction">
=20=20=20=20=20=20=20=20=20=20
          <link itemprop=3D"url" href=3D"https://bugs.dpdk.org/show_bug.cgi=
?id=3D1174">
          <meta itemprop=3D"name" content=3D"View bug">
        </div>
        <meta itemprop=3D"description" content=3D"Bugzilla bug update notif=
ication">
      </div>
    </body>
</html>=

--16782731031.C8FbDa.2937812--