From owner-freebsd-ports@freebsd.org Thu Jun 30 01:19:31 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 5804CB85A17 for ; Thu, 30 Jun 2016 01:19:31 +0000 (UTC) (envelope-from korekontakt@gmail.com) Received: from mailman.ysv.freebsd.org (unknown [127.0.1.3]) by mx1.freebsd.org (Postfix) with ESMTP id 31EF9212F for ; Thu, 30 Jun 2016 01:19:31 +0000 (UTC) (envelope-from korekontakt@gmail.com) Received: by mailman.ysv.freebsd.org (Postfix) id 2DC65B85A16; Thu, 30 Jun 2016 01:19:31 +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 2D4CEB85A14 for ; Thu, 30 Jun 2016 01:19:31 +0000 (UTC) (envelope-from korekontakt@gmail.com) Received: from mail-qt0-x22c.google.com (mail-qt0-x22c.google.com [IPv6:2607:f8b0:400d:c0d::22c]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (Client CN "smtp.gmail.com", Issuer "Google Internet Authority G2" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id E6393212C; Thu, 30 Jun 2016 01:19:30 +0000 (UTC) (envelope-from korekontakt@gmail.com) Received: by mail-qt0-x22c.google.com with SMTP id m2so35016169qtd.1; Wed, 29 Jun 2016 18:19:30 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=mime-version:in-reply-to:references:date:message-id:subject:from:to :cc; bh=yBt1mJDEyi95stoZm02ANrX/hMd4rRSKr4J1P1RkXN8=; b=ERiy06sNQ96mgUOepqD/3y22KSRTIOjJW+T/gu05WB8ylLhvVoGBPjGrnkCW8Yz5l/ hSKm1iWfbiZfJObQQ6CLggbep1RUqYeN77yFNWISu09fnTii6MZEhL+SZfWBeWNJB2YI VFBzUMLLdzq11RbX3q+uEatfwEmadhw+QyVufzHfivJ8mcX0IHT/aAYJjkhMZ6bJc66+ Gkx+KFBYrCqca9wnG9PqjhwGOcj9RXolUx5BMlOlUEB6kDM3gPZt9ew1Ou3+cpUPBJ7S dzMD67GzExgJtWqDCQblLRiKmbl0BZy4FxNeWuX4xYEetTiJnPibSq6SjJ5G6y3/O5iO m62Q== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20130820; h=x-gm-message-state:mime-version:in-reply-to:references:date :message-id:subject:from:to:cc; bh=yBt1mJDEyi95stoZm02ANrX/hMd4rRSKr4J1P1RkXN8=; b=MG3ITkPka6qWWzZMvN2pYFboT44uQZuiMkoCVhx31yrV5Ntk3kTTZlqp1CpXoe7QCN TVl8Ing/Db0TdH8MilQK9attLLMQ/gz5XexpgHQFKV78H2P3wSqrz6uRuRB1sx61zxYi B17Aj0dXg22dPWjAOhsvjZBcmp9mdPwlYtW1hWKW62ldxmCpraQUVvkasH4mMcnXz0Xd NhHktSUWHT9KFDGFK87Mau3sZ4l2EToocYoMrfqOnU8GwiRDW5v0Y0Gn6BR2XevmRImQ MvtP1a+XEt5oYgtGcgjAtTASdxahuKt7V3yU6+Oq/O4TFSvl51MFLBj5gOV9YK7OpvVF 7mdg== X-Gm-Message-State: ALyK8tLJZ5GMhD3Gcm9HYlbIPSQb9pV93PrWGQtXfQ1MRAHkY4tkQqQmhDIEbAD7v7LFZT9v9YirWga0xmXaUg== MIME-Version: 1.0 X-Received: by 10.200.53.39 with SMTP id y36mr18519698qtb.92.1467249569929; Wed, 29 Jun 2016 18:19:29 -0700 (PDT) Received: by 10.237.52.229 with HTTP; Wed, 29 Jun 2016 18:19:29 -0700 (PDT) Received: by 10.237.52.229 with HTTP; Wed, 29 Jun 2016 18:19:29 -0700 (PDT) In-Reply-To: References: <20160609190710.GT41922@home.opsec.eu> <9f300278-31ab-bc50-1fc7-8e7e6dc44215@toco-domains.de> <8txv-34vw-wny_-_@vfemail.net> Date: Thu, 30 Jun 2016 09:19:29 +0800 Message-ID: Subject: Re: Torch7 ports (Was: Wxlua / Zbstudio) From: Raymond Cheung To: Jan Beich Cc: ports@freebsd.org, Kurt Jaeger , Torsten Zuehlsdorff Content-Type: text/plain; charset=UTF-8 X-Content-Filtered-By: Mailman/MimeDel 2.1.22 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, 30 Jun 2016 01:19:31 -0000 Hi all, I tried the Jan's git ports. However, I got 21 errors out of 127 torch tests. It said FFI can't point to some structures. Also, I can require nn even it was installed via luarocks. It said the tester suite is missing. Are the blas finding codes located at math/TH? Thanks. Raymond On Jun 24, 2016 17:12, "Raymond Cheung" wrote: > Hi Jan and Torsten, > > Thanks a lot for your help. > > I will try it later after taking a break. As I lack knowledge on C/C++, I > spent a month to retry many ways on FreeBSD 10/11. I feel tried. > Fortunately, I got some clues. > > During this month, I also learnt a lot on FreeBSD. As least I can build > and install new world/kernel from GhostBSD 10.3 to 11 Alpha 4. > > Thanks again for your help. > > Raymond > On Jun 24, 2016 06:41, "Jan Beich" wrote: > >> 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. >> >