Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 24 Jun 2016 00:41:07 +0200
From:      Jan Beich <jbeich@vfemail.net>
To:        Torsten Zuehlsdorff <tz@FreeBSD.org>
Cc:        Raymond Cheung <korekontakt@gmail.com>, ports@freebsd.org, Kurt Jaeger <lists@opsec.eu>
Subject:   Torch7 ports (Was: Wxlua / Zbstudio)
Message-ID:  <8txv-34vw-wny_-_@vfemail.net>
In-Reply-To: <a097df53-16c4-9ed1-f6d8-cb923edd64c8@FreeBSD.org> (Torsten Zuehlsdorff's message of "Thu, 23 Jun 2016 18:44:56 %2B0200")
References:  <CAFGnCTa_kmYuK6_pmx0eksV%2BX5fazF04dgaH=fGZXUeJWzdy7Q@mail.gmail.com> <CAFGnCTY2z2PFSHkvC_aOQ0HqmP3cibD95hndXQD2yqoSHPjUMQ@mail.gmail.com> <20160609190710.GT41922@home.opsec.eu> <CAFGnCTaYVBmZ-y-AfhMF0mtY1NrKioP0s=3Dmo7aftkiabnXnA@mail.gmail.com> <9f300278-31ab-bc50-1fc7-8e7e6dc44215@toco-domains.de> <CAFGnCTYe13XHjM1-sEHKUpopy_k_ZyXRd%2Bk8rFUX5VkHDXuKYA@mail.gmail.com> <d29c29f2-1ab4-53a5-c571-dc1296e287df@toco-domains.de> <CAFGnCTZPML32ndHBVNeW%2BGcecwNFCZon7qt1sOJLAGz8nObn2w@mail.gmail.com> <a097df53-16c4-9ed1-f6d8-cb923edd64c8@FreeBSD.org>

next in thread | previous in thread | raw e-mail | index | archive | help
--=-=-=
Content-Type: text/plain

Torsten Zuehlsdorff <tz@FreeBSD.org> 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-----
--=-=-=--



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?8txv-34vw-wny_-_>