diff mbox

[2/2] List required/suggested dependencies for building ODP

Message ID 1402609283-25649-1-git-send-email-steve.mcintyre@linaro.org
State New
Headers show

Commit Message

Steve McIntyre June 12, 2014, 9:41 p.m. UTC
From: Steve McIntyre <steve.mcintyre@linaro.org>

Initial checkin mentioning glibc 2.14+

Signed-off-by: Steve McIntyre <steve.mcintyre@linaro.org>
---
 DEPENDENCIES |   11 +++++++++++
 1 file changed, 11 insertions(+)
 create mode 100644 DEPENDENCIES

Comments

Maxim Uvarov June 12, 2014, 10:11 p.m. UTC | #1
How about starting use configure or cmake for ODP instead of maintain 
text file with dependencies?

Best regards,
Maxim.

On 06/12/2014 02:41 PM, steve.mcintyre@linaro.org wrote:
> From: Steve McIntyre <steve.mcintyre@linaro.org>
>
> Initial checkin mentioning glibc 2.14+
>
> Signed-off-by: Steve McIntyre <steve.mcintyre@linaro.org>
> ---
>   DEPENDENCIES |   11 +++++++++++
>   1 file changed, 11 insertions(+)
>   create mode 100644 DEPENDENCIES
>
> diff --git a/DEPENDENCIES b/DEPENDENCIES
> new file mode 100644
> index 0000000..e32ad4b
> --- /dev/null
> +++ b/DEPENDENCIES
> @@ -0,0 +1,11 @@
> +Dependencies for the Open Dataplane API (ODP) - an incomplete list
> +
> +ODP depends on a variety of third-party libraries and (obviously) a
> +compiler. The minimum requirements are:
> +
> +* TBD
> +
> +For best results:
> +
> +* glibc 2.14 or later (2.14 includes sendmmsg for faster packet sending)
> +
Steve McIntyre June 12, 2014, 10:17 p.m. UTC | #2
On Thu, Jun 12, 2014 at 03:11:21PM -0700, Maxim Uvarov wrote:
>How about starting use configure or cmake for ODP instead of maintain
>text file with dependencies?

That's an option, but whether or not we do that it's a common thing
for software projects to add a list of dependencies somewhere as a
service to the user. Whether that's in the README or in a separate
file like INSTALL or DEPENDENCIES depends on the project involved. I
think we've seen some consensus for this in the last few days?

Cheers,
Mike Holmes June 12, 2014, 10:25 p.m. UTC | #3
I vote for keeping it simple and not making the build more complex until it
becomes a bigger issue.


On 12 June 2014 15:17, Steve McIntyre <steve.mcintyre@linaro.org> wrote:

> On Thu, Jun 12, 2014 at 03:11:21PM -0700, Maxim Uvarov wrote:
> >How about starting use configure or cmake for ODP instead of maintain
> >text file with dependencies?
>
> That's an option, but whether or not we do that it's a common thing
> for software projects to add a list of dependencies somewhere as a
> service to the user. Whether that's in the README or in a separate
> file like INSTALL or DEPENDENCIES depends on the project involved. I
> think we've seen some consensus for this in the last few days?
>
> Cheers,
> --
> Steve McIntyre                                steve.mcintyre@linaro.org
> <http://www.linaro.org/> Linaro.org | Open source software for ARM SoCs
>
>
> _______________________________________________
> lng-odp mailing list
> lng-odp@lists.linaro.org
> http://lists.linaro.org/mailman/listinfo/lng-odp
>
Anders Roxell June 12, 2014, 10:52 p.m. UTC | #4
On 2014-06-12 22:41, steve.mcintyre@linaro.org wrote:
> From: Steve McIntyre <steve.mcintyre@linaro.org>
> 
> Initial checkin mentioning glibc 2.14+
> 
> Signed-off-by: Steve McIntyre <steve.mcintyre@linaro.org>
> ---
>  DEPENDENCIES |   11 +++++++++++
>  1 file changed, 11 insertions(+)
>  create mode 100644 DEPENDENCIES
> 
> diff --git a/DEPENDENCIES b/DEPENDENCIES
> new file mode 100644
> index 0000000..e32ad4b
> --- /dev/null
> +++ b/DEPENDENCIES
> @@ -0,0 +1,11 @@
> +Dependencies for the Open Dataplane API (ODP) - an incomplete list

OpenDataPlane (ODP) API so we comply with registered trade mark name

> +
> +ODP depends on a variety of third-party libraries and (obviously) a
> +compiler. The minimum requirements are:
> +
> +* TBD
> +
> +For best results:

To be able to build right?
Do we need to support older versions?

Cheers,
Anders

> +
> +* glibc 2.14 or later (2.14 includes sendmmsg for faster packet sending)
> +
> -- 
> 1.7.10.4
> 
> 
> _______________________________________________
> lng-odp mailing list
> lng-odp@lists.linaro.org
> http://lists.linaro.org/mailman/listinfo/lng-odp
Steve McIntyre June 16, 2014, 2:38 p.m. UTC | #5
On Fri, Jun 13, 2014 at 12:52:36AM +0200, Anders Roxell wrote:
>On 2014-06-12 22:41, steve.mcintyre@linaro.org wrote:
>> From: Steve McIntyre <steve.mcintyre@linaro.org>
>> 
>> Initial checkin mentioning glibc 2.14+
>> 
>> Signed-off-by: Steve McIntyre <steve.mcintyre@linaro.org>
>> ---
>>  DEPENDENCIES |   11 +++++++++++
>>  1 file changed, 11 insertions(+)
>>  create mode 100644 DEPENDENCIES
>> 
>> diff --git a/DEPENDENCIES b/DEPENDENCIES
>> new file mode 100644
>> index 0000000..e32ad4b
>> --- /dev/null
>> +++ b/DEPENDENCIES
>> @@ -0,0 +1,11 @@
>> +Dependencies for the Open Dataplane API (ODP) - an incomplete list
>
>OpenDataPlane (ODP) API so we comply with registered trade mark name

ACK. Updated version to follow.

>> +ODP depends on a variety of third-party libraries and (obviously) a
>> +compiler. The minimum requirements are:
>> +
>> +* TBD
>> +
>> +For best results:
>
>To be able to build right?

Well, it depends - we can work around it using sendmsg() in a loop, as
in my other patch. Things will still work, and for linux-generic I
don't think we're expecting massive performance? :-)

>Do we need to support older versions?

That's a good question. I'd personally like us to support at least the
current stable releases of all the common Linux distributions, to make
it easier for people to try ODP. If there are places where we *really*
need newer versions of tools and libs, we should call those out.

Having said that, we should probably support RH 6 as well, and that's
on glibc 2.12 still. I'll extend the other patch to add an alternative
for recvmmsg() too.

Cheers,
Steve McIntyre June 16, 2014, 2:41 p.m. UTC | #6
On Mon, Jun 16, 2014 at 03:38:17PM +0100, Steve McIntyre wrote:
>
>Having said that, we should probably support RH 6 as well, and that's
>on glibc 2.12 still. I'll extend the other patch to add an alternative
>for recvmmsg() too.

Ignore me - jetlag. 2.12 already contained recvmmsg().

Cheers,
Maxim Uvarov June 16, 2014, 3:05 p.m. UTC | #7
after some thinking I came with idea that:

1. this dependency file describes only dependencies for linux-generic. 
It does not touch other platforms at all.
So it has to be under linux-generic directory.

2. adding empty place holder file or file with only glibc is useless. I 
think we have to wait until we will have some valuable information.

Best regards,
Maxim.

On 06/16/2014 06:41 PM, Steve McIntyre wrote:
> On Mon, Jun 16, 2014 at 03:38:17PM +0100, Steve McIntyre wrote:
>> Having said that, we should probably support RH 6 as well, and that's
>> on glibc 2.12 still. I'll extend the other patch to add an alternative
>> for recvmmsg() too.
> Ignore me - jetlag. 2.12 already contained recvmmsg().
>
> Cheers,
Steve McIntyre June 16, 2014, 3:23 p.m. UTC | #8
On Mon, Jun 16, 2014 at 07:05:30PM +0400, Maxim Uvarov wrote:
>after some thinking I came with idea that:
>
>1. this dependency file describes only dependencies for
>linux-generic. It does not touch other platforms at all.
>So it has to be under linux-generic directory.

That's fair enough.

>2. adding empty place holder file or file with only glibc is useless.
>I think we have to wait until we will have some valuable information.

But on this I disagree - let's start with the information we have and
build it up. If there are any other known dependencies and version
limits, let's list them now. If not, we'll have somewhere to add them
over time.

Cheers,
Maxim Uvarov June 16, 2014, 3:37 p.m. UTC | #9
On 06/16/2014 07:23 PM, Steve McIntyre wrote:
> On Mon, Jun 16, 2014 at 07:05:30PM +0400, Maxim Uvarov wrote:
>> after some thinking I came with idea that:
>>
>> 1. this dependency file describes only dependencies for
>> linux-generic. It does not touch other platforms at all.
>> So it has to be under linux-generic directory.
> That's fair enough.
>
>> 2. adding empty place holder file or file with only glibc is useless.
>> I think we have to wait until we will have some valuable information.
> But on this I disagree - let's start with the information we have and
> build it up. If there are any other known dependencies and version
> limits, let's list them now. If not, we'll have somewhere to add them
> over time.
>
> Cheers,
Ok, than it makes reason to have the same file format for all platforms. 
I like
the KS2 README file. I think you should keep the same format.

Maxim.
diff mbox

Patch

diff --git a/DEPENDENCIES b/DEPENDENCIES
new file mode 100644
index 0000000..e32ad4b
--- /dev/null
+++ b/DEPENDENCIES
@@ -0,0 +1,11 @@ 
+Dependencies for the Open Dataplane API (ODP) - an incomplete list
+
+ODP depends on a variety of third-party libraries and (obviously) a
+compiler. The minimum requirements are:
+
+* TBD
+
+For best results:
+
+* glibc 2.14 or later (2.14 includes sendmmsg for faster packet sending)
+