* [PATCH] ltp: fix rpc build error
@ 2020-12-15 14:48 Kory Maincent
2020-12-16 17:51 ` [oe] " Khem Raj
0 siblings, 1 reply; 4+ messages in thread
From: Kory Maincent @ 2020-12-15 14:48 UTC (permalink / raw)
To: openembedded-devel; +Cc: thomas.petazzoni
Add support to tirpc tests build.
Export incdir and libdir to have the right path.
Signed-off-by: Kory Maincent <kory.maincent@bootlin.com>
---
meta/recipes-extended/ltp/ltp_20200930.bb | 6 +++---
1 file changed, 3 insertions(+), 3 deletions(-)
diff --git a/meta/recipes-extended/ltp/ltp_20200930.bb b/meta/recipes-extended/ltp/ltp_20200930.bb
index 7acf15b360..9b17d68f67 100644
--- a/meta/recipes-extended/ltp/ltp_20200930.bb
+++ b/meta/recipes-extended/ltp/ltp_20200930.bb
@@ -14,7 +14,7 @@ LIC_FILES_CHKSUM = "\
file://utils/benchmark/kernbench-0.42/COPYING;md5=94d55d512a9ba36caa9b7df079bae19f \
"
-DEPENDS = "attr libaio libcap acl openssl zip-native"
+DEPENDS = "attr libaio libcap acl openssl zip-native libtirpc"
DEPENDS_append_libc-musl = " fts "
EXTRA_OEMAKE_append_libc-musl = " LIBC=musl "
EXTRA_OECONF_append_libc-musl = " LIBS=-lfts "
@@ -44,12 +44,12 @@ TARGET_CC_ARCH += "${LDFLAGS}"
export prefix = "/opt/${PN}"
export exec_prefix = "/opt/${PN}"
+export libdir = "/usr/lib"
+export incdir = "/usr/include"
PACKAGECONFIG[numa] = "--with-numa, --without-numa, numactl,"
EXTRA_AUTORECONF += "-I ${S}/testcases/realtime/m4"
EXTRA_OECONF = " --with-realtime-testsuite --with-open-posix-testsuite "
-# ltp network/rpc test cases ftbfs when libtirpc is found
-EXTRA_OECONF += " --without-tirpc "
do_install(){
install -d ${D}${prefix}/
--
2.17.1
^ permalink raw reply related [flat|nested] 4+ messages in thread
* Re: [oe] [PATCH] ltp: fix rpc build error
2020-12-15 14:48 [PATCH] ltp: fix rpc build error Kory Maincent
@ 2020-12-16 17:51 ` Khem Raj
2020-12-17 9:54 ` Kory Maincent
0 siblings, 1 reply; 4+ messages in thread
From: Khem Raj @ 2020-12-16 17:51 UTC (permalink / raw)
To: Kory Maincent; +Cc: openembeded-devel, Thomas Petazzoni
please send it to oe-core mailing list since its oe-core recipe.
On Tue, Dec 15, 2020 at 6:49 AM Kory Maincent <kory.maincent@bootlin.com> wrote:
>
> Add support to tirpc tests build.
> Export incdir and libdir to have the right path.
>
> Signed-off-by: Kory Maincent <kory.maincent@bootlin.com>
> ---
> meta/recipes-extended/ltp/ltp_20200930.bb | 6 +++---
> 1 file changed, 3 insertions(+), 3 deletions(-)
>
> diff --git a/meta/recipes-extended/ltp/ltp_20200930.bb b/meta/recipes-extended/ltp/ltp_20200930.bb
> index 7acf15b360..9b17d68f67 100644
> --- a/meta/recipes-extended/ltp/ltp_20200930.bb
> +++ b/meta/recipes-extended/ltp/ltp_20200930.bb
> @@ -14,7 +14,7 @@ LIC_FILES_CHKSUM = "\
> file://utils/benchmark/kernbench-0.42/COPYING;md5=94d55d512a9ba36caa9b7df079bae19f \
> "
>
> -DEPENDS = "attr libaio libcap acl openssl zip-native"
> +DEPENDS = "attr libaio libcap acl openssl zip-native libtirpc"
> DEPENDS_append_libc-musl = " fts "
> EXTRA_OEMAKE_append_libc-musl = " LIBC=musl "
> EXTRA_OECONF_append_libc-musl = " LIBS=-lfts "
> @@ -44,12 +44,12 @@ TARGET_CC_ARCH += "${LDFLAGS}"
>
> export prefix = "/opt/${PN}"
> export exec_prefix = "/opt/${PN}"
> +export libdir = "/usr/lib"
> +export incdir = "/usr/include"
>
> PACKAGECONFIG[numa] = "--with-numa, --without-numa, numactl,"
> EXTRA_AUTORECONF += "-I ${S}/testcases/realtime/m4"
> EXTRA_OECONF = " --with-realtime-testsuite --with-open-posix-testsuite "
> -# ltp network/rpc test cases ftbfs when libtirpc is found
> -EXTRA_OECONF += " --without-tirpc "
>
> do_install(){
> install -d ${D}${prefix}/
> --
> 2.17.1
>
>
>
>
^ permalink raw reply [flat|nested] 4+ messages in thread
* Re: [oe] [PATCH] ltp: fix rpc build error
2020-12-16 17:51 ` [oe] " Khem Raj
@ 2020-12-17 9:54 ` Kory Maincent
0 siblings, 0 replies; 4+ messages in thread
From: Kory Maincent @ 2020-12-17 9:54 UTC (permalink / raw)
To: Khem Raj; +Cc: openembeded-devel, Thomas Petazzoni
Hello Khem,
On Wed, 16 Dec 2020 09:51:40 -0800
Khem Raj <raj.khem@gmail.com> wrote:
> please send it to oe-core mailing list since its oe-core recipe.*
Oops sorry for my mistake.
Köry,
^ permalink raw reply [flat|nested] 4+ messages in thread
* [PATCH] ltp: fix rpc build error
@ 2020-12-17 9:55 Kory Maincent
0 siblings, 0 replies; 4+ messages in thread
From: Kory Maincent @ 2020-12-17 9:55 UTC (permalink / raw)
To: openembedded-core; +Cc: thomas.petazzoni
Add support to tirpc tests build.
Export incdir and libdir to have the right path.
Signed-off-by: Kory Maincent <kory.maincent@bootlin.com>
---
meta/recipes-extended/ltp/ltp_20200930.bb | 6 +++---
1 file changed, 3 insertions(+), 3 deletions(-)
diff --git a/meta/recipes-extended/ltp/ltp_20200930.bb b/meta/recipes-extended/ltp/ltp_20200930.bb
index 7acf15b360..9b17d68f67 100644
--- a/meta/recipes-extended/ltp/ltp_20200930.bb
+++ b/meta/recipes-extended/ltp/ltp_20200930.bb
@@ -14,7 +14,7 @@ LIC_FILES_CHKSUM = "\
file://utils/benchmark/kernbench-0.42/COPYING;md5=94d55d512a9ba36caa9b7df079bae19f \
"
-DEPENDS = "attr libaio libcap acl openssl zip-native"
+DEPENDS = "attr libaio libcap acl openssl zip-native libtirpc"
DEPENDS_append_libc-musl = " fts "
EXTRA_OEMAKE_append_libc-musl = " LIBC=musl "
EXTRA_OECONF_append_libc-musl = " LIBS=-lfts "
@@ -44,12 +44,12 @@ TARGET_CC_ARCH += "${LDFLAGS}"
export prefix = "/opt/${PN}"
export exec_prefix = "/opt/${PN}"
+export libdir = "/usr/lib"
+export incdir = "/usr/include"
PACKAGECONFIG[numa] = "--with-numa, --without-numa, numactl,"
EXTRA_AUTORECONF += "-I ${S}/testcases/realtime/m4"
EXTRA_OECONF = " --with-realtime-testsuite --with-open-posix-testsuite "
-# ltp network/rpc test cases ftbfs when libtirpc is found
-EXTRA_OECONF += " --without-tirpc "
do_install(){
install -d ${D}${prefix}/
--
2.17.1
^ permalink raw reply related [flat|nested] 4+ messages in thread
end of thread, other threads:[~2020-12-17 9:55 UTC | newest]
Thread overview: 4+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2020-12-15 14:48 [PATCH] ltp: fix rpc build error Kory Maincent
2020-12-16 17:51 ` [oe] " Khem Raj
2020-12-17 9:54 ` Kory Maincent
2020-12-17 9:55 Kory Maincent
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.