From 5eda56eed5a507e2512b80f64a8d60cfcf053daa Mon Sep 17 00:00:00 2001
From: Jan-Simon Moeller <jsmoeller@linuxfoundation.org>
Date: Wed, 22 Apr 2020 12:09:57 +0200
Subject: [PATCH] Fix a parallel make bug of opencv in CI env

I cannot reproduce it outside of the CI env, thus limited to CI for now.

https://build.automotivelinux.org/job/ci-platform-meta-agl-verify-CIB-aglcompositor-qemux86-64/65/consoleFull

Signed-off-by: Jan-Simon Moeller <jsmoeller@linuxfoundation.org>
Change-Id: I7168136045766006d62c691d10f7148bc299d0d0
---
 templates/feature/agl-ci/99_local.conf.inc | 3 +++
 1 file changed, 3 insertions(+)

diff --git a/templates/feature/agl-ci/99_local.conf.inc b/templates/feature/agl-ci/99_local.conf.inc
index 5386671ba..8f6f697cd 100644
--- a/templates/feature/agl-ci/99_local.conf.inc
+++ b/templates/feature/agl-ci/99_local.conf.inc
@@ -1 +1,4 @@
 DISTRO_FEATURES_append = " AGLCI"
+# opencv seems to have a parallel make bug
+# ...contrib/modules/xfeatures2d/test/test_features2d.cpp:51:10: fatal error: features2d/test/test_detectors_regression.impl.hpp: No such file or directory
+PARALLEL_MAKE_pn-opencv = "-j 1"
-- 
2.16.6