From patchwork Tue Mar 20 04:12:53 2018 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Khem Raj X-Patchwork-Id: 132123 Delivered-To: patch@linaro.org Received: by 10.46.84.29 with SMTP id i29csp377044ljb; Mon, 19 Mar 2018 21:13:07 -0700 (PDT) X-Google-Smtp-Source: AG47ELvqb4sduKcSnUjshsl/t9/1FeToGII7pn7sQ4cQFpdaRWqm8S5MVmnsuXuhE4sB4YcfpFAq X-Received: by 2002:a17:902:66e6:: with SMTP id e93-v6mr15131237plk.312.1521519186931; Mon, 19 Mar 2018 21:13:06 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1521519186; cv=none; d=google.com; s=arc-20160816; b=nA6txNqDlC3K8SCWa+RpqjlNw3e1FD1hFBYZVC5TUDDdT3MNqQrl1QY8qrfslldazt 9eg02tKKuw2FYYH8PkvJqjtcJ4XbeSTCjfg5ddThsMiYTomaw+fpng+Rm4AvvWdxg0li qlOlwi4sxddg3/+oeSGRnYYJNt2/5bdw2bZ7mUKDekU5p6cmkXV0cR65TKeJAyhONsou Iq/QFsxmefFmrwi3ZN6r7THjG1tWMJwj6LOFBxRn29USxIcD8LggZdiSQ/tZKl0g+Sb5 iCzdm91OBB3AzzAu8LrIuVnO8JnXBRe0WXfkvBSXFmYc/4pjIsdd7cY6+ZVwP/uT3c2N Sw1w== 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:message-id:date:to:from:dkim-signature :delivered-to:arc-authentication-results; bh=t5oRTYB0Gg9KdPzEUpgXyuElR/INEObxrnvNHGuXIZg=; b=uJQ4uoSJRY0/UCGu+QNkGqo5gAf/2MQMDI7Kte9EbSxtlfHUUvjB7wC/w/t4uAHet5 zspX+xIbX7s8RaqS8vu523UspCLGhKwwB+FoFUJiejSZtpRlbqck3zSVLfICbC8rGajS DybzKmV+A1BWhppTSQMxRUZA8FBEosUIuyvQ8RDICE950djS99WfmR4LOh/Wtg58gATY aYmWAmCut6M9rmkkKcZ2ikOrJYrWpRlvjsUDaqSU+AofHLVknXgnePwS8vG9bjSHxeO9 QQoav2kAzNgrnv+VVgmtaWvlT301uVcm1rpdaaBjVOf6qOw7aBTxrjn1RvG6IwDhlYqe J6eg== ARC-Authentication-Results: i=1; mx.google.com; dkim=neutral (body hash did not verify) header.i=@gmail.com header.s=20161025 header.b=J/J5lz0J; 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 x18si643225pfk.379.2018.03.19.21.13.06; Mon, 19 Mar 2018 21:13:06 -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=J/J5lz0J; 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 E080E719C8; Tue, 20 Mar 2018 04:13:00 +0000 (UTC) X-Original-To: openembedded-core@lists.openembedded.org Delivered-To: openembedded-core@lists.openembedded.org Received: from mail-pg0-f68.google.com (mail-pg0-f68.google.com [74.125.83.68]) by mail.openembedded.org (Postfix) with ESMTP id E61146FF73 for ; Tue, 20 Mar 2018 04:12:59 +0000 (UTC) Received: by mail-pg0-f68.google.com with SMTP id i9so162636pgq.10 for ; Mon, 19 Mar 2018 21:13:01 -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; bh=43Qor2lD9UOgsmT0+S10cSrRCLXz8q1fBaJP0pOe8F0=; b=J/J5lz0J/4DU66VB0Dd3oXRwYeNOjMMGmsVnPWjNYD7GzIkp4DxKPhcdrPrJcSJpey 4DTvDtyf+/sFUFR/DAZ1n1VCMyv2eImJqOCnZ+Zx6AoaMe2Ey3toDk/F3ltBazMywpJg 8BHcuK2lwnAVy59t5SqzZoVS4wjqgnJA9X/n00rFMauDCnKECQBbuuGYR1hi6Bms4e6e cyvMM2/aNYsylmc+QQAH0JXJMPzJ8GYFldF9ysaIUjOVFAWBe6+OajtefHq3NfsULInn 8M+r28l4oma4EX4Y7cyJLt5OiDbJd30fjlVwKCR3OAqvTiEtqDCgEYvuc82N4LdRO0cy DrMQ== 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; bh=43Qor2lD9UOgsmT0+S10cSrRCLXz8q1fBaJP0pOe8F0=; b=WaVwlgG89ojkjXet8Xrr0gx8H0GfTMPIiXFa93pb54UgNCZf8eZ3nArX3Tr/zVShXu i/0IhiyIDFI3vkngGFdOYacz45eyTxgkFZsqmgvJPHUOCUcf98RHTXIP9D9pnIUb5vAy bQBhWZU6yn/S3xJeogzbdh7YCQR/E0kb1L+uzXNCJrtCpQOLQsuJdP4c+4+qMueMrgY5 +3zm93U4vvNKYc0wAOE6isHjOFf5//oHrGlcONpzTJIKRScxpSdOEK2YGurguIAwXDo9 puOyLRFwVf5SvfN2NxUiz2ioMLZIUCV26ORjVBn09+UcOzFGQ58TmkCvrycBUSg7P8Vp mQ6Q== X-Gm-Message-State: AElRT7F3Vtm0XO0U0eR6oCxI9BbExxYn0KRAu9HBQoY7Lb223Y0JXlVV s6WIbDJrbrJtNwv+RdyoQkhhuw== X-Received: by 10.99.94.197 with SMTP id s188mr10795893pgb.363.1521519180906; Mon, 19 Mar 2018 21:13:00 -0700 (PDT) Received: from localhost.localdomain ([2601:646:8880:466c:6245:cbff:fe64:591]) by smtp.gmail.com with ESMTPSA id i125sm963231pfe.176.2018.03.19.21.12.59 (version=TLS1_2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Mon, 19 Mar 2018 21:13:00 -0700 (PDT) From: Khem Raj To: openembedded-core@lists.openembedded.org Date: Mon, 19 Mar 2018 21:12:53 -0700 Message-Id: <20180320041253.24537-1-raj.khem@gmail.com> X-Mailer: git-send-email 2.16.2 Subject: [OE-core] [PATCH V2] site/risc-v: Cache common variables to build libIDL 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 These variables force runtime tests during configure they are already cached for other architectures Signed-off-by: Khem Raj --- Changes from v1 -> v2: - Drop libIDL specific setting since they need to be in meta-gnome meta/site/riscv32-linux | 10 ++++++++++ meta/site/riscv64-linux | 5 +++++ 2 files changed, 15 insertions(+) -- 2.16.2 -- _______________________________________________ Openembedded-core mailing list Openembedded-core@lists.openembedded.org http://lists.openembedded.org/mailman/listinfo/openembedded-core Signed-off-by: Khem Raj <raj.khem@gmail.com>
diff --git a/meta/site/riscv32-linux b/meta/site/riscv32-linux index 138aeb0a11..fc5b99d147 100644 --- a/meta/site/riscv32-linux +++ b/meta/site/riscv32-linux @@ -1,6 +1,16 @@ +# general +ac_cv_alignof_guint32=4 +ac_cv_alignof_guint64=8 +ac_cv_alignof_unsigned_long=4 + # glib-2.0 glib_cv_stack_grows=${glib_cv_stack_grows=no} glib_cv_uscore=${glib_cv_uscore=no} +glib_cv_sizeof_gmutex=${glib_cv_sizeof_gmutex=24} +glib_cv_sizeof_intmax_t=${glib_cv_sizeof_intmax_t=8} +glib_cv_sizeof_ptrdiff_t=${glib_cv_sizeof_ptrdiff_t=4} +glib_cv_sizeof_size_t=${glib_cv_sizeof_size_t=4} +glib_cv_sizeof_system_thread=${glib_cv_sizeof_system_thread=4} # startup-notification lf_cv_sane_realloc=${lf_cv_sane_realloc=yes} diff --git a/meta/site/riscv64-linux b/meta/site/riscv64-linux index 138aeb0a11..38bc5f044d 100644 --- a/meta/site/riscv64-linux +++ b/meta/site/riscv64-linux @@ -1,3 +1,8 @@ +# general +ac_cv_alignof_guint32=4 +ac_cv_alignof_guint64=8 +ac_cv_alignof_unsigned_long=8 + # glib-2.0 glib_cv_stack_grows=${glib_cv_stack_grows=no} glib_cv_uscore=${glib_cv_uscore=no}