From patchwork Sun Aug 19 17:23:35 2018 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Khem Raj X-Patchwork-Id: 144534 Delivered-To: patch@linaro.org Received: by 2002:a2e:9754:0:0:0:0:0 with SMTP id f20-v6csp3089579ljj; Sun, 19 Aug 2018 10:24:10 -0700 (PDT) X-Google-Smtp-Source: AA+uWPxj+yH3N3N2jZZynUA42hESOD7xxeyzjGUEGnU/MLgNjY+F7MmCrAqI/mOD3Hyxr6PAs6aF X-Received: by 2002:a63:f54c:: with SMTP id e12-v6mr39812319pgk.286.1534699450460; Sun, 19 Aug 2018 10:24:10 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1534699450; cv=none; d=google.com; s=arc-20160816; b=V+RB4Q8y/VQ2v+9IMSpJamPowEsXFJEDlvqh/CEVbGS5hYCkN25RUqlFe7J7agDhvg hSM+1BhV+j4M2SjUhQK1L+qWctZTa8R+ManEgZb+T+it7NkwLOitFrMB2ulVCjLtYgVH YoBbYWQtHOCQNzMCgGu/9truhfgUIrbjKByNb1Z2ZfYWH+CFP43+bEUZzHjIM12bFjEY 7oRf5yv1VkoGzqZUKxiejq99Trc57hQSPHTn21ODyZHLHeRz5SLK9kFYxtje++geQZLB i103a5+BZSY0BhSymSM4hOLv2evLOGlibrKVv6jCDRYoNFaedaLV+9CjFTrgDTAR2mOz b6nA== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=errors-to:sender:content-transfer-encoding:mime-version :list-subscribe:list-help:list-post:list-archive:list-unsubscribe :list-id:precedence:subject:references:in-reply-to:message-id:date :to:from:dkim-signature:delivered-to:arc-authentication-results; bh=kN0sN0sPUgTn05dYdfVzMvv7r7n9T8YFswiFtvcSL8c=; b=0TutmB+D0NVFLtdO0HF1u9e7GRxjy0VlC/y2BBHLiMqJfE9Z8+sGsWr9s+YV0lej55 t9jJp9fGV35PrZqBgEx3oLf8jxylTp18NBpK55nLmZXt5j7BJf/+a5qc5fSsEynWQcCt 9T9oMJt1FnjhUiq6UIHRdlkv0acI2hDkL3MD4zpwCdGbOLMS7OXdW0KFlHUFehHdQYAl V0OE7q5jAPlp3DcbaXOPvoFmgqsZOK+dgimWQcRM/9p4Pkkg9lcP4KKZ1r1vf5kMGrHG chaxxqgzNiu6+wxui+k7NxR4GYDJYbQBq0r8Rp6xeTtff4kyU7WNbS708ShmmX9bGcVh lLvA== ARC-Authentication-Results: i=1; mx.google.com; dkim=neutral (body hash did not verify) header.i=@gmail.com header.s=20161025 header.b=Ka+KVNpI; spf=pass (google.com: best guess record for domain of openembedded-core-bounces@lists.openembedded.org designates 140.211.169.62 as permitted sender) smtp.mailfrom=openembedded-core-bounces@lists.openembedded.org; dmarc=fail (p=NONE sp=QUARANTINE dis=NONE) header.from=gmail.com Return-Path: Received: from mail.openembedded.org (mail.openembedded.org. [140.211.169.62]) by mx.google.com with ESMTP id x5-v6si7445858plo.57.2018.08.19.10.24.10; Sun, 19 Aug 2018 10:24:10 -0700 (PDT) Received-SPF: pass (google.com: best guess record for domain of openembedded-core-bounces@lists.openembedded.org designates 140.211.169.62 as permitted sender) client-ip=140.211.169.62; Authentication-Results: mx.google.com; dkim=neutral (body hash did not verify) header.i=@gmail.com header.s=20161025 header.b=Ka+KVNpI; spf=pass (google.com: best guess record for domain of openembedded-core-bounces@lists.openembedded.org designates 140.211.169.62 as permitted sender) smtp.mailfrom=openembedded-core-bounces@lists.openembedded.org; dmarc=fail (p=NONE sp=QUARANTINE dis=NONE) header.from=gmail.com Received: from layers.openembedded.org (localhost [127.0.0.1]) by mail.openembedded.org (Postfix) with ESMTP id 289BE7924C; Sun, 19 Aug 2018 17:23:59 +0000 (UTC) X-Original-To: openembedded-core@lists.openembedded.org Delivered-To: openembedded-core@lists.openembedded.org Received: from mail-pg1-f176.google.com (mail-pg1-f176.google.com [209.85.215.176]) by mail.openembedded.org (Postfix) with ESMTP id 44A3579229 for ; Sun, 19 Aug 2018 17:23:51 +0000 (UTC) Received: by mail-pg1-f176.google.com with SMTP id f1-v6so5643598pgq.12 for ; Sun, 19 Aug 2018 10:23:52 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=from:to:cc:subject:date:message-id:in-reply-to:references; bh=qZM+k1KU8s7xfQtdaD63yjEtMmugyH6RnXDLGMxs+5U=; b=Ka+KVNpITpo4cw6Lb3dbD+0eLxM30Cv5WJeYAg777uJmeeSZeHNTvBm5019Crl3GRz 7pXzuY0wDLmyqqlQxcpF2iFpeZMM53BPeK+VgmbLgdr5Y9Te9hIIl+1Rg4rnh3BUZtEc knYHTQ0BnorVFuBxytJFMcEjUbIwfXjx879NkXKprQxiygCtIygOl1+VHXLKzqKnwTVf Ih25qlDHFp7iK+SBp4XdbN9BqISIB8aV1J72H1gt8jB8Gp8ilaK/EDQR1f0Epc1YeQ2+ EmissN7W0V0SE3CGtQfFjgqS6JhqrgU0ZV2SpRtA6A7mU6l+dj0Sau3GviJcma1wwG16 eyBQ== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:from:to:cc:subject:date:message-id:in-reply-to :references; bh=qZM+k1KU8s7xfQtdaD63yjEtMmugyH6RnXDLGMxs+5U=; b=lALoox8yj+l2SGZ7WuzOFzkIfM+gV+Qsx8Hb6r4XOpyACrKuXoU8htMSe/bhyAlChp MruV8A4NhFZu0+fDAs1SsEh6Gys7jIzpbth/XUgRP87XxG7NjCUICNy8UuZdJ02+3/oa WQsGaVOmyZ7KaZqfJN/gyv52/sHX6ofs5ouX3jwlStIA7QCP32gixWfnBDpMcsD6IVmz 6InML1bgeeRZvGupM4FXym758mqVGIEPPgWcn22WI3es21oIuQ1fWZdqe6qbnm+xKaKX Dxd5pcA2r7TCTOpz4QVfoUNuJ1rpAnKVqP2gpQz6JTs2MotMT7vU45whNQdMXX5IKnOz sW8w== X-Gm-Message-State: AOUpUlGBv/oA0DYIpwOhuSfz8JO6kCL0MQZIKpBRkptZifOi6KKvhvbv s9P4BBFgkEFf1RYiJy/CKpZRHhJZ X-Received: by 2002:a63:fa18:: with SMTP id y24-v6mr40290645pgh.362.1534699432034; Sun, 19 Aug 2018 10:23:52 -0700 (PDT) Received: from localhost.localdomain ([2601:646:877f:9499::4add]) by smtp.gmail.com with ESMTPSA id x1-v6sm8293466pgr.59.2018.08.19.10.23.50 (version=TLS1_2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Sun, 19 Aug 2018 10:23:51 -0700 (PDT) From: Khem Raj To: openembedded-core@lists.openembedded.org Date: Sun, 19 Aug 2018 10:23:35 -0700 Message-Id: <5917b02b97e854be114bc0641d5c5a7dc07eef94.1534699224.git.raj.khem@gmail.com> X-Mailer: git-send-email 2.18.0 In-Reply-To: References: Subject: [OE-core] [PATCH 3/9] llvm: Point llvm-config to one built with llvm-native X-BeenThere: openembedded-core@lists.openembedded.org X-Mailman-Version: 2.1.12 Precedence: list List-Id: Patches and discussions about the oe-core layer List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , MIME-Version: 1.0 Sender: openembedded-core-bounces@lists.openembedded.org Errors-To: openembedded-core-bounces@lists.openembedded.org If not defined, llvm build system tries to build one which then confuses the OE QA system since its building native tool and target packages in same package build moreover it is not required since we already have it via llvm-native Fixes ERROR: llvm-6.0-r0 do_package_qa: QA Issue: llvm: The compile log indicates that host include and/or library paths were used. Signed-off-by: Khem Raj --- meta/recipes-devtools/llvm/llvm_git.bb | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) -- 2.18.0 -- _______________________________________________ Openembedded-core mailing list Openembedded-core@lists.openembedded.org http://lists.openembedded.org/mailman/listinfo/openembedded-core diff --git a/meta/recipes-devtools/llvm/llvm_git.bb b/meta/recipes-devtools/llvm/llvm_git.bb index bb83012231..d853d4151d 100644 --- a/meta/recipes-devtools/llvm/llvm_git.bb +++ b/meta/recipes-devtools/llvm/llvm_git.bb @@ -64,17 +64,19 @@ EXTRA_OECMAKE += "-DLLVM_ENABLE_ASSERTIONS=OFF \ -DLLVM_ENABLE_FFI=ON \ -DFFI_INCLUDE_DIR=$(pkg-config --variable=includedir libffi) \ -DLLVM_OPTIMIZED_TABLEGEN=ON \ - -DLLVM_TARGETS_TO_BUILD="${LLVM_TARGETS}" \ + -DLLVM_TARGETS_TO_BUILD='${LLVM_TARGETS}' \ -G Ninja" EXTRA_OECMAKE_append_class-target = "\ -DCMAKE_CROSSCOMPILING:BOOL=ON \ -DLLVM_TABLEGEN=${STAGING_BINDIR_NATIVE}/llvm-tblgen${PV} \ + -DLLVM_CONFIG_PATH=${STAGING_BINDIR_NATIVE}/llvm-config${PV} \ " EXTRA_OECMAKE_append_class-nativesdk = "\ -DCMAKE_CROSSCOMPILING:BOOL=ON \ -DLLVM_TABLEGEN=${STAGING_BINDIR_NATIVE}/llvm-tblgen${PV} \ + -DLLVM_CONFIG_PATH=${STAGING_BINDIR_NATIVE}/llvm-config${PV} \ " do_configure_prepend() {