* [PATCH] libical: Fix parallel build failure
@ 2015-12-11 15:19 Maxin B. John
2015-12-11 22:11 ` Burton, Ross
0 siblings, 1 reply; 2+ messages in thread
From: Maxin B. John @ 2015-12-11 15:19 UTC (permalink / raw)
To: openembedded-core
Parallel builds occasionally fail because generated headers are only
partially built when they're being used.
Signed-off-by: Jussi Kukkonen <jussi.kukkonen@intel.com>
Signed-off-by: Maxin B. John <maxin.john@intel.com>
---
| 46 ++++++++++++++++++++++
meta/recipes-support/libical/libical_1.0.1.bb | 1 +
2 files changed, 47 insertions(+)
create mode 100644 meta/recipes-support/libical/libical/Depend-on-headers-to-fix-parallel-build.patch
--git a/meta/recipes-support/libical/libical/Depend-on-headers-to-fix-parallel-build.patch b/meta/recipes-support/libical/libical/Depend-on-headers-to-fix-parallel-build.patch
new file mode 100644
index 0000000..4d65c81
--- /dev/null
+++ b/meta/recipes-support/libical/libical/Depend-on-headers-to-fix-parallel-build.patch
@@ -0,0 +1,46 @@
+From 56a10a14c0a544df99c97ce279801ddf40b0df52 Mon Sep 17 00:00:00 2001
+From: Jussi Kukkonen <jussi.kukkonen@intel.com>
+Date: Mon, 14 Sep 2015 13:35:42 +0300
+Subject: [PATCH] WIP: Depend on headers to fix parallel build
+
+Parallel builds occasionally fail because generated headers are only
+half built when they're being used.
+
+This fix is extracted
+from https://github.com/libical/libical/commit/dcc40c7ae2d337a0d83c077bf9d8f283499c6717
+
+Upstream-Status: Backport
+Signed-off-by: Jussi Kukkonen <jussi.kukkonen@intel.com>
+
+---
+ examples/CMakeLists.txt | 1 +
+ src/libical/CMakeLists.txt | 1 +
+ 2 files changed, 2 insertions(+)
+
+diff --git a/examples/CMakeLists.txt b/examples/CMakeLists.txt
+index 3379ffd..514956b 100644
+--- a/examples/CMakeLists.txt
++++ b/examples/CMakeLists.txt
+@@ -16,6 +16,7 @@ set(doesnothing_SRCS
+ )
+
+ add_executable(doesnothing ${doesnothing_SRCS})
++add_dependencies(doesnothing ical icalss icalvcal)
+
+ target_link_libraries(doesnothing ical icalss icalvcal ical icalss icalvcal)
+
+diff --git a/src/libical/CMakeLists.txt b/src/libical/CMakeLists.txt
+index 6774352..468a7d9 100644
+--- a/src/libical/CMakeLists.txt
++++ b/src/libical/CMakeLists.txt
+@@ -261,6 +261,7 @@ add_library(ical ${LIBRARY_TYPE} ${ical_LIB_SRCS})
+ add_library(ical-static STATIC ${ical_LIB_SRCS})
+
+ add_dependencies(ical ical-header)
++add_dependencies(ical-static ical-header)
+
+ target_link_libraries(ical ${CMAKE_THREAD_LIBS_INIT})
+
+--
+2.1.4
+
diff --git a/meta/recipes-support/libical/libical_1.0.1.bb b/meta/recipes-support/libical/libical_1.0.1.bb
index 0dcee46..e18b803 100644
--- a/meta/recipes-support/libical/libical_1.0.1.bb
+++ b/meta/recipes-support/libical/libical_1.0.1.bb
@@ -9,6 +9,7 @@ SECTION = "libs"
SRC_URI = "https://github.com/${BPN}/${BPN}/archive/v${PV}.tar.gz \
file://Remove-cmake-check-for-Perl.patch \
file://Fix-x32-ABI-build.patch \
+ file://Depend-on-headers-to-fix-parallel-build.patch \
"
SRC_URI[md5sum] = "af91db06b22559f863869c5a382ad08a"
SRC_URI[sha256sum] = "7d5f613454ec6c7d1bcfb441c919215be53292aa15cd1cb14249d1413d6c610c"
--
2.4.0
^ permalink raw reply related [flat|nested] 2+ messages in thread
* Re: [PATCH] libical: Fix parallel build failure
2015-12-11 15:19 [PATCH] libical: Fix parallel build failure Maxin B. John
@ 2015-12-11 22:11 ` Burton, Ross
0 siblings, 0 replies; 2+ messages in thread
From: Burton, Ross @ 2015-12-11 22:11 UTC (permalink / raw)
To: Maxin B. John; +Cc: OE-core
[-- Attachment #1: Type: text/plain, Size: 3824 bytes --]
This doesn't want to apply to the patches I've got locally for libical.
Can you squash this with the other patches and just have a single libical
upgrade commit that incorporates the upgrade and the fixes (for clarity,
conciseness, and bisectability).
Cheers,
Ross
On 11 December 2015 at 15:19, Maxin B. John <maxin.john@intel.com> wrote:
> Parallel builds occasionally fail because generated headers are only
> partially built when they're being used.
>
> Signed-off-by: Jussi Kukkonen <jussi.kukkonen@intel.com>
> Signed-off-by: Maxin B. John <maxin.john@intel.com>
> ---
> .../Depend-on-headers-to-fix-parallel-build.patch | 46
> ++++++++++++++++++++++
> meta/recipes-support/libical/libical_1.0.1.bb | 1 +
> 2 files changed, 47 insertions(+)
> create mode 100644
> meta/recipes-support/libical/libical/Depend-on-headers-to-fix-parallel-build.patch
>
> diff --git
> a/meta/recipes-support/libical/libical/Depend-on-headers-to-fix-parallel-build.patch
> b/meta/recipes-support/libical/libical/Depend-on-headers-to-fix-parallel-build.patch
> new file mode 100644
> index 0000000..4d65c81
> --- /dev/null
> +++
> b/meta/recipes-support/libical/libical/Depend-on-headers-to-fix-parallel-build.patch
> @@ -0,0 +1,46 @@
> +From 56a10a14c0a544df99c97ce279801ddf40b0df52 Mon Sep 17 00:00:00 2001
> +From: Jussi Kukkonen <jussi.kukkonen@intel.com>
> +Date: Mon, 14 Sep 2015 13:35:42 +0300
> +Subject: [PATCH] WIP: Depend on headers to fix parallel build
> +
> +Parallel builds occasionally fail because generated headers are only
> +half built when they're being used.
> +
> +This fix is extracted
> +from
> https://github.com/libical/libical/commit/dcc40c7ae2d337a0d83c077bf9d8f283499c6717
> +
> +Upstream-Status: Backport
> +Signed-off-by: Jussi Kukkonen <jussi.kukkonen@intel.com>
> +
> +---
> + examples/CMakeLists.txt | 1 +
> + src/libical/CMakeLists.txt | 1 +
> + 2 files changed, 2 insertions(+)
> +
> +diff --git a/examples/CMakeLists.txt b/examples/CMakeLists.txt
> +index 3379ffd..514956b 100644
> +--- a/examples/CMakeLists.txt
> ++++ b/examples/CMakeLists.txt
> +@@ -16,6 +16,7 @@ set(doesnothing_SRCS
> + )
> +
> + add_executable(doesnothing ${doesnothing_SRCS})
> ++add_dependencies(doesnothing ical icalss icalvcal)
> +
> + target_link_libraries(doesnothing ical icalss icalvcal ical icalss
> icalvcal)
> +
> +diff --git a/src/libical/CMakeLists.txt b/src/libical/CMakeLists.txt
> +index 6774352..468a7d9 100644
> +--- a/src/libical/CMakeLists.txt
> ++++ b/src/libical/CMakeLists.txt
> +@@ -261,6 +261,7 @@ add_library(ical ${LIBRARY_TYPE} ${ical_LIB_SRCS})
> + add_library(ical-static STATIC ${ical_LIB_SRCS})
> +
> + add_dependencies(ical ical-header)
> ++add_dependencies(ical-static ical-header)
> +
> + target_link_libraries(ical ${CMAKE_THREAD_LIBS_INIT})
> +
> +--
> +2.1.4
> +
> diff --git a/meta/recipes-support/libical/libical_1.0.1.bb
> b/meta/recipes-support/libical/libical_1.0.1.bb
> index 0dcee46..e18b803 100644
> --- a/meta/recipes-support/libical/libical_1.0.1.bb
> +++ b/meta/recipes-support/libical/libical_1.0.1.bb
> @@ -9,6 +9,7 @@ SECTION = "libs"
> SRC_URI = "https://github.com/${BPN}/${BPN}/archive/v${PV}.tar.gz \
> file://Remove-cmake-check-for-Perl.patch \
> file://Fix-x32-ABI-build.patch \
> + file://Depend-on-headers-to-fix-parallel-build.patch \
> "
> SRC_URI[md5sum] = "af91db06b22559f863869c5a382ad08a"
> SRC_URI[sha256sum] =
> "7d5f613454ec6c7d1bcfb441c919215be53292aa15cd1cb14249d1413d6c610c"
> --
> 2.4.0
>
> --
> _______________________________________________
> Openembedded-core mailing list
> Openembedded-core@lists.openembedded.org
> http://lists.openembedded.org/mailman/listinfo/openembedded-core
>
[-- Attachment #2: Type: text/html, Size: 5400 bytes --]
^ permalink raw reply [flat|nested] 2+ messages in thread
end of thread, other threads:[~2015-12-11 22:11 UTC | newest]
Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2015-12-11 15:19 [PATCH] libical: Fix parallel build failure Maxin B. John
2015-12-11 22:11 ` Burton, Ross
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.