All of lore.kernel.org
 help / color / mirror / Atom feed
* [thud/master][PATCH] ion: add libion and ion-tests packages for ION support
@ 2019-09-13  3:21 Denys Dmytriyenko
  2019-09-13 13:24 ` Khem Raj
  0 siblings, 1 reply; 3+ messages in thread
From: Denys Dmytriyenko @ 2019-09-13  3:21 UTC (permalink / raw)
  To: meta-ti

ION Userspace Memory Allocator Library and tests

Signed-off-by: Denys Dmytriyenko <denys@ti.com>
---
 ...-CMakeLists.txt-disable-phys-addr-for-now.patch | 34 ++++++++++++++++++++++
 recipes-devtools/ion/ion-tests_git.bb              | 18 ++++++++++++
 recipes-devtools/ion/libion_git.bb                 | 14 +++++++++
 3 files changed, 66 insertions(+)
 create mode 100644 recipes-devtools/ion/ion-tests/0001-CMakeLists.txt-disable-phys-addr-for-now.patch
 create mode 100644 recipes-devtools/ion/ion-tests_git.bb
 create mode 100644 recipes-devtools/ion/libion_git.bb

diff --git a/recipes-devtools/ion/ion-tests/0001-CMakeLists.txt-disable-phys-addr-for-now.patch b/recipes-devtools/ion/ion-tests/0001-CMakeLists.txt-disable-phys-addr-for-now.patch
new file mode 100644
index 0000000..7cf5895
--- /dev/null
+++ b/recipes-devtools/ion/ion-tests/0001-CMakeLists.txt-disable-phys-addr-for-now.patch
@@ -0,0 +1,34 @@
+From 85264fc72a261d20107a50ea2fad0258900a132b Mon Sep 17 00:00:00 2001
+From: Denys Dmytriyenko <denys@ti.com>
+Date: Sat, 20 Apr 2019 16:54:03 +0000
+Subject: [PATCH] CMakeLists.txt: disable phys-addr for now
+
+Signed-off-by: Denys Dmytriyenko <denys@ti.com>
+---
+ CMakeLists.txt | 13 -------------
+ 1 file changed, 13 deletions(-)
+
+diff --git a/CMakeLists.txt b/CMakeLists.txt
+index 1d60003..eca6ba7 100644
+--- a/CMakeLists.txt
++++ b/CMakeLists.txt
+@@ -54,16 +54,3 @@ target_link_libraries(ion-print-heaps
+ target_include_directories(ion-print-heaps PUBLIC ${LIBION_INCLUDE_DIRS})
+ 
+ install(TARGETS ion-print-heaps RUNTIME DESTINATION bin)
+-
+-# phys-addr
+-
+-add_executable(phys-addr
+-	src/phys-addr.c
+-)
+-
+-target_link_libraries(phys-addr
+-	${LIBION_LIBRARIES}
+-)
+-target_include_directories(phys-addr PUBLIC ${LIBION_INCLUDE_DIRS})
+-
+-install(TARGETS phys-addr RUNTIME DESTINATION bin)
+-- 
+2.17.1
+
diff --git a/recipes-devtools/ion/ion-tests_git.bb b/recipes-devtools/ion/ion-tests_git.bb
new file mode 100644
index 0000000..831f5e8
--- /dev/null
+++ b/recipes-devtools/ion/ion-tests_git.bb
@@ -0,0 +1,18 @@
+SUMMARY = "Test cases for ION"
+HOMEPAGE = "https://github.com/glneo/ion-tests"
+LICENSE = "Apache-2.0"
+LIC_FILES_CHKSUM = "file://src/ion_test.c;beginline=1;endline=15;md5=b225db900869a4cd31461606e55a3ec5"
+
+PV = "1.0"
+
+BRANCH = "master"
+SRC_URI = "git://github.com/glneo/ion-tests.git;protocol=git;branch=${BRANCH} \
+	file://0001-CMakeLists.txt-disable-phys-addr-for-now.patch \
+"
+SRCREV = "70d730cebca29e6fd37b21d9beac82ae645f3900"
+
+DEPENDS = "libion gtest"
+
+S = "${WORKDIR}/git"
+
+inherit cmake pkgconfig
diff --git a/recipes-devtools/ion/libion_git.bb b/recipes-devtools/ion/libion_git.bb
new file mode 100644
index 0000000..7c93ed3
--- /dev/null
+++ b/recipes-devtools/ion/libion_git.bb
@@ -0,0 +1,14 @@
+SUMMARY = "ION Userspace Memory Allocator Library"
+HOMEPAGE = "https://github.com/glneo/libion"
+LICENSE = "Apache-2.0"
+LIC_FILES_CHKSUM = "file://LICENSE;md5=86d3f3a95c324c9479bd8986968f4327"
+
+PV = "1.0.0"
+
+BRANCH = "master"
+SRC_URI = "git://github.com/glneo/libion.git;protocol=git;branch=${BRANCH}"
+SRCREV = "11dad7977ec3ecba37c013da7ec0408c01413000"
+
+S = "${WORKDIR}/git"
+
+inherit cmake pkgconfig
-- 
2.7.4



^ permalink raw reply related	[flat|nested] 3+ messages in thread

* Re: [thud/master][PATCH] ion: add libion and ion-tests packages for ION support
  2019-09-13  3:21 [thud/master][PATCH] ion: add libion and ion-tests packages for ION support Denys Dmytriyenko
@ 2019-09-13 13:24 ` Khem Raj
  2019-09-13 19:30   ` Denys Dmytriyenko
  0 siblings, 1 reply; 3+ messages in thread
From: Khem Raj @ 2019-09-13 13:24 UTC (permalink / raw)
  To: Denys Dmytriyenko; +Cc: meta-ti

thai breaks on musl  see

https://errors.yoctoproject.org/Errors/Details/270173/

a patch like meta/recipes-support/attr/attr/dont-use-decl-macros.patch
from oe-core will solve it. Care to fix ?

On Thu, Sep 12, 2019 at 8:22 PM Denys Dmytriyenko <denys@ti.com> wrote:
>
> ION Userspace Memory Allocator Library and tests
>
> Signed-off-by: Denys Dmytriyenko <denys@ti.com>
> ---
>  ...-CMakeLists.txt-disable-phys-addr-for-now.patch | 34 ++++++++++++++++++++++
>  recipes-devtools/ion/ion-tests_git.bb              | 18 ++++++++++++
>  recipes-devtools/ion/libion_git.bb                 | 14 +++++++++
>  3 files changed, 66 insertions(+)
>  create mode 100644 recipes-devtools/ion/ion-tests/0001-CMakeLists.txt-disable-phys-addr-for-now.patch
>  create mode 100644 recipes-devtools/ion/ion-tests_git.bb
>  create mode 100644 recipes-devtools/ion/libion_git.bb
>
> diff --git a/recipes-devtools/ion/ion-tests/0001-CMakeLists.txt-disable-phys-addr-for-now.patch b/recipes-devtools/ion/ion-tests/0001-CMakeLists.txt-disable-phys-addr-for-now.patch
> new file mode 100644
> index 0000000..7cf5895
> --- /dev/null
> +++ b/recipes-devtools/ion/ion-tests/0001-CMakeLists.txt-disable-phys-addr-for-now.patch
> @@ -0,0 +1,34 @@
> +From 85264fc72a261d20107a50ea2fad0258900a132b Mon Sep 17 00:00:00 2001
> +From: Denys Dmytriyenko <denys@ti.com>
> +Date: Sat, 20 Apr 2019 16:54:03 +0000
> +Subject: [PATCH] CMakeLists.txt: disable phys-addr for now
> +
> +Signed-off-by: Denys Dmytriyenko <denys@ti.com>
> +---
> + CMakeLists.txt | 13 -------------
> + 1 file changed, 13 deletions(-)
> +
> +diff --git a/CMakeLists.txt b/CMakeLists.txt
> +index 1d60003..eca6ba7 100644
> +--- a/CMakeLists.txt
> ++++ b/CMakeLists.txt
> +@@ -54,16 +54,3 @@ target_link_libraries(ion-print-heaps
> + target_include_directories(ion-print-heaps PUBLIC ${LIBION_INCLUDE_DIRS})
> +
> + install(TARGETS ion-print-heaps RUNTIME DESTINATION bin)
> +-
> +-# phys-addr
> +-
> +-add_executable(phys-addr
> +-      src/phys-addr.c
> +-)
> +-
> +-target_link_libraries(phys-addr
> +-      ${LIBION_LIBRARIES}
> +-)
> +-target_include_directories(phys-addr PUBLIC ${LIBION_INCLUDE_DIRS})
> +-
> +-install(TARGETS phys-addr RUNTIME DESTINATION bin)
> +--
> +2.17.1
> +
> diff --git a/recipes-devtools/ion/ion-tests_git.bb b/recipes-devtools/ion/ion-tests_git.bb
> new file mode 100644
> index 0000000..831f5e8
> --- /dev/null
> +++ b/recipes-devtools/ion/ion-tests_git.bb
> @@ -0,0 +1,18 @@
> +SUMMARY = "Test cases for ION"
> +HOMEPAGE = "https://github.com/glneo/ion-tests"
> +LICENSE = "Apache-2.0"
> +LIC_FILES_CHKSUM = "file://src/ion_test.c;beginline=1;endline=15;md5=b225db900869a4cd31461606e55a3ec5"
> +
> +PV = "1.0"
> +
> +BRANCH = "master"
> +SRC_URI = "git://github.com/glneo/ion-tests.git;protocol=git;branch=${BRANCH} \
> +       file://0001-CMakeLists.txt-disable-phys-addr-for-now.patch \
> +"
> +SRCREV = "70d730cebca29e6fd37b21d9beac82ae645f3900"
> +
> +DEPENDS = "libion gtest"
> +
> +S = "${WORKDIR}/git"
> +
> +inherit cmake pkgconfig
> diff --git a/recipes-devtools/ion/libion_git.bb b/recipes-devtools/ion/libion_git.bb
> new file mode 100644
> index 0000000..7c93ed3
> --- /dev/null
> +++ b/recipes-devtools/ion/libion_git.bb
> @@ -0,0 +1,14 @@
> +SUMMARY = "ION Userspace Memory Allocator Library"
> +HOMEPAGE = "https://github.com/glneo/libion"
> +LICENSE = "Apache-2.0"
> +LIC_FILES_CHKSUM = "file://LICENSE;md5=86d3f3a95c324c9479bd8986968f4327"
> +
> +PV = "1.0.0"
> +
> +BRANCH = "master"
> +SRC_URI = "git://github.com/glneo/libion.git;protocol=git;branch=${BRANCH}"
> +SRCREV = "11dad7977ec3ecba37c013da7ec0408c01413000"
> +
> +S = "${WORKDIR}/git"
> +
> +inherit cmake pkgconfig
> --
> 2.7.4
>
> --
> _______________________________________________
> meta-ti mailing list
> meta-ti@yoctoproject.org
> https://lists.yoctoproject.org/listinfo/meta-ti


^ permalink raw reply	[flat|nested] 3+ messages in thread

* Re: [thud/master][PATCH] ion: add libion and ion-tests packages for ION support
  2019-09-13 13:24 ` Khem Raj
@ 2019-09-13 19:30   ` Denys Dmytriyenko
  0 siblings, 0 replies; 3+ messages in thread
From: Denys Dmytriyenko @ 2019-09-13 19:30 UTC (permalink / raw)
  To: Khem Raj; +Cc: meta-ti

Ok, I'll take a look. Thanks.

On Fri, Sep 13, 2019 at 06:24:48AM -0700, Khem Raj wrote:
> thai breaks on musl  see
> 
> https://errors.yoctoproject.org/Errors/Details/270173/
> 
> a patch like meta/recipes-support/attr/attr/dont-use-decl-macros.patch
> from oe-core will solve it. Care to fix ?
> 
> On Thu, Sep 12, 2019 at 8:22 PM Denys Dmytriyenko <denys@ti.com> wrote:
> >
> > ION Userspace Memory Allocator Library and tests
> >
> > Signed-off-by: Denys Dmytriyenko <denys@ti.com>
> > ---
> >  ...-CMakeLists.txt-disable-phys-addr-for-now.patch | 34 ++++++++++++++++++++++
> >  recipes-devtools/ion/ion-tests_git.bb              | 18 ++++++++++++
> >  recipes-devtools/ion/libion_git.bb                 | 14 +++++++++
> >  3 files changed, 66 insertions(+)
> >  create mode 100644 recipes-devtools/ion/ion-tests/0001-CMakeLists.txt-disable-phys-addr-for-now.patch
> >  create mode 100644 recipes-devtools/ion/ion-tests_git.bb
> >  create mode 100644 recipes-devtools/ion/libion_git.bb
> >
> > diff --git a/recipes-devtools/ion/ion-tests/0001-CMakeLists.txt-disable-phys-addr-for-now.patch b/recipes-devtools/ion/ion-tests/0001-CMakeLists.txt-disable-phys-addr-for-now.patch
> > new file mode 100644
> > index 0000000..7cf5895
> > --- /dev/null
> > +++ b/recipes-devtools/ion/ion-tests/0001-CMakeLists.txt-disable-phys-addr-for-now.patch
> > @@ -0,0 +1,34 @@
> > +From 85264fc72a261d20107a50ea2fad0258900a132b Mon Sep 17 00:00:00 2001
> > +From: Denys Dmytriyenko <denys@ti.com>
> > +Date: Sat, 20 Apr 2019 16:54:03 +0000
> > +Subject: [PATCH] CMakeLists.txt: disable phys-addr for now
> > +
> > +Signed-off-by: Denys Dmytriyenko <denys@ti.com>
> > +---
> > + CMakeLists.txt | 13 -------------
> > + 1 file changed, 13 deletions(-)
> > +
> > +diff --git a/CMakeLists.txt b/CMakeLists.txt
> > +index 1d60003..eca6ba7 100644
> > +--- a/CMakeLists.txt
> > ++++ b/CMakeLists.txt
> > +@@ -54,16 +54,3 @@ target_link_libraries(ion-print-heaps
> > + target_include_directories(ion-print-heaps PUBLIC ${LIBION_INCLUDE_DIRS})
> > +
> > + install(TARGETS ion-print-heaps RUNTIME DESTINATION bin)
> > +-
> > +-# phys-addr
> > +-
> > +-add_executable(phys-addr
> > +-      src/phys-addr.c
> > +-)
> > +-
> > +-target_link_libraries(phys-addr
> > +-      ${LIBION_LIBRARIES}
> > +-)
> > +-target_include_directories(phys-addr PUBLIC ${LIBION_INCLUDE_DIRS})
> > +-
> > +-install(TARGETS phys-addr RUNTIME DESTINATION bin)
> > +--
> > +2.17.1
> > +
> > diff --git a/recipes-devtools/ion/ion-tests_git.bb b/recipes-devtools/ion/ion-tests_git.bb
> > new file mode 100644
> > index 0000000..831f5e8
> > --- /dev/null
> > +++ b/recipes-devtools/ion/ion-tests_git.bb
> > @@ -0,0 +1,18 @@
> > +SUMMARY = "Test cases for ION"
> > +HOMEPAGE = "https://github.com/glneo/ion-tests"
> > +LICENSE = "Apache-2.0"
> > +LIC_FILES_CHKSUM = "file://src/ion_test.c;beginline=1;endline=15;md5=b225db900869a4cd31461606e55a3ec5"
> > +
> > +PV = "1.0"
> > +
> > +BRANCH = "master"
> > +SRC_URI = "git://github.com/glneo/ion-tests.git;protocol=git;branch=${BRANCH} \
> > +       file://0001-CMakeLists.txt-disable-phys-addr-for-now.patch \
> > +"
> > +SRCREV = "70d730cebca29e6fd37b21d9beac82ae645f3900"
> > +
> > +DEPENDS = "libion gtest"
> > +
> > +S = "${WORKDIR}/git"
> > +
> > +inherit cmake pkgconfig
> > diff --git a/recipes-devtools/ion/libion_git.bb b/recipes-devtools/ion/libion_git.bb
> > new file mode 100644
> > index 0000000..7c93ed3
> > --- /dev/null
> > +++ b/recipes-devtools/ion/libion_git.bb
> > @@ -0,0 +1,14 @@
> > +SUMMARY = "ION Userspace Memory Allocator Library"
> > +HOMEPAGE = "https://github.com/glneo/libion"
> > +LICENSE = "Apache-2.0"
> > +LIC_FILES_CHKSUM = "file://LICENSE;md5=86d3f3a95c324c9479bd8986968f4327"
> > +
> > +PV = "1.0.0"
> > +
> > +BRANCH = "master"
> > +SRC_URI = "git://github.com/glneo/libion.git;protocol=git;branch=${BRANCH}"
> > +SRCREV = "11dad7977ec3ecba37c013da7ec0408c01413000"
> > +
> > +S = "${WORKDIR}/git"
> > +
> > +inherit cmake pkgconfig
> > --
> > 2.7.4
> >
> > --
> > _______________________________________________
> > meta-ti mailing list
> > meta-ti@yoctoproject.org
> > https://lists.yoctoproject.org/listinfo/meta-ti


^ permalink raw reply	[flat|nested] 3+ messages in thread

end of thread, other threads:[~2019-09-13 19:30 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2019-09-13  3:21 [thud/master][PATCH] ion: add libion and ion-tests packages for ION support Denys Dmytriyenko
2019-09-13 13:24 ` Khem Raj
2019-09-13 19:30   ` Denys Dmytriyenko

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.