From owner-freebsd-ports@freebsd.org Fri Jun 24 09:12:47 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 11B6DB73CFB for ; Fri, 24 Jun 2016 09:12:47 +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 E0B9216AC for ; Fri, 24 Jun 2016 09:12:46 +0000 (UTC) (envelope-from korekontakt@gmail.com) Received: by mailman.ysv.freebsd.org (Postfix) id DC9D5B73CFA; Fri, 24 Jun 2016 09:12:46 +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 DC4C2B73CF8 for ; Fri, 24 Jun 2016 09:12:46 +0000 (UTC) (envelope-from korekontakt@gmail.com) Received: from mail-qk0-x22b.google.com (mail-qk0-x22b.google.com [IPv6:2607:f8b0:400d:c09::22b]) (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 948C116AB; Fri, 24 Jun 2016 09:12:46 +0000 (UTC) (envelope-from korekontakt@gmail.com) Received: by mail-qk0-x22b.google.com with SMTP id p10so138832667qke.3; Fri, 24 Jun 2016 02:12:46 -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=KSy+4I61AVg/ol8NvXPyZ6FiOjj/vzuwc3b+K3NfuiA=; b=bvV5BL514KGkSERBGJdcAOWldVhgTTrq84gNXT4I3lk58cQJn60DIkOeyi0iCe9sI1 m27C9CBKQflB9KA0y4FpSx97apipo+9KpXTUExzuuFXIXVzI24uNvx8EwQluKHKlQA5S md0SXbdvKCT7D7Cfet97MaJa5ha5Tn7CZSUPole8v8o/hhSIWP5ToOaixj+HKeWVfNlE cTsKNXSq7VKWlIRXgCodcPW/lCYq9gznBI5g+adkzQ83aYNZFnkmkkgOjvgGfsN9Ii21 RIRGCKVzNoL53d2i+mxvwFKi4DMH5e/ljlNmu+3BIsN4epfm0nyfa7IPmZXVUw5Q3e7J ZwAA== 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=KSy+4I61AVg/ol8NvXPyZ6FiOjj/vzuwc3b+K3NfuiA=; b=I9Afh2ZW6zuTF6GJN9zKe8VZyCR1WjtY1LKDpRJ3GxbcFusJjEWXn7eKZ+mBRD0GyU PHluUGzMpOEqfCy45AK2Jkqg2eak7JUN4B/iAwCd78WCBdOZWmzHdXI64NzfAcdQpEDd p+TteXu0DjZAOUhRTFq1SA2pkTs8Baq9QBuQ3VcnGGtr7s6gm1VjrxEfr3MlpfDXF0V+ 1Qy0WFDp6K+kjIIuIV0JpmwjyCF+E/6cygEW4oOWTBbxnLNn5N3KEpcN9OG63+vRp5kT KdjGCcvDXozKrcVV0N/xDwB2AQdIPpugnmYidPKXW/k1aHcwKaetZJhe8r36leBb5/Zx qzGQ== X-Gm-Message-State: ALyK8tLLa2AQ7l3ZaA7XyascX7A02yGJSN0b9PQSlAIjuyVLh8EmIJXY97wvkh27db0VAV2/sPO/uoBcYQl4QA== MIME-Version: 1.0 X-Received: by 10.55.195.193 with SMTP id r62mr3135590qkl.23.1466759565870; Fri, 24 Jun 2016 02:12:45 -0700 (PDT) Received: by 10.237.52.229 with HTTP; Fri, 24 Jun 2016 02:12:45 -0700 (PDT) Received: by 10.237.52.229 with HTTP; Fri, 24 Jun 2016 02:12:45 -0700 (PDT) In-Reply-To: <8txv-34vw-wny_-_@vfemail.net> References: <20160609190710.GT41922@home.opsec.eu> <9f300278-31ab-bc50-1fc7-8e7e6dc44215@toco-domains.de> <8txv-34vw-wny_-_@vfemail.net> Date: Fri, 24 Jun 2016 17:12:45 +0800 Message-ID: Subject: Re: Torch7 ports (Was: Wxlua / Zbstudio) From: Raymond Cheung To: Jan Beich Cc: Kurt Jaeger , ports@freebsd.org, 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: Fri, 24 Jun 2016 09:12:47 -0000 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. >