From mboxrd@z Thu Jan  1 00:00:00 1970
Return-Path: <luca.boccassi@gmail.com>
Received: from mail-wm1-f67.google.com (mail-wm1-f67.google.com
 [209.85.128.67]) by dpdk.org (Postfix) with ESMTP id 6F2FB1B466
 for <dev@dpdk.org>; Wed,  6 Feb 2019 18:09:03 +0100 (CET)
Received: by mail-wm1-f67.google.com with SMTP id m22so3647071wml.3
 for <dev@dpdk.org>; Wed, 06 Feb 2019 09:09:03 -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=JJC2DbbXGFL2uscJHedy+33GFoyuMHYoegwrv5nngaI=;
 b=ORQMlKxqK6dnYhEcea29TCiUcDD8QDX63vdn0NyVzT3hq3zgwD91RRiWPOiIU9GA4M
 rojWKDZzRtbpzBnojWwHvC7omFIfP7XNdETcuNsJ1pU8Qp7FTpkLnxQ8gAHyJVtw1kDZ
 Vld2S3Hj6QMp0EvaKQIU5DLlKIpBeuo1go+BvEBw0zGW+c3W/DppGHKEXTXkoa+SgrTc
 d1vq38/FthNAeE4MIecO+aPxdhFNZxSJTQBthoPpG1ZgK+VPSvRiTDgrrFHZT0E5g5NE
 2W9Cy7jkCYIOHbHcwCBJJ4rBjCgjZYUl4/vFPj8FaROAsRAA1ezL9Qakmc6K6c5GmV54
 ZVbQ==
X-Gm-Message-State: AHQUAuY7zc5CjUwDrCGHF3WYShZxnheLsApHAjOieyx3cfH7fdSv/taE
 JqIo4wKssElaB0Mbq5KQtJ0xQJGR
X-Google-Smtp-Source: AHgI3IZVJhxMXyPLf/hufaBorULsuZ8NmVwk9IdL+92Y+v1GW2BJsD9jmD0VsXMmc3V9flXtchSYdw==
X-Received: by 2002:a1c:e913:: with SMTP id q19mr4011826wmc.55.1549472942774; 
 Wed, 06 Feb 2019 09:09:02 -0800 (PST)
Received: from localhost ([2a01:4b00:f419:6f00:b833:9472:a517:a18f])
 by smtp.gmail.com with ESMTPSA id u10sm15545580wrr.33.2019.02.06.09.09.01
 (version=TLS1_2 cipher=ECDHE-RSA-CHACHA20-POLY1305 bits=256/256);
 Wed, 06 Feb 2019 09:09:02 -0800 (PST)
From: Luca Boccassi <bluca@debian.org>
To: dev@dpdk.org
Cc: bruce.richardson@intel.com,
	Luca Boccassi <bluca@debian.org>
Date: Wed,  6 Feb 2019 17:08:48 +0000
Message-Id: <20190206170848.19059-5-bluca@debian.org>
X-Mailer: git-send-email 2.20.1
In-Reply-To: <20190206170848.19059-1-bluca@debian.org>
References: <20190103175725.5836-1-bluca@debian.org>
 <20190206170848.19059-1-bluca@debian.org>
MIME-Version: 1.0
Content-Transfer-Encoding: 8bit
Subject: [dpdk-dev] [PATCH v6 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 <dev.dpdk.org>
List-Unsubscribe: <https://mails.dpdk.org/options/dev>,
 <mailto:dev-request@dpdk.org?subject=unsubscribe>
List-Archive: <http://mails.dpdk.org/archives/dev/>
List-Post: <mailto:dev@dpdk.org>
List-Help: <mailto:dev-request@dpdk.org?subject=help>
List-Subscribe: <https://mails.dpdk.org/listinfo/dev>,
 <mailto:dev-request@dpdk.org?subject=subscribe>
X-List-Received-Date: Wed, 06 Feb 2019 17:09:03 -0000

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 <bluca@debian.org>
---
v6: added following Bruce's suggestion

 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')
-- 
2.20.1