From patchwork Wed Apr 1 16:50:37 2015 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Mike Holmes X-Patchwork-Id: 47086 Return-Path: X-Original-To: linaro@patches.linaro.org Delivered-To: linaro@patches.linaro.org Received: from mail-lb0-f198.google.com (mail-lb0-f198.google.com [209.85.217.198]) by ip-10-151-82-157.ec2.internal (Postfix) with ESMTPS id 1354C21416 for ; Sat, 11 Apr 2015 10:03:24 +0000 (UTC) Received: by lbdc7 with SMTP id c7sf6941549lbd.2 for ; Sat, 11 Apr 2015 03:03:22 -0700 (PDT) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20130820; h=x-gm-message-state:delivered-to:delivered-to:from:to:date :message-id:in-reply-to:references:subject:precedence:list-id :list-unsubscribe:list-archive:list-post:list-help:list-subscribe :mime-version:content-type:content-transfer-encoding:errors-to :sender:x-original-sender:x-original-authentication-results :mailing-list; bh=VOdBc0YLc2xweY+rN1dKbzWEVFrqLZk/eU3NL0SjGFo=; b=hRv99rRtO8NzecYX1JP2npYALaF25uYEWXQ6O2//W2jSPRtUKxZGCwlv1JUSx9q4nC 6hcTUhlVe6xC2saPb9PBFxI77wiFg5YUxv9RIXXaWwNjGN/auMxJhQn/mrM6VYUMsB62 s/vUhU4PEiEveG0OT6Es1Y9iGh9IMFGBJHLnI59xXJoXJ/ShDyEPpu8YmNAp7kOJWaDa wd6D+GTrMpHYOFspWHWG32XXWULoPKBn+dkLid88mS9n62OHkxvE6cqqiZbgENFTuMwG 0HE/RMcZ7fetlN3NfjiOW7AAfVg4z9tYNHYlbxuFCQEusUqB3Tkx/ZSYFEuidG8r1k7s 2Apw== X-Gm-Message-State: ALoCoQnjTMQNnkA9Me3RKuHGsV3+oVd7C4k8aRFr6b5xFScl7Ysz8X3fsl2dj4gAPxsIAosI0bhw X-Received: by 10.112.167.131 with SMTP id zo3mr1003758lbb.7.1428746602780; Sat, 11 Apr 2015 03:03:22 -0700 (PDT) X-BeenThere: patchwork-forward@linaro.org Received: by 10.152.229.129 with SMTP id sq1ls548989lac.4.gmail; Sat, 11 Apr 2015 03:03:22 -0700 (PDT) X-Received: by 10.112.36.194 with SMTP id s2mr5002083lbj.94.1428746602638; Sat, 11 Apr 2015 03:03:22 -0700 (PDT) Received: from mail-lb0-f176.google.com (mail-lb0-f176.google.com. [209.85.217.176]) by mx.google.com with ESMTPS id l10si3486943lbk.155.2015.04.11.03.03.22 for (version=TLSv1.2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Sat, 11 Apr 2015 03:03:22 -0700 (PDT) Received-SPF: pass (google.com: domain of patch+caf_=patchwork-forward=linaro.org@linaro.org designates 209.85.217.176 as permitted sender) client-ip=209.85.217.176; Received: by lbbzk7 with SMTP id zk7so29286621lbb.0 for ; Sat, 11 Apr 2015 03:03:22 -0700 (PDT) X-Received: by 10.112.119.234 with SMTP id kx10mr5112783lbb.35.1428746602540; Sat, 11 Apr 2015 03:03:22 -0700 (PDT) X-Forwarded-To: patchwork-forward@linaro.org X-Forwarded-For: patch@linaro.org patchwork-forward@linaro.org Delivered-To: patch@linaro.org Received: by 10.112.67.65 with SMTP id l1csp233846lbt; Sat, 11 Apr 2015 03:03:22 -0700 (PDT) X-Received: by 10.55.53.143 with SMTP id c137mr10919920qka.15.1428746600245; Sat, 11 Apr 2015 03:03:20 -0700 (PDT) Received: from lists.linaro.org (lists.linaro.org. [54.225.227.206]) by mx.google.com with ESMTP id 79si3183368qgo.20.2015.04.11.03.03.19; Sat, 11 Apr 2015 03:03:20 -0700 (PDT) Received-SPF: pass (google.com: domain of lng-odp-bounces@lists.linaro.org designates 54.225.227.206 as permitted sender) client-ip=54.225.227.206; Received: by lists.linaro.org (Postfix, from userid 109) id 0E41A61C76; Sat, 11 Apr 2015 10:03:19 +0000 (UTC) X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on ip-10-142-244-252.ec2.internal X-Spam-Level: X-Spam-Status: No, score=-0.7 required=5.0 tests=RCVD_IN_DNSWL_LOW, RCVD_IN_MSPIKE_H3, RCVD_IN_MSPIKE_WL, URIBL_BLOCKED autolearn=unavailable autolearn_force=no version=3.4.0 Received: from ip-10-142-244-252.ec2.internal (localhost [127.0.0.1]) by lists.linaro.org (Postfix) with ESMTP id 4056D6515E; Sat, 11 Apr 2015 09:52:23 +0000 (UTC) X-Original-To: lng-odp@lists.linaro.org Delivered-To: lng-odp@lists.linaro.org Received: by lists.linaro.org (Postfix, from userid 109) id 2030B64FDA; Wed, 1 Apr 2015 16:50:50 +0000 (UTC) Received: from mail-qc0-f173.google.com (mail-qc0-f173.google.com [209.85.216.173]) by lists.linaro.org (Postfix) with ESMTPS id BC75364FD3 for ; Wed, 1 Apr 2015 16:50:47 +0000 (UTC) Received: by qcay5 with SMTP id y5so46071812qca.1 for ; Wed, 01 Apr 2015 09:50:47 -0700 (PDT) X-Received: by 10.55.55.142 with SMTP id e136mr36010756qka.37.1427907047524; Wed, 01 Apr 2015 09:50:47 -0700 (PDT) Received: from mike-desktop.?.holmesfamily.ws (c-98-221-136-245.hsd1.nj.comcast.net. [98.221.136.245]) by mx.google.com with ESMTPSA id f37sm1619236qkf.14.2015.04.01.09.50.46 (version=TLSv1.2 cipher=ECDHE-RSA-AES128-SHA bits=128/128); Wed, 01 Apr 2015 09:50:46 -0700 (PDT) From: Mike Holmes To: lng-odp@lists.linaro.org Date: Wed, 1 Apr 2015 12:50:37 -0400 Message-Id: <1427907038-12230-2-git-send-email-mike.holmes@linaro.org> X-Mailer: git-send-email 2.1.0 In-Reply-To: <1427907038-12230-1-git-send-email-mike.holmes@linaro.org> References: <1427907038-12230-1-git-send-email-mike.holmes@linaro.org> X-Topics: Architecture patch Subject: [lng-odp] [PATCH 2/3] configure: add ARCH optimisation support by directory X-BeenThere: lng-odp@lists.linaro.org X-Mailman-Version: 2.1.16 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: , List-Help: , List-Subscribe: , MIME-Version: 1.0 Errors-To: lng-odp-bounces@lists.linaro.org Sender: "lng-odp" X-Removed-Original-Auth: Dkim didn't pass. X-Original-Sender: mike.holmes@linaro.org X-Original-Authentication-Results: mx.google.com; spf=pass (google.com: domain of patch+caf_=patchwork-forward=linaro.org@linaro.org designates 209.85.217.176 as permitted sender) smtp.mail=patch+caf_=patchwork-forward=linaro.org@linaro.org Mailing-list: list patchwork-forward@linaro.org; contact patchwork-forward+owners@linaro.org X-Google-Group-Id: 836684582541 Signed-off-by: Mike Holmes --- configure.ac | 11 +++++++++++ 1 file changed, 11 insertions(+) diff --git a/configure.ac b/configure.ac index 57054c5..f14648c 100644 --- a/configure.ac +++ b/configure.ac @@ -44,6 +44,16 @@ AC_TYPE_UINT32_T AC_TYPE_UINT64_T ########################################################################## +# Which archetecture optimizations will we use +########################################################################## +AS_CASE([$host], + [x86*], [ARCH=x86], + [mips64*], [ARCH=mips64], + [ARCH=linux] +) +AC_SUBST([ARCH]) + +########################################################################## # Set correct platform library version ########################################################################## AGE=0 @@ -286,6 +296,7 @@ AC_MSG_RESULT([ Library version: ${ODP_LIBSO_VERSION} + arch ${ARCH} with_platform: ${with_platform} prefix: ${prefix} sysconfdir: ${sysconfdir}