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 4E66CA0548; Thu, 11 Aug 2022 10:25:12 +0200 (CEST) Received: from [217.70.189.124] (localhost [127.0.0.1]) by mails.dpdk.org (Postfix) with ESMTP id A673B42BFF; Thu, 11 Aug 2022 10:24:47 +0200 (CEST) Received: from mail-qv1-f45.google.com (mail-qv1-f45.google.com [209.85.219.45]) by mails.dpdk.org (Postfix) with ESMTP id 8B2AA4068E for ; Thu, 4 Aug 2022 07:14:02 +0200 (CEST) Received: by mail-qv1-f45.google.com with SMTP id h8so13382365qvs.6 for ; Wed, 03 Aug 2022 22:14:02 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=ucsc.edu; s=ucsc-google-2018; h=to:subject:message-id:date:from:mime-version:from:to:cc; bh=NKLFkBJ6/nH6ciEny4lCXeVTsFxnsg78s6M+o3VUSe4=; b=oS/U06/YLHt5Jhxd0xUDAFUGO0jSduy7gz9OUjzzf/Eqz4oYNcFBQqYVuv75YUxpsT FO3WgsKv1rQ7TSw6XWesDCVex3ApzZZ/sXXxe1RO6tDqhd6oMNLowt27inLBIk1ZuWhv k2ZJKaskSc14P73Cq+J153xM24jaHbRUWbWQx1VcZwrJLGAfPbFyURdpiwu6BKUuAFCI q4HZFZ01aVDmKXAz8wAWFN8SyohYq3yJnd3HfGX20l0/lEAGoPyZ/K3CL/bdFQqY3VLw tyFETtreejKS369kcd2ipk/nbr2/n/eBobva0xiFwhK9fVBmNfjpB7Sr9+p40yXDysvn SVrw== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; h=to:subject:message-id:date:from:mime-version:x-gm-message-state :from:to:cc; bh=NKLFkBJ6/nH6ciEny4lCXeVTsFxnsg78s6M+o3VUSe4=; b=XdhLieGjCxfqi4KcrhUU87txFXQCZV/ArXPvQLjq5qmINK9Jdt942WQE3YmqFWBY7F zKRpQcrTTrQXR6WebL17pkglxle6R4bK3T6HbEEK25w/8+GSNYMTl3Jjq1efZVyrfTF2 ZbNRkFffOEfD+4aldpH5utT0QNIe+FLkiRDzm7Psa8in0oiTP0TpM0TZiFaUqUauiZjg k1fFpqfK6S5SogKmMct4Ot7KbQ9CtnAehakOeWJK6Jku7YExQmn0SC/PL2N0jVGPjFTw JDr4x4Zj4V6IDjlgs7NUwvKyXs4tD0rxpdMfCCh4RQaYBGY072xC1d8iSpJIetY61oWC JjXw== X-Gm-Message-State: ACgBeo3/IEy+39f0a6Wb+IOgu7iAHG/ezkbKAhBUv9pCeWEco52wemq0 9OIfPOhyD6e6UMAmVaIBbh5ElXIGFZb8Lg== X-Google-Smtp-Source: AA6agR7qa3rOwWEO+EWCJfVRSqefefjVAg+Gnshzmgk/9PHd5kyuG6J/67YTgc98U8zhJxJHhHq8zw== X-Received: by 2002:a05:6214:d83:b0:476:abd6:e265 with SMTP id e3-20020a0562140d8300b00476abd6e265mr88479qve.124.1659590041512; Wed, 03 Aug 2022 22:14:01 -0700 (PDT) Received: from mail-yb1-f170.google.com (mail-yb1-f170.google.com. [209.85.219.170]) by smtp.gmail.com with ESMTPSA id bs20-20020a05620a471400b006b5ef0aff29sm18857qkb.87.2022.08.03.22.14.00 for (version=TLS1_3 cipher=TLS_AES_128_GCM_SHA256 bits=128/128); Wed, 03 Aug 2022 22:14:00 -0700 (PDT) Received: by mail-yb1-f170.google.com with SMTP id i62so29649038yba.5 for ; Wed, 03 Aug 2022 22:14:00 -0700 (PDT) X-Received: by 2002:a25:d1c5:0:b0:671:5f6c:6c58 with SMTP id i188-20020a25d1c5000000b006715f6c6c58mr117331ybg.127.1659590040482; Wed, 03 Aug 2022 22:14:00 -0700 (PDT) MIME-Version: 1.0 From: Jianshen Liu Date: Wed, 3 Aug 2022 22:13:24 -0700 X-Gmail-Original-Message-ID: Message-ID: Subject: Reason to alway to build both static and shared libs To: dev@dpdk.org Content-Type: multipart/alternative; boundary="000000000000d5faa405e5636ad3" X-Mailman-Approved-At: Thu, 11 Aug 2022 10:24:41 +0200 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 --000000000000d5faa405e5636ad3 Content-Type: text/plain; charset="UTF-8" Hi all, Could I know the reason for always building both static and shared libs of DPDK? I can find the patch to enable this behavior, but it seems that it didn't mention the reason behind it. Also, if I propose a change to use "both" as the default for default_library in meson's config file and still allow users to choose either static or shared as they want, is there any reason against that change? Thanks, Jianshen --000000000000d5faa405e5636ad3 Content-Type: text/html; charset="UTF-8" Content-Transfer-Encoding: quoted-printable
Hi all,

Could I know the reason for alw= ays building both static and shared libs of DPDK? I can find the=C2=A0patch to= enable this behavior, but it seems that it didn't mention the reason b= ehind it. Also, if I propose a change to use "both" as the defaul= t for default_library in meson's config file and still allow users to c= hoose either static or shared as they want, is there any reason against tha= t change?

Thanks,
Jianshen
--000000000000d5faa405e5636ad3--