From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mails.dpdk.org (mails.dpdk.org [217.70.189.124]) by inbox.dpdk.org (Postfix) with ESMTP id C53AEA0C40; Sat, 7 Aug 2021 01:18:11 +0200 (CEST) Received: from [217.70.189.124] (localhost [127.0.0.1]) by mails.dpdk.org (Postfix) with ESMTP id 47214410DC; Sat, 7 Aug 2021 01:18:11 +0200 (CEST) Received: from mail-lf1-f49.google.com (mail-lf1-f49.google.com [209.85.167.49]) by mails.dpdk.org (Postfix) with ESMTP id A880A40691 for ; Sat, 7 Aug 2021 01:18:09 +0200 (CEST) Received: by mail-lf1-f49.google.com with SMTP id t9so20964341lfc.6 for ; Fri, 06 Aug 2021 16:18:09 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=mime-version:references:in-reply-to:from:date:message-id:subject:to; bh=n0B9WGuiCHBsi9flINMaj3vlMVr9L44MGRLNmXcZ+hM=; b=LqVL/U7JTSoHyei9D+Igq+dfQ32ip50flvcNdILeLMwQN5vmSM10igoo6f31D3a4rK 9Vsq/JjpmXfQ7HyrLmw1KfvdJucILQSWgMtv6xsN6F+G5jza9b2EuczhvOynGb9tmaiN hfrYAjNJydFh2DEz9EnBzNGz5TsR8HuIaaoD5KTFYktT8y6zIxqKbr+vH7N4i/7ebaNW G7i66m+eM+EUcf/RcXz71r72f0kYVhuvx1HRV2iAWETENWTlAgvg4e0gemFr4GWxC3ci fl7p9eylVZKR7EADqQOSeKAaSf++HdJSk+JcjKBrhbBbNDju5g0zcobFJ4UGmYiydRp3 v5fw== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:mime-version:references:in-reply-to:from:date :message-id:subject:to; bh=n0B9WGuiCHBsi9flINMaj3vlMVr9L44MGRLNmXcZ+hM=; b=PYF8IzKmszsIQ/Ep0IvPZwvGt8W7bFIhuYlGZFcfuXniPEaCnMQpB4E1SeJAOYJjzo 93ZR8RVa82zDr7KBu4+xjNVeAXnd6+Qpl/4hyRtbjy2tVAlNs7wrXmMx/nglTKSFVZi+ tTL9GOw0EY+YCvH63yNr4jscHLp4KtyHPKPanAx0+Z26quid3/Rc+4KiLoHUyYuSknka vICerR47NGsISHzxbVCXTx9HajcHFt02Kpw1Wym57lJjgU7lvrkqo3P/4NGluUe1zFr1 BsWFZPIMDJQigFqzIvIHiiHQgYNN3p/Ft9Wn0KSnCWhZYvgjj2bJeDwIDtpejEnw9TL/ SHVA== X-Gm-Message-State: AOAM530zJw6qxVDoaekAqpmq6ReKhgjq7II0MN2M3hM/kHZYR9i5i/0D OozwNNnDVk2jdt6aIVa27pp06ESIYuMMscnHC+A= X-Google-Smtp-Source: ABdhPJyKT+ZHFWgQZLPut39NS3UbvP+ojEE+dJgABYNdtVkQHHSHAhQBy3ftqz6w6Sm+5PthkIeWVP9spL1DWooE9u8= X-Received: by 2002:a19:f018:: with SMTP id p24mr9418143lfc.106.1628291889049; Fri, 06 Aug 2021 16:18:09 -0700 (PDT) MIME-Version: 1.0 References: <20210805221532.1d6b653a@sovereign> In-Reply-To: <20210805221532.1d6b653a@sovereign> From: William Tu Date: Fri, 6 Aug 2021 16:17:32 -0700 Message-ID: To: Dmitry Kozlyuk , dpdk-dev Content-Type: text/plain; charset="UTF-8" Subject: Re: [dpdk-dev] Windows community call: MoM 2021-08-04 X-BeenThere: dev@dpdk.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: DPDK patches and discussions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: dev-bounces@dpdk.org Sender: "dev" On Thu, Aug 5, 2021 at 12:15 PM Dmitry Kozlyuk wrote: > snip > # Porting OvS build system to meson (William Tu) > > Status: OvS compiles with some features disabled, with a lot of warnings. > Issues: > > * vhost-user is Linux-specific. > [Omar] Microsoft is working on functional equivalent. > * rte_version* not exported. > AI William to send patches. > * rte_open_logstream() implementation relies on Linux-specific fopencookie(). > We need a more generic facility to redirect logs. > AI William and DmitryK to discuss. > * meson not finding DPDK with pkg-config, maybe meson bug. To give more details about this for people who are interested. At OVS side, we tried to link the DPDK library, by doing below at meson.build file libdpdk = dependency('libdpdk', method: 'pkg-config')" , or give it a specific path libdpdk = cc.find_library('dpdk', dirs: ['C:\\temp\\dpdk\\lib']) However, it doesn't work, with error below Run-time dependency libdpdk found: NO (tried pkgconfig) meson.build:45:4: ERROR: Dependency "libdpdk" not found, tried pkgconfig On the other hand, pkg-config seems OK for locating the dpdk library. PS C:\k8s-antrea-dpdk-win\ovs> pkg-config --list-all libdpdk DPDK - The Data Plane Development Kit (DPDK). libdpdk-libs dpdk-libs - Internal-only DPDK pkgconfig file. Not for direct use. We are using meson 0.59.0 and pkg-config-lite 0.28 Currently we can work around it by linking the rte_xxx.lib one-by-one. rte_eal_lib = cc.find_library('rte_eal', dirs: ['C:\\temp\\dpdk\\lib']) rte_ethdev_lib = cc.find_library('rte_ethdev', dirs: ['C:\\temp\\dpdk\\lib']) Regards, William