From owner-freebsd-ports@freebsd.org Thu Jun 23 22:41:41 2016 Return-Path: Delivered-To: freebsd-ports@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id E26F2B73267 for ; Thu, 23 Jun 2016 22:41:41 +0000 (UTC) (envelope-from jbeich@vfemail.net) Received: from mailman.ysv.freebsd.org (unknown [127.0.1.3]) by mx1.freebsd.org (Postfix) with ESMTP id C63BF1484 for ; Thu, 23 Jun 2016 22:41:41 +0000 (UTC) (envelope-from jbeich@vfemail.net) Received: by mailman.ysv.freebsd.org (Postfix) id C5733B73266; Thu, 23 Jun 2016 22:41:41 +0000 (UTC) Delivered-To: ports@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id C51CAB73265 for ; Thu, 23 Jun 2016 22:41:41 +0000 (UTC) (envelope-from jbeich@vfemail.net) Received: from vfemail.net (onethreetwo.vfemail.net [199.16.11.132]) (using TLSv1 with cipher ECDHE-RSA-AES256-SHA (256/256 bits)) (Client did not present a certificate) by mx1.freebsd.org (Postfix) with ESMTPS id 678F81483 for ; Thu, 23 Jun 2016 22:41:40 +0000 (UTC) (envelope-from jbeich@vfemail.net) Received: (qmail 30423 invoked by uid 89); 23 Jun 2016 22:41:34 -0000 Received: from localhost (HELO freequeue.vfemail.net) (127.0.0.1) by localhost with (DHE-RSA-AES256-SHA encrypted) SMTP; 23 Jun 2016 22:41:33 -0000 Received: (qmail 30407 invoked by uid 89); 23 Jun 2016 22:41:16 -0000 Received: by simscan 1.3.1 ppid: 30398, pid: 30402, t: 0.0048s scanners:none Received: from unknown (HELO smtp102-2.vfemail.net) (172.16.100.62) by FreeQueue with SMTP; 23 Jun 2016 22:41:16 -0000 Received: (qmail 4346 invoked by uid 89); 23 Jun 2016 22:41:16 -0000 Received: by simscan 1.4.0 ppid: 4328, pid: 4342, t: 0.5527s scanners:none Received: from unknown (HELO nil) (amJlaWNoQHZmZW1haWwubmV0@172.16.100.27) by mail.vfemail.net with ESMTPA; 23 Jun 2016 22:41:15 -0000 From: Jan Beich To: Torsten Zuehlsdorff Cc: Raymond Cheung , ports@freebsd.org, Kurt Jaeger Subject: Torch7 ports (Was: Wxlua / Zbstudio) References: <20160609190710.GT41922@home.opsec.eu> <9f300278-31ab-bc50-1fc7-8e7e6dc44215@toco-domains.de> Date: Fri, 24 Jun 2016 00:41:07 +0200 In-Reply-To: (Torsten Zuehlsdorff's message of "Thu, 23 Jun 2016 18:44:56 +0200") Message-ID: <8txv-34vw-wny_-_@vfemail.net> MIME-Version: 1.0 Content-Type: multipart/signed; boundary="=-=-="; micalg=pgp-sha512; protocol="application/pgp-signature" X-BeenThere: freebsd-ports@freebsd.org X-Mailman-Version: 2.1.22 Precedence: list List-Id: Porting software to FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 23 Jun 2016 22:41:42 -0000 --=-=-= Content-Type: text/plain Torsten Zuehlsdorff writes: > Hello Raymond, > >> OpenBlas (make config; # with OpenMP option), OpenMP, Lapack & ++, GotoBlas >> are installed. Header files of OpenBlas is also included to >> $CMAKE_LIBRARY_PATH. However, I still got the same error message, missing >> lapack. > > There are various variables to set to specify where to look vor the > libs, like lapack. > > Sadly i'm out of time. Tomorrow i'm heading into vacation. When back i > will come back to your request and try to create a port for > this. Maybe we could success together (with more time). I did some work in the past on Torch7 ports before losing interest[1]. Check math/TH if you want to see how it detects OpenBLAS (default). $ git clone https://github.com/jbeich/freebsd-ports torch-ports $ export PORTSDIR=$PWD/torch-ports $ cd $PORTSDIR/devel/lua-trepl $ make install $ th51 -- [1] Many Torch pkgs rely on luarocks to build and resolve dependencies and some have a hard dependency on luajit. My approach didn't scale as writing such ports often required translating *.rockspec files which can quickly grow into maintenance nightmare, so an infra work had to be done beforehand. --=-=-= Content-Type: application/pgp-signature; name="signature.asc" -----BEGIN PGP SIGNATURE----- Version: GnuPG v1 iQF8BAEBCgBmBQJXbGWDXxSAAAAAAC4AKGlzc3Vlci1mcHJAbm90YXRpb25zLm9w ZW5wZ3AuZmlmdGhob3JzZW1hbi5uZXREQjQ0MzY3NEM3RDIzNTc4NkUxNDkyQ0VF NEM3Nzg4MzQ3OURCRERCAAoJEOTHeINHnb3b0okH/j4G96HL0wz2Ndg46IakFLWk MNaFjhfnF37M5V3tezmOihZz2tryFu+eeBseRvW+GDJrnPBJPyZip+9fUdZ0LS/o TF5uss1MaJvXsaKivL48MEDw/aVLO7ht1hOU7o69IXt1g4tlrP6h/i/j7k8ou0ZQ YfiYqalvDxmPRKw3+AE7iFZHdrgrabSo/OHDHliZDGTkJiUJu9qx6RjxcEaznAur e5lYsXFAvSOFoPyM1fl0yKFA3XRtf8YYtYs/5d3Wp6j+B/TwAs5QRMLiJudo2/eG CX64O0cDWUtpGIqRkcSEWksJgqJzKcMYI+j2T6hFeqHBlhdyhZ9LmYK0z9g7LbU= =Twui -----END PGP SIGNATURE----- --=-=-=--