From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mail-wm1-f67.google.com (mail-wm1-f67.google.com [209.85.128.67]) by dpdk.org (Postfix) with ESMTP id 842A637A2 for ; Tue, 26 Feb 2019 18:46:57 +0100 (CET) Received: by mail-wm1-f67.google.com with SMTP id q187so3296148wme.5 for ; Tue, 26 Feb 2019 09:46:57 -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=zP/kS/hqoO0WE80nduQR5h/4f55GXiWZ5jgrvOmuFb4=; b=C6PGh7aN/Qt8WvBgPMOMklqDsCCYwRfShqeOumf90cALBaiE3CNck/nQZZVBXJUvEG pOpPFNVh6QD7+6WrUiLwTpviSfzfJxE4Z2r+Q7mXFZnnbxF8P7EuBTVKw6aLdUM/kFbB 8MqVmffhUrRoL4nSd9bPsZZGUcLLRe70d0vWTrhFvMM14DlbFI09S4Ghd0iffHoF/SAx ArJX7Lj6dhK0SGeE4sa5sMAE13Ut6qxMlhd0WwLRRNJfCwJ7fbgK8fUQVCz2d4C0qyCy OUwXvOyzRorUMlhi69Y/Fr/652F5Qbn4bUGy1i5z8UaSVQoqP50MCE7R4VTPH9ZF6hm1 zr4A== 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=zP/kS/hqoO0WE80nduQR5h/4f55GXiWZ5jgrvOmuFb4=; b=kq3bFkEaqgE4GX3+yfiJ4WL7Wx6QgMzO7BC9vft6Ce5mJdMZE1huNyOEfy/p8Zggou /TlHV38/7eagTdDKH82wGram68A9FQPHngeETZPWkvTw2Kkn4WG84jGM1fqkHly9jEy1 CwNLMiLrRk4abcoOT2Re+rvi4UEU5GtkPGD1tGvEkKxMszm95pLsD3KbjV6xDi1aKkxX S1c6mijhLAzHMFWX1vO6k00c2laaoRgkPoYvwJE0fq49yD+BJDtIKSQ7POw7I2yzSFhb VOtIb1zf8aNxacUfk0P2PAB0vpbXZQY/u5p2Fq7xB/CvbUxCCs/KWCWWs/DBfgS0NaxV mGyg== X-Gm-Message-State: AHQUAuYlk4S+PSx2xLDKv73/Uuhjio2zu3BZE41AvgoPuzKvA8R1xhRK EwcRnECe4fLvAYCVttPlZCTP/UFwGNE= X-Google-Smtp-Source: AHgI3Iawz0hhggZxvXZLyNAM1bQSET9yRWxxrgz6Jmk3CvPRSagxrH0v0jFRjrIlo0a1GMRft+GO5w== X-Received: by 2002:a1c:4889:: with SMTP id v131mr3385165wma.146.1551203216144; Tue, 26 Feb 2019 09:46:56 -0800 (PST) Received: from localhost ([2a01:4b00:f419:6f00:b00c:66c8:99df:336]) by smtp.gmail.com with ESMTPSA id w10sm17642914wru.5.2019.02.26.09.46.55 (version=TLS1_2 cipher=ECDHE-RSA-CHACHA20-POLY1305 bits=256/256); Tue, 26 Feb 2019 09:46:55 -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:34 +0000 Message-Id: <20190226174637.27452-3-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 Content-Transfer-Encoding: 8bit Subject: [dpdk-dev] [PATCH v8 3/6] build: reorder libraries and build eal before cmdline 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: , X-List-Received-Date: Tue, 26 Feb 2019 17:46:57 -0000 From: Luca Boccassi Most libraries and PMDs depend on eal, and eal depends only on kvargs, so reorder the list in Meson to reflect this and take advantage of this dependency chain. Signed-off-by: Luca Boccassi Acked-by: Bruce Richardson --- v3: added this patch to let the next just update librte_eal instead of also having to update rte_cmdline v4: add acked-by v8: rebased on latest master to fix merge conflict lib/meson.build | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/lib/meson.build b/lib/meson.build index edcccdcb6..99957ba7d 100644 --- a/lib/meson.build +++ b/lib/meson.build @@ -9,9 +9,10 @@ # given as a dep, no need to mention ring. This is especially true for the # core libs which are widely reused, so their deps are kept to a minimum. libraries = [ - 'cmdline', # ethdev depends on cmdline for parsing functions 'kvargs', # eal depends on kvargs - 'eal', 'ring', 'mempool', 'mbuf', 'net', 'meter', 'ethdev', 'pci', # core + 'eal', # everything depends on eal + 'cmdline', # ethdev depends on cmdline for parsing functions + 'ring', 'mempool', 'mbuf', 'net', 'meter', 'ethdev', 'pci', # core 'metrics', # bitrate/latency stats depends on this 'hash', # efd depends on this 'timer', # eventdev depends on this -- 2.20.1