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 66E0AA0C58 for ; Mon, 29 Nov 2021 09:58:31 +0100 (CET) Received: from [217.70.189.124] (localhost [127.0.0.1]) by mails.dpdk.org (Postfix) with ESMTP id EACB74068A; Mon, 29 Nov 2021 09:58:30 +0100 (CET) Received: from us-smtp-delivery-124.mimecast.com (us-smtp-delivery-124.mimecast.com [170.10.129.124]) by mails.dpdk.org (Postfix) with ESMTP id 9334340689 for ; Mon, 29 Nov 2021 09:58:29 +0100 (CET) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=redhat.com; s=mimecast20190719; t=1638176308; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:cc:mime-version:mime-version:content-type:content-type: in-reply-to:in-reply-to:references:references; bh=rnWp+2RdhDpF+SR2GYF6Tz7OkQsvhYXJXc1teZcXk/E=; b=K5spB0m2qZOG9rqGJlsvegcODJBoy9xHwwCRQFhPKvt+3PxtH5YetAaRyL2S2I1Po6db1r h/RUapg/ZQC1kWCeXFT6ImHcgSyex/v5Uub7xHFFXwPrA2NmS+7fs/8CQLIp4SGBm/H+QY z1cG6S/RvEgnkIQ1gm1LQVLSD7An0ok= Received: from mail-lj1-f199.google.com (mail-lj1-f199.google.com [209.85.208.199]) by relay.mimecast.com with ESMTP with STARTTLS (version=TLSv1.2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id us-mta-389-xLUeT4K4NgiXGNI4F8foYQ-1; Mon, 29 Nov 2021 03:58:27 -0500 X-MC-Unique: xLUeT4K4NgiXGNI4F8foYQ-1 Received: by mail-lj1-f199.google.com with SMTP id p21-20020a2e9ad5000000b00219ee503efeso6513763ljj.14 for ; Mon, 29 Nov 2021 00:58:27 -0800 (PST) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; h=x-gm-message-state:mime-version:references:in-reply-to:from:date :message-id:subject:to:cc; bh=rnWp+2RdhDpF+SR2GYF6Tz7OkQsvhYXJXc1teZcXk/E=; b=B1vIumutbwMRpFSGDsfRT+bbJv727hYzIMCn9IUxhB53Tz9+EMv8wu3CpBXIeJJ+CU hfhkO7JCzLiceMTYycDq7f93MkEx0GBvsP/NXHIWp61I5HJ95B5Se8SwVZT0aXsPN5L/ cHM8redwR/6ggPewEwheTK6Ob5P9f5pWyG1wrvKqZM7bjZC8mXWmvMyHQqHZlRVW0q9R c/FhIkGrtFko8xTr1R8QnbkiagjInnZqAcOCKWmQARQTEnJwhZmXWogBukfnJbpwoqdJ c3AOA4JWTWuA3CKtO1TP3p+0KCVA1fKnPp0PSCF98lZnh5nncAEA98tYRNBgGby0v6gp 2fFQ== X-Gm-Message-State: AOAM530uKhy7h2//T4H3si2LJBFrVcrpyV2izErxOD1igFth5nWsHs0U GUvm8JVhFksIh4FvPCXkPKZgLF6WfWeXyX3M8KsfM11jw9hyLvbEoPyYBgdNnaS9OMe2Y2KHnAW EhJzCRyLCtwXh75qTw0mnJw== X-Received: by 2002:a19:e00b:: with SMTP id x11mr45773681lfg.217.1638176306194; Mon, 29 Nov 2021 00:58:26 -0800 (PST) X-Google-Smtp-Source: ABdhPJw0D3PfphJOTHcLowvH/rc3XyWWqdnlGQiN6ElI4PAktiyeLfppW3LLgoGGKmx0XOBnngDxm//R95y2id4unEU= X-Received: by 2002:a19:e00b:: with SMTP id x11mr45773670lfg.217.1638176305938; Mon, 29 Nov 2021 00:58:25 -0800 (PST) MIME-Version: 1.0 References: In-Reply-To: From: David Marchand Date: Mon, 29 Nov 2021 09:58:14 +0100 Message-ID: Subject: Re: Building DPDK with Meson/Ninja using ICC To: Leonid Bloch Cc: users Authentication-Results: relay.mimecast.com; auth=pass smtp.auth=CUSA124A263 smtp.mailfrom=dmarchan@redhat.com X-Mimecast-Spam-Score: 0 X-Mimecast-Originator: redhat.com Content-Type: text/plain; charset="UTF-8" X-BeenThere: users@dpdk.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: DPDK usage discussions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: users-bounces@dpdk.org On Sun, Nov 28, 2021 at 1:57 PM Leonid Bloch wrote: > I'm trying to build DPDK 19.11.8 with Meson/Ninja using ICC. When using > `make`, it's as simple as: `make T=x86_64-native-linuxapp-icc`. > So there are two questions: > > 1. How is the same achieved with DPDK 19.11.8 when using Meson/Ninja? > 2. Is the answer to (1) still the same in newer DPDK versions? > > I did not find anything about it in the documentation, except the > `--cross-file` flag for meson, but there appears to be no adequate > config file for this in `config/x86`. > > Can anyone please assist? To build in a directory called "x86_64-native-linuxapp-icc", please try: $ CC=icc meson setup x86_64-native-linuxapp-icc $ ninja-build -C x86_64-native-linuxapp-icc -- David Marchand