From patchwork Wed Feb 13 11:54:52 2019 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Luca Boccassi X-Patchwork-Id: 50303 X-Patchwork-Delegate: thomas@monjalon.net Return-Path: X-Original-To: patchwork@dpdk.org Delivered-To: patchwork@dpdk.org Received: from [92.243.14.124] (localhost [127.0.0.1]) by dpdk.org (Postfix) with ESMTP id ACDC71B276; Wed, 13 Feb 2019 12:55:45 +0100 (CET) Received: from mail-wm1-f68.google.com (mail-wm1-f68.google.com [209.85.128.68]) by dpdk.org (Postfix) with ESMTP id 3BA1A1B216 for ; Wed, 13 Feb 2019 12:55:44 +0100 (CET) Received: by mail-wm1-f68.google.com with SMTP id d15so2138849wmb.3 for ; Wed, 13 Feb 2019 03:55:44 -0800 (PST) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:from:to:cc:subject:date:message-id:in-reply-to :references:mime-version:content-transfer-encoding; bh=8ksYVVckPkKJ3gkRlTQQmUCKjq7y9zMPZwnk/GOVLpk=; b=oSJp5y2LZrl8k0uLNot1gxguKzt9eVldncEaQVn2VHX9TnvdF11s1RviUEbrORQSuz A9P9o8v6ipGFdfIhYn/AEzRnHYDhrDuRjaAoDVfJnQZZQTAi6IOUNf+QiTCNoVdwPtMl bAX4ePT0plOs/EDeL/JWEQmP8hlESAy4jjGLYjbWq37q36EBxB0ISsVFTy8yqQtxJ8OB mJ5w9upXpU+sXnCGEH1LV3wnFktEyjicN0CWsvGEg2Jk4zYqn1gB5G2T9e76dlM2X71W KTcghYNL8dbtFUY5nxcN6eTFdGoo3ssf8dsNOxLce5+3mscLb6DO1C6ULdb+p4j2uuqE WZjw== X-Gm-Message-State: AHQUAuY7mB6LbFsadgLj8/1AgmOxGqhJN0hFm4Imq2kWYVEGafeJZWiO kMyjv7XtG99EHU8fKnJvdjWtnnuq X-Google-Smtp-Source: AHgI3IYkZkUywL6XWb4EIeM12dwzweYEt0BbPKmLTJy7tzoDrAKxOb7H1Vmwk+7n/1aRQBZVGSR/LQ== X-Received: by 2002:a7b:cb9a:: with SMTP id m26mr33666wmi.68.1550058943571; Wed, 13 Feb 2019 03:55:43 -0800 (PST) Received: from localhost ([2a01:4b00:f419:6f00:c934:57a:5587:ac0c]) by smtp.gmail.com with ESMTPSA id o18sm30713489wrg.40.2019.02.13.03.55.42 (version=TLS1_2 cipher=ECDHE-RSA-CHACHA20-POLY1305 bits=256/256); Wed, 13 Feb 2019 03:55:42 -0800 (PST) From: Luca Boccassi To: dev@dpdk.org Cc: bruce.richardson@intel.com, Luca Boccassi Date: Wed, 13 Feb 2019 11:54:52 +0000 Message-Id: <20190213115452.2264-5-bluca@debian.org> X-Mailer: git-send-email 2.20.1 In-Reply-To: <20190213115452.2264-1-bluca@debian.org> References: <20190103175725.5836-1-bluca@debian.org> <20190213115452.2264-1-bluca@debian.org> MIME-Version: 1.0 Subject: [dpdk-dev] [PATCH v7 5/5] build: use integers for numerical options X-BeenThere: dev@dpdk.org X-Mailman-Version: 2.1.15 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" Now that the minimum Meson version has been bumped past 0.45 we can use integer as an option type directly. Signed-off-by: Luca Boccassi Acked-by: Bruce Richardson --- v6: added following Bruce's suggestion v7: add acked-by meson_options.txt | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/meson_options.txt b/meson_options.txt index 574054597..4e178178f 100644 --- a/meson_options.txt +++ b/meson_options.txt @@ -18,9 +18,9 @@ option('lib_musdk_dir', type: 'string', value: '', description: 'path to the MUSDK library installation directory') option('machine', type: 'string', value: 'native', description: 'set the target machine type') -option('max_lcores', type: 'string', value: '128', +option('max_lcores', type: 'integer', value: 128, description: 'maximum number of cores/threads supported by EAL') -option('max_numa_nodes', type: 'string', value: '4', +option('max_numa_nodes', type: 'integer', value: 4, description: 'maximum number of NUMA nodes supported by EAL') option('per_library_versions', type: 'boolean', value: true, description: 'true: each lib gets its own version number, false: DPDK version used for each lib')