From patchwork Tue Feb 26 17:46:36 2019 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Luca Boccassi X-Patchwork-Id: 50523 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 41C0847CE; Tue, 26 Feb 2019 18:47:04 +0100 (CET) Received: from mail-wm1-f67.google.com (mail-wm1-f67.google.com [209.85.128.67]) by dpdk.org (Postfix) with ESMTP id 0A90E4C88 for ; Tue, 26 Feb 2019 18:47:01 +0100 (CET) Received: by mail-wm1-f67.google.com with SMTP id a62so3299535wmh.4 for ; Tue, 26 Feb 2019 09:47:01 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=from:to:cc:subject:date:message-id:in-reply-to:references :mime-version:content-transfer-encoding; bh=bB9ry5edZYtFSxwQbb1j77ohGxBZm1rSmAdhjP8qPYY=; b=WhJLqSczaP5XdA8tK54IuRgbEcv7DiaWDrIhqDdSg5jf60UhLRhS35fpOo92APmybE Ljo4YA7uLMhS0cHs7nHJhXVBMBA84ptk7DirD+t9Y7UHKL6NWTCa5OULJppkxuKrrOlL zn2WgESE9saezIeS2Ngat6n4P5WT0heqXDXGnyCIY/o8FhNfGN3944mFIyxBdUKVR30i 4iPKYkfl3yD0RoLa/2rODn/GRw9YXTH73IkyDObWvJqMS6QISKexZi98uQo+yHQ5GsaO C+KaCK9rXIMc15xa+URoI28E8PnQ75hwQYTDF1vNKrvnPAZbtm3ApfNl04iXp/sFD99M rZwA== 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=bB9ry5edZYtFSxwQbb1j77ohGxBZm1rSmAdhjP8qPYY=; b=I3BWKpoDjURirtQ6B18xJy8MVta8t1EIbO/0zWHXOD5CpTCkuBymS1uX6NUz5M+Gz8 aRjZQnOyAMLS1zH3SPdv93ooe8hl2aDPjVi0TvOX+/xBiMglYuG7w7zeqs6moAUK81NJ OE+zlabs3qRuHlCSajYJRjtXJZjOBSEOeWOa20fXKCTID/n/YtcOImi4hz7AUpbdqk7R 0xlS6q8g8NgFEzIbrT3ZIQDemmAkds3IPg/KKdIVbCFXEAp1CtgwF6crPq1KA8ktaCn3 +kTVn5JDw1NXequ/sviRkChlpfq3cxX+sKiSjWBECqFR+M3J5vOSB/F/c+6CoxMf41Sz JLjA== X-Gm-Message-State: AHQUAuYF2kRmRuHjw3DkOedH/sMa2Rjbfq5oMsPAapLnszzPPsrKClTi Hsl6U361AABGbX65eH7fqUY+hWdHd70= X-Google-Smtp-Source: AHgI3IYHGv0u7AH2IXbkXxE+16ArGUzrOVQbJd0ayUXnnsjeZk7GBkJs5vZHF7Q+IVFTl/FsWtFiqQ== X-Received: by 2002:a1c:44:: with SMTP id 65mr3192572wma.127.1551203220293; Tue, 26 Feb 2019 09:47:00 -0800 (PST) Received: from localhost ([2a01:4b00:f419:6f00:b00c:66c8:99df:336]) by smtp.gmail.com with ESMTPSA id f6sm16803429wrt.87.2019.02.26.09.46.58 (version=TLS1_2 cipher=ECDHE-RSA-CHACHA20-POLY1305 bits=256/256); Tue, 26 Feb 2019 09:46:59 -0800 (PST) From: luca.boccassi@gmail.com To: dev@dpdk.org Cc: bruce.richardson@intel.com, thomas@monjalon.net Date: Tue, 26 Feb 2019 17:46:36 +0000 Message-Id: <20190226174637.27452-5-luca.boccassi@gmail.com> X-Mailer: git-send-email 2.20.1 In-Reply-To: <20190226174637.27452-1-luca.boccassi@gmail.com> References: <20190103175725.5836-1-bluca@debian.org> <20190226174637.27452-1-luca.boccassi@gmail.com> MIME-Version: 1.0 Subject: [dpdk-dev] [PATCH v8 5/6] 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" From: Luca Boccassi 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')