From mboxrd@z Thu Jan  1 00:00:00 1970
Return-Path: <prvs=10079f8c07=pbhagavatula@marvell.com>
Received: from mx0b-0016f401.pphosted.com (mx0b-0016f401.pphosted.com
 [67.231.156.173]) by dpdk.org (Postfix) with ESMTP id 5591A4F9C
 for <dev@dpdk.org>; Sun, 14 Apr 2019 16:40:34 +0200 (CEST)
Received: from pps.filterd (m0045851.ppops.net [127.0.0.1])
 by mx0b-0016f401.pphosted.com (8.16.0.27/8.16.0.27) with SMTP id
 x3EEeJme010834; Sun, 14 Apr 2019 07:40:33 -0700
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=marvell.com;
 h=from : to : cc :
 subject : date : message-id : references : in-reply-to : content-type :
 content-transfer-encoding : mime-version; s=pfpt0818;
 bh=jd1WWuqB5N80VLDCdZwjO660wyZF0s+e917rnhwYFk8=;
 b=dDvM5JKNF8TIAjkTFsv6qU8mRIV3vpZ0ywt3WfxHft+gWS3/Ws22Ct6/+ZbHjCH+X/0n
 508eIPm00ng5m6agJyjmZ9HuztOExatHK1YNmMAXGLi8/+AkaYNUZf5TzkczkazcS0JG
 3eue9rPh4JtsLLwYm3ihmSHlxIGqAqnc1S0/p+Sznx1LH3mGn917mLeRGKAfH4Tx5Y5B
 VgvfCpMa1YaSDSOBTqLOvMo4KIqRT0si0UYYNe4LIfK+IsxRzxRCnWC5oRBcpAEiQJie
 1LUQkHjyKsh+0Ms7+7Qs+swDtz9rM9pV3NN9cVGT5ymhayi1IpcHRvDLw4a+b1fvHryy rg== 
Received: from sc-exch03.marvell.com ([199.233.58.183])
 by mx0b-0016f401.pphosted.com with ESMTP id 2ruf9ju4mc-1
 (version=TLSv1.2 cipher=ECDHE-RSA-AES256-SHA384 bits=256 verify=NOT);
 Sun, 14 Apr 2019 07:40:33 -0700
Received: from SC-EXCH02.marvell.com (10.93.176.82) by SC-EXCH03.marvell.com
 (10.93.176.83) with Microsoft SMTP Server (TLS) id 15.0.1367.3; Sun, 14 Apr
 2019 07:40:31 -0700
Received: from NAM05-CO1-obe.outbound.protection.outlook.com (104.47.48.58) by
 SC-EXCH02.marvell.com (10.93.176.82) with Microsoft SMTP Server
 (TLS) id
 15.0.1367.3 via Frontend Transport; Sun, 14 Apr 2019 07:40:31 -0700
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed;
 d=marvell.onmicrosoft.com; s=selector1-marvell-com;
 h=From:Date:Subject:Message-ID:Content-Type:MIME-Version:X-MS-Exchange-SenderADCheck;
 bh=jd1WWuqB5N80VLDCdZwjO660wyZF0s+e917rnhwYFk8=;
 b=nkxT8kl5qsKcGyKJtnSVjsIzole4100ugHEJi1GIBc1sttBAYe4rDiyR/646ZBM/Hinm1cO7Dm08Va9xkYVApNdy2yvSb28GuXd3Aoajc3OfRxlB6rj/le0o8CtIS4Zm+WDQGrWra9/TMGvoEegWMikVJ9BMRi9j+eATu1JNOQo=
Received: from CY4PR1801MB1863.namprd18.prod.outlook.com (10.171.255.14) by
 CY4PR1801MB1990.namprd18.prod.outlook.com (10.171.255.143) with Microsoft
 SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id
 15.20.1792.17; Sun, 14 Apr 2019 14:40:30 +0000
Received: from CY4PR1801MB1863.namprd18.prod.outlook.com
 ([fe80::e980:fa09:c83a:851d]) by CY4PR1801MB1863.namprd18.prod.outlook.com
 ([fe80::e980:fa09:c83a:851d%3]) with mapi id 15.20.1792.018; Sun, 14 Apr 2019
 14:40:30 +0000
From: Pavan Nikhilesh Bhagavatula <pbhagavatula@marvell.com>
To: Thomas Monjalon <thomas@monjalon.net>, Jerin Jacob Kollanukkaran
 <jerinj@marvell.com>
CC: "dev@dpdk.org" <dev@dpdk.org>, "jerinjacobk@gmail.com"
 <jerinjacobk@gmail.com>, "yskoh@mellanox.com" <yskoh@mellanox.com>,
 "bruce.richardson@intel.com" <bruce.richardson@intel.com>
Thread-Topic: [dpdk-dev] [PATCH v8 2/4] meson: add infra to support machine
 specific flags
Thread-Index: AQHU8L+J7cUhAjPJBUqp2JiLniqos6Y4HKEAgAAZ84CAAWsIgIAA79AAgAEsVUA=
Date: Sun, 14 Apr 2019 14:40:30 +0000
Message-ID: <CY4PR1801MB18637A51BF6B26C06A7F4BB7DE2A0@CY4PR1801MB1863.namprd18.prod.outlook.com>
References: <20190406142737.20091-1-jerinj@marvell.com>
 <1848175.uIgEXrQmFj@xps>
 <BYAPR18MB24241963DBA8B9A9C2358952C8290@BYAPR18MB2424.namprd18.prod.outlook.com>
 <3120421.JkTWNKALu9@xps>
In-Reply-To: <3120421.JkTWNKALu9@xps>
Accept-Language: en-IN, en-US
Content-Language: en-US
X-MS-Has-Attach: 
X-MS-TNEF-Correlator: 
x-originating-ip: [122.172.57.155]
x-ms-publictraffictype: Email
x-ms-office365-filtering-correlation-id: cb089224-30a0-4fed-d321-08d6c0e7249a
x-microsoft-antispam: BCL:0; PCL:0;
 RULEID:(2390118)(7020095)(4652040)(8989299)(4534185)(4627221)(201703031133081)(201702281549075)(8990200)(5600139)(711020)(4605104)(2017052603328)(7193020);
 SRVR:CY4PR1801MB1990; 
x-ms-traffictypediagnostic: CY4PR1801MB1990:
x-microsoft-antispam-prvs: <CY4PR1801MB1990F2A1127B5285F335E070DE2A0@CY4PR1801MB1990.namprd18.prod.outlook.com>
x-forefront-prvs: 00073DB75F
x-forefront-antispam-report: SFV:NSPM;
 SFS:(10009020)(346002)(376002)(136003)(396003)(39840400004)(366004)(189003)(199004)(13464003)(97736004)(71190400001)(25786009)(71200400001)(55016002)(6506007)(229853002)(106356001)(5660300002)(105586002)(74316002)(316002)(4326008)(66066001)(54906003)(110136005)(256004)(99286004)(478600001)(9686003)(14444005)(86362001)(6246003)(11346002)(476003)(33656002)(26005)(53936002)(486006)(14454004)(6436002)(446003)(8676002)(6116002)(3846002)(2906002)(68736007)(6636002)(81156014)(81166006)(76176011)(52536014)(93886005)(7736002)(305945005)(8936002)(7696005)(102836004)(186003);
 DIR:OUT; SFP:1101; SCL:1; SRVR:CY4PR1801MB1990;
 H:CY4PR1801MB1863.namprd18.prod.outlook.com; FPR:; SPF:None; LANG:en;
 PTR:InfoNoRecords; MX:1; A:1; 
received-spf: None (protection.outlook.com: marvell.com does not designate
 permitted sender hosts)
x-ms-exchange-senderadcheck: 1
x-microsoft-antispam-message-info: kJVfZI9vOtjl/oq0FX0b5pXrt4Y5fZs4oolaZZjh/5D2ZI0mTGQkDj5I0kkO0KvmiPTwT6+7lrEJoHUk/Vr5rqrqrGFrZ/FtrsiJ7pCFR5T387ShhBaX1R08Q0zj0DA8Mc564+/dJT+R4GKb2AgQ6/w+k8pWJU9rIcgng/6n3Up1AGiVwDU21iesxGPYYSq+m6P7c3/PiUN7gkBvX1hvkRt7+3qCEQ3kphWj4MOOtXiFoCdRBTvarl9msXWNfSvsgMSK+/qUHyUb9DKEQuhgIs5Q1jAkXgHHb+pzwO9B0MnXyBZ9AmIdMKKNPqs1aJA4P6rrNKPySHyRbaui01Kaod1AcZ7IyEhK9QbupyuEbZoFJooNhUEsgKsVIUAYTLwhSYuBxn57eWB9XZC2l2ehdBADECTfJFTWFN28Y843TQ8=
Content-Type: text/plain; charset="us-ascii"
Content-Transfer-Encoding: quoted-printable
MIME-Version: 1.0
X-MS-Exchange-CrossTenant-Network-Message-Id: cb089224-30a0-4fed-d321-08d6c0e7249a
X-MS-Exchange-CrossTenant-originalarrivaltime: 14 Apr 2019 14:40:30.2347 (UTC)
X-MS-Exchange-CrossTenant-fromentityheader: Hosted
X-MS-Exchange-CrossTenant-id: 70e1fb47-1155-421d-87fc-2e58f638b6e0
X-MS-Exchange-CrossTenant-mailboxtype: HOSTED
X-MS-Exchange-Transport-CrossTenantHeadersStamped: CY4PR1801MB1990
X-OriginatorOrg: marvell.com
X-Proofpoint-Virus-Version: vendor=fsecure engine=2.50.10434:, ,
 definitions=2019-04-14_03:, , signatures=0
Subject: Re: [dpdk-dev] [PATCH v8 2/4] meson: add infra to support machine
 specific flags
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: Sun, 14 Apr 2019 14:40:34 -0000

Hi Thomas,=20

There is no guarantee of primary part number (machine names) uniqueness bet=
ween implementors.=20
If we limit lookups to only machine names through primary part number we wo=
uld have a lot of repetitive defines.
Also, moving the arrays into the python script is not feasible as meson nee=
ds to reparse the standard out from the python script

Currently, config is split into three parts :
	1. Implementor specific defines.
	2. Micro-arch specific compiler flags.
	3. Micro-arch specific defines.

I think from a configurability point of view the above three are really imp=
ortant for fine grained control.

Thoughts?

Regards,
Pavan.

>-----Original Message-----
>From: Thomas Monjalon <thomas@monjalon.net>
>Sent: Sunday, April 14, 2019 2:13 AM
>To: Jerin Jacob Kollanukkaran <jerinj@marvell.com>
>Cc: Pavan Nikhilesh Bhagavatula <pbhagavatula@marvell.com>;
>dev@dpdk.org; jerinjacobk@gmail.com; yskoh@mellanox.com;
>bruce.richardson@intel.com
>Subject: Re: [dpdk-dev] [PATCH v8 2/4] meson: add infra to support machine
>specific flags
>
>13/04/2019 08:24, Jerin Jacob Kollanukkaran:
>> > I was not confortable with this patch without being able to say why.
>> > Yesterday I spent more time to understand and see what may be improved=
.
>> > I agree it is late, so it won't block this patch for 19.05.
>> > Do you agree this file can be improved?
>>
>> Moving to  the all to static config file is an option but we lose the
>> flexibility of runtime detecting the options and few of them are
>> probing at runtime based on gcc versions and mcpu combination etc.
>
>I think there is a misunderstanding.
>I'm suggesting to symplify arrays by indexing only by machine name.
>It should not change the behaviour.
>
>> I am not expert in meson area and not sure meson/python has better
>> data strcture for this other than list/array combo. If Bruce has any
>> feedback on this, then we will try to prototype it.
>>
>> > Please would you like to look at reworking during next cycle?
>> > Thanks
>
>

From mboxrd@z Thu Jan  1 00:00:00 1970
Return-Path: <dev-bounces@dpdk.org>
Received: from dpdk.org (dpdk.org [92.243.14.124])
	by dpdk.space (Postfix) with ESMTP id 0DBD9A00E6
	for <public@inbox.dpdk.org>; Sun, 14 Apr 2019 16:40:37 +0200 (CEST)
Received: from [92.243.14.124] (localhost [127.0.0.1])
	by dpdk.org (Postfix) with ESMTP id 709745689;
	Sun, 14 Apr 2019 16:40:35 +0200 (CEST)
Received: from mx0b-0016f401.pphosted.com (mx0b-0016f401.pphosted.com
 [67.231.156.173]) by dpdk.org (Postfix) with ESMTP id 5591A4F9C
 for <dev@dpdk.org>; Sun, 14 Apr 2019 16:40:34 +0200 (CEST)
Received: from pps.filterd (m0045851.ppops.net [127.0.0.1])
 by mx0b-0016f401.pphosted.com (8.16.0.27/8.16.0.27) with SMTP id
 x3EEeJme010834; Sun, 14 Apr 2019 07:40:33 -0700
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=marvell.com;
 h=from : to : cc :
 subject : date : message-id : references : in-reply-to : content-type :
 content-transfer-encoding : mime-version; s=pfpt0818;
 bh=jd1WWuqB5N80VLDCdZwjO660wyZF0s+e917rnhwYFk8=;
 b=dDvM5JKNF8TIAjkTFsv6qU8mRIV3vpZ0ywt3WfxHft+gWS3/Ws22Ct6/+ZbHjCH+X/0n
 508eIPm00ng5m6agJyjmZ9HuztOExatHK1YNmMAXGLi8/+AkaYNUZf5TzkczkazcS0JG
 3eue9rPh4JtsLLwYm3ihmSHlxIGqAqnc1S0/p+Sznx1LH3mGn917mLeRGKAfH4Tx5Y5B
 VgvfCpMa1YaSDSOBTqLOvMo4KIqRT0si0UYYNe4LIfK+IsxRzxRCnWC5oRBcpAEiQJie
 1LUQkHjyKsh+0Ms7+7Qs+swDtz9rM9pV3NN9cVGT5ymhayi1IpcHRvDLw4a+b1fvHryy rg== 
Received: from sc-exch03.marvell.com ([199.233.58.183])
 by mx0b-0016f401.pphosted.com with ESMTP id 2ruf9ju4mc-1
 (version=TLSv1.2 cipher=ECDHE-RSA-AES256-SHA384 bits=256 verify=NOT);
 Sun, 14 Apr 2019 07:40:33 -0700
Received: from SC-EXCH02.marvell.com (10.93.176.82) by SC-EXCH03.marvell.com
 (10.93.176.83) with Microsoft SMTP Server (TLS) id 15.0.1367.3; Sun, 14 Apr
 2019 07:40:31 -0700
Received: from NAM05-CO1-obe.outbound.protection.outlook.com (104.47.48.58) by
 SC-EXCH02.marvell.com (10.93.176.82) with Microsoft SMTP Server
 (TLS) id
 15.0.1367.3 via Frontend Transport; Sun, 14 Apr 2019 07:40:31 -0700
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed;
 d=marvell.onmicrosoft.com; s=selector1-marvell-com;
 h=From:Date:Subject:Message-ID:Content-Type:MIME-Version:X-MS-Exchange-SenderADCheck;
 bh=jd1WWuqB5N80VLDCdZwjO660wyZF0s+e917rnhwYFk8=;
 b=nkxT8kl5qsKcGyKJtnSVjsIzole4100ugHEJi1GIBc1sttBAYe4rDiyR/646ZBM/Hinm1cO7Dm08Va9xkYVApNdy2yvSb28GuXd3Aoajc3OfRxlB6rj/le0o8CtIS4Zm+WDQGrWra9/TMGvoEegWMikVJ9BMRi9j+eATu1JNOQo=
Received: from CY4PR1801MB1863.namprd18.prod.outlook.com (10.171.255.14) by
 CY4PR1801MB1990.namprd18.prod.outlook.com (10.171.255.143) with Microsoft
 SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id
 15.20.1792.17; Sun, 14 Apr 2019 14:40:30 +0000
Received: from CY4PR1801MB1863.namprd18.prod.outlook.com
 ([fe80::e980:fa09:c83a:851d]) by CY4PR1801MB1863.namprd18.prod.outlook.com
 ([fe80::e980:fa09:c83a:851d%3]) with mapi id 15.20.1792.018; Sun, 14 Apr 2019
 14:40:30 +0000
From: Pavan Nikhilesh Bhagavatula <pbhagavatula@marvell.com>
To: Thomas Monjalon <thomas@monjalon.net>, Jerin Jacob Kollanukkaran
 <jerinj@marvell.com>
CC: "dev@dpdk.org" <dev@dpdk.org>, "jerinjacobk@gmail.com"
 <jerinjacobk@gmail.com>, "yskoh@mellanox.com" <yskoh@mellanox.com>,
 "bruce.richardson@intel.com" <bruce.richardson@intel.com>
Thread-Topic: [dpdk-dev] [PATCH v8 2/4] meson: add infra to support machine
 specific flags
Thread-Index: AQHU8L+J7cUhAjPJBUqp2JiLniqos6Y4HKEAgAAZ84CAAWsIgIAA79AAgAEsVUA=
Date: Sun, 14 Apr 2019 14:40:30 +0000
Message-ID:
 <CY4PR1801MB18637A51BF6B26C06A7F4BB7DE2A0@CY4PR1801MB1863.namprd18.prod.outlook.com>
References: <20190406142737.20091-1-jerinj@marvell.com>
 <1848175.uIgEXrQmFj@xps>
 <BYAPR18MB24241963DBA8B9A9C2358952C8290@BYAPR18MB2424.namprd18.prod.outlook.com>
 <3120421.JkTWNKALu9@xps>
In-Reply-To: <3120421.JkTWNKALu9@xps>
Accept-Language: en-IN, en-US
Content-Language: en-US
X-MS-Has-Attach: 
X-MS-TNEF-Correlator: 
x-originating-ip: [122.172.57.155]
x-ms-publictraffictype: Email
x-ms-office365-filtering-correlation-id: cb089224-30a0-4fed-d321-08d6c0e7249a
x-microsoft-antispam: BCL:0; PCL:0;
 RULEID:(2390118)(7020095)(4652040)(8989299)(4534185)(4627221)(201703031133081)(201702281549075)(8990200)(5600139)(711020)(4605104)(2017052603328)(7193020);
 SRVR:CY4PR1801MB1990; 
x-ms-traffictypediagnostic: CY4PR1801MB1990:
x-microsoft-antispam-prvs: <CY4PR1801MB1990F2A1127B5285F335E070DE2A0@CY4PR1801MB1990.namprd18.prod.outlook.com>
x-forefront-prvs: 00073DB75F
x-forefront-antispam-report: SFV:NSPM;
 SFS:(10009020)(346002)(376002)(136003)(396003)(39840400004)(366004)(189003)(199004)(13464003)(97736004)(71190400001)(25786009)(71200400001)(55016002)(6506007)(229853002)(106356001)(5660300002)(105586002)(74316002)(316002)(4326008)(66066001)(54906003)(110136005)(256004)(99286004)(478600001)(9686003)(14444005)(86362001)(6246003)(11346002)(476003)(33656002)(26005)(53936002)(486006)(14454004)(6436002)(446003)(8676002)(6116002)(3846002)(2906002)(68736007)(6636002)(81156014)(81166006)(76176011)(52536014)(93886005)(7736002)(305945005)(8936002)(7696005)(102836004)(186003);
 DIR:OUT; SFP:1101; SCL:1; SRVR:CY4PR1801MB1990;
 H:CY4PR1801MB1863.namprd18.prod.outlook.com; FPR:; SPF:None; LANG:en;
 PTR:InfoNoRecords; MX:1; A:1; 
received-spf: None (protection.outlook.com: marvell.com does not designate
 permitted sender hosts)
x-ms-exchange-senderadcheck: 1
x-microsoft-antispam-message-info: kJVfZI9vOtjl/oq0FX0b5pXrt4Y5fZs4oolaZZjh/5D2ZI0mTGQkDj5I0kkO0KvmiPTwT6+7lrEJoHUk/Vr5rqrqrGFrZ/FtrsiJ7pCFR5T387ShhBaX1R08Q0zj0DA8Mc564+/dJT+R4GKb2AgQ6/w+k8pWJU9rIcgng/6n3Up1AGiVwDU21iesxGPYYSq+m6P7c3/PiUN7gkBvX1hvkRt7+3qCEQ3kphWj4MOOtXiFoCdRBTvarl9msXWNfSvsgMSK+/qUHyUb9DKEQuhgIs5Q1jAkXgHHb+pzwO9B0MnXyBZ9AmIdMKKNPqs1aJA4P6rrNKPySHyRbaui01Kaod1AcZ7IyEhK9QbupyuEbZoFJooNhUEsgKsVIUAYTLwhSYuBxn57eWB9XZC2l2ehdBADECTfJFTWFN28Y843TQ8=
Content-Type: text/plain; charset="UTF-8"
Content-Transfer-Encoding: quoted-printable
MIME-Version: 1.0
X-MS-Exchange-CrossTenant-Network-Message-Id: cb089224-30a0-4fed-d321-08d6c0e7249a
X-MS-Exchange-CrossTenant-originalarrivaltime: 14 Apr 2019 14:40:30.2347 (UTC)
X-MS-Exchange-CrossTenant-fromentityheader: Hosted
X-MS-Exchange-CrossTenant-id: 70e1fb47-1155-421d-87fc-2e58f638b6e0
X-MS-Exchange-CrossTenant-mailboxtype: HOSTED
X-MS-Exchange-Transport-CrossTenantHeadersStamped: CY4PR1801MB1990
X-OriginatorOrg: marvell.com
X-Proofpoint-Virus-Version: vendor=fsecure engine=2.50.10434:, ,
 definitions=2019-04-14_03:, , signatures=0
Subject: Re: [dpdk-dev] [PATCH v8 2/4] meson: add infra to support machine
 specific flags
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>
Errors-To: dev-bounces@dpdk.org
Sender: "dev" <dev-bounces@dpdk.org>
Message-ID: <20190414144030.KV1iocV7NnL7q63DAJOdh_WGUFdqOAmW07w1BL0SYww@z>

Hi Thomas,=20

There is no guarantee of primary part number (machine names) uniqueness bet=
ween implementors.=20
If we limit lookups to only machine names through primary part number we wo=
uld have a lot of repetitive defines.
Also, moving the arrays into the python script is not feasible as meson nee=
ds to reparse the standard out from the python script

Currently, config is split into three parts :
	1. Implementor specific defines.
	2. Micro-arch specific compiler flags.
	3. Micro-arch specific defines.

I think from a configurability point of view the above three are really imp=
ortant for fine grained control.

Thoughts?

Regards,
Pavan.

>-----Original Message-----
>From: Thomas Monjalon <thomas@monjalon.net>
>Sent: Sunday, April 14, 2019 2:13 AM
>To: Jerin Jacob Kollanukkaran <jerinj@marvell.com>
>Cc: Pavan Nikhilesh Bhagavatula <pbhagavatula@marvell.com>;
>dev@dpdk.org; jerinjacobk@gmail.com; yskoh@mellanox.com;
>bruce.richardson@intel.com
>Subject: Re: [dpdk-dev] [PATCH v8 2/4] meson: add infra to support machine
>specific flags
>
>13/04/2019 08:24, Jerin Jacob Kollanukkaran:
>> > I was not confortable with this patch without being able to say why.
>> > Yesterday I spent more time to understand and see what may be improved=
.
>> > I agree it is late, so it won't block this patch for 19.05.
>> > Do you agree this file can be improved?
>>
>> Moving to  the all to static config file is an option but we lose the
>> flexibility of runtime detecting the options and few of them are
>> probing at runtime based on gcc versions and mcpu combination etc.
>
>I think there is a misunderstanding.
>I'm suggesting to symplify arrays by indexing only by machine name.
>It should not change the behaviour.
>
>> I am not expert in meson area and not sure meson/python has better
>> data strcture for this other than list/array combo. If Bruce has any
>> feedback on this, then we will try to prototype it.
>>
>> > Please would you like to look at reworking during next cycle?
>> > Thanks
>
>