Return-Path: X-Original-To: archive-asf-public-internal@cust-asf2.ponee.io Delivered-To: archive-asf-public-internal@cust-asf2.ponee.io Received: from cust-asf.ponee.io (cust-asf.ponee.io [163.172.22.183]) by cust-asf2.ponee.io (Postfix) with ESMTP id 5E310200C0F for ; Thu, 2 Feb 2017 23:26:20 +0100 (CET) Received: by cust-asf.ponee.io (Postfix) id 5CC9D160B57; Thu, 2 Feb 2017 22:26:20 +0000 (UTC) Delivered-To: archive-asf-public@cust-asf.ponee.io Received: from mail.apache.org (hermes.apache.org [140.211.11.3]) by cust-asf.ponee.io (Postfix) with SMTP id A634D160B44 for ; Thu, 2 Feb 2017 23:26:19 +0100 (CET) Received: (qmail 67042 invoked by uid 500); 2 Feb 2017 22:26:18 -0000 Mailing-List: contact user-help@lucy.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: user@lucy.apache.org Delivered-To: mailing list user@lucy.apache.org Received: (qmail 67031 invoked by uid 99); 2 Feb 2017 22:26:18 -0000 Received: from pnap-us-west-generic-nat.apache.org (HELO spamd2-us-west.apache.org) (209.188.14.142) by apache.org (qpsmtpd/0.29) with ESMTP; Thu, 02 Feb 2017 22:26:18 +0000 Received: from localhost (localhost [127.0.0.1]) by spamd2-us-west.apache.org (ASF Mail Server at spamd2-us-west.apache.org) with ESMTP id 32C831A0274 for ; Thu, 2 Feb 2017 22:26:18 +0000 (UTC) X-Virus-Scanned: Debian amavisd-new at spamd2-us-west.apache.org X-Spam-Flag: NO X-Spam-Score: -1.999 X-Spam-Level: X-Spam-Status: No, score=-1.999 tagged_above=-999 required=6.31 tests=[KAM_LAZY_DOMAIN_SECURITY=1, RP_MATCHES_RCVD=-2.999] autolearn=disabled Received: from mx1-lw-us.apache.org ([10.40.0.8]) by localhost (spamd2-us-west.apache.org [10.40.0.9]) (amavisd-new, port 10024) with ESMTP id eJrQZwAvbT1P for ; Thu, 2 Feb 2017 22:26:15 +0000 (UTC) Received: from hosting04.aevum.de (hosting04.aevum.de [188.68.58.30]) by mx1-lw-us.apache.org (ASF Mail Server at mx1-lw-us.apache.org) with ESMTPS id 681D05F30B for ; Thu, 2 Feb 2017 22:26:15 +0000 (UTC) Received: from [IPv6:2001:a61:113d:4c01:8d28:db81:a1b6:e405] (unknown [IPv6:2001:a61:113d:4c01:8d28:db81:a1b6:e405]) by hosting04.aevum.de (Postfix) with ESMTPSA id A67AE6004E for ; Thu, 2 Feb 2017 23:26:06 +0100 (CET) To: user@lucy.apache.org References: <2676c2bc-8604-0475-835d-f2ecf926f29f@aevum.de> From: Nick Wellnhofer Message-ID: Date: Thu, 2 Feb 2017 23:26:07 +0100 User-Agent: Mozilla/5.0 (Windows NT 10.0; WOW64; rv:45.0) Gecko/20100101 Thunderbird/45.7.0 MIME-Version: 1.0 In-Reply-To: Content-Type: text/plain; charset=utf-8; format=flowed Content-Transfer-Encoding: 7bit Subject: Re: [lucy-user] Lucy Benchmarking archived-at: Thu, 02 Feb 2017 22:26:20 -0000 On 02/02/2017 21:44, Kasi Lakshman Karthi Anbumony wrote: > Can I know how to build lucy and lucy-clownfish for ARM (AARCH64)? > > I do have the ARM cross-compiler tool chain and would like to know which > files to change? Cross compiling Lucy isn't supported yet. I haven't tried to build Lucy on ARM myself, but we have successful test reports from CPAN Testers with Raspberry Pis. So, if you're feeling adventurous: 1. Build the Clownfish compiler normally for the host platform. 2. Configure the Clownfish runtime using the host compiler. 3. Edit the generated Makefile. - Replace CC with the cross compiler. - Check CFLAGS etc. 4. Edit the generated charmony.h file to match the target platform. - CHY_SIZEOF macros - Endian macro - Possibly other stuff 5. (Maybe) Run `make autogen/hierarchy.json` first and edit the generated file autogen/include/cfish_platform.h to match the target platform. 6. Run `make`. If you run into errors, adjust charmony.h or the Makefile. 7. Make sure to make backups of Makefile, charmony.h, and cfish_platform.h. These files might be recreated and you'll lose your changes. 8. Repeat steps 2-7 for Lucy. Nick