From owner-freebsd-numerics@freebsd.org Wed Dec 14 16:11:28 2016 Return-Path: Delivered-To: freebsd-numerics@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 C44CFC66B2C; Wed, 14 Dec 2016 16:11:28 +0000 (UTC) (envelope-from iblis@hs.ntnu.edu.tw) Received: from mail.hs.ntnu.edu.tw (mail.hs.ntnu.edu.tw [140.131.149.3]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client did not present a certificate) by mx1.freebsd.org (Postfix) with ESMTPS id 95B121262; Wed, 14 Dec 2016 16:11:25 +0000 (UTC) (envelope-from iblis@hs.ntnu.edu.tw) Received: by mail.hs.ntnu.edu.tw (Postfix, from userid 800) id 8FE881C6457; Thu, 15 Dec 2016 00:03:16 +0800 (CST) Received: from mail.hs.ntnu.edu.tw (localhost [127.0.0.1]) (Authenticated sender: iblis@hs.ntnu.edu.tw) by mail.hs.ntnu.edu.tw (Postfix) with ESMTPA id 591CE1C644A; Thu, 15 Dec 2016 00:03:16 +0800 (CST) Received: from 140-113-138-96.Dorm12.NCTU.edu.tw ([140.113.138.96]) by mail.hs.ntnu.edu.tw with HTTP (HTTP/1.1 POST); Thu, 15 Dec 2016 00:03:16 +0800 MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: 8bit Date: Thu, 15 Dec 2016 00:03:16 +0800 From: Iblis Lin To: freebsd-ports@FreeBSD.org Cc: freebsd-numerics@FreeBSD.org Subject: lang/julia call for testing Message-ID: User-Agent: HSNU Mail X-Bogosity: Ham, tests=bogofilter, spamicity=0.498649, version=1.2.4 X-BeenThere: freebsd-numerics@freebsd.org X-Mailman-Version: 2.1.23 Precedence: list List-Id: "Discussions of high quality implementation of libm functions." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 14 Dec 2016 16:11:28 -0000 Hi, The PR on bugzilla is here: https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=215297 And here is the repo of the port: https://github.com/lwhsu/freebsd-ports-lang-julia (Thanks to patient guidance from lwhsu@ !) Some notes about options: By default, the GPL_LIBS will not be enabled, this cause some fft related function not working. If we enable the GPL_LIBS, the version of math/suitespare in our ports is too old, it will make tons of function reveal warning. Need help for update suitespare. If you are interested in this port, please help on testing. To be honest, I am not a developer of julia and even cannot write any julia code (maybe was able to write few). I started to port it, just because I need to write machine learning homework in my university course. :p There is also lots of math libs julia required, and I still cannot understand the complex relationship of them at all , e.g. tons of Xblas, LAPACK ... etc. If I pin the wrong depends in Makefile, please comment. Or, one can be replaced by another one, please comment, also. I will try to add OPTIONS. About the `make test`, I still got some mmap testing failure on my box. Maybe we can discuss them first. Then, upstream to julia's github issue tracker. -- Iblis Lin 林峻頤 From owner-freebsd-numerics@freebsd.org Thu Dec 15 06:50:13 2016 Return-Path: Delivered-To: freebsd-numerics@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 A5186C8113D; Thu, 15 Dec 2016 06:50:13 +0000 (UTC) (envelope-from iblis@hs.ntnu.edu.tw) Received: from mail.hs.ntnu.edu.tw (mail.hs.ntnu.edu.tw [140.131.149.3]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client did not present a certificate) by mx1.freebsd.org (Postfix) with ESMTPS id 751F61282; Thu, 15 Dec 2016 06:50:12 +0000 (UTC) (envelope-from iblis@hs.ntnu.edu.tw) Received: by mail.hs.ntnu.edu.tw (Postfix, from userid 800) id 9D9A81C6473; Thu, 15 Dec 2016 14:50:03 +0800 (CST) Received: from abeing (IP-215-9.cs.nctu.edu.tw [140.113.215.9]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) (Authenticated sender: iblis@hs.ntnu.edu.tw) by mail.hs.ntnu.edu.tw (Postfix) with ESMTPSA id 0E3371C644F; Thu, 15 Dec 2016 14:49:55 +0800 (CST) Date: Thu, 15 Dec 2016 14:49:49 +0800 From: Iblis Lin To: freebsd-ports@FreeBSD.org Cc: freebsd-numerics@FreeBSD.org Subject: Re: lang/julia call for testing Message-ID: <20161215064948.GA35400@abeing> References: MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Disposition: inline Content-Transfer-Encoding: 8bit In-Reply-To: User-Agent: Mutt/1.7.1 (2016-10-04) X-Bogosity: Ham, tests=bogofilter, spamicity=0.499888, version=1.2.4 X-BeenThere: freebsd-numerics@freebsd.org X-Mailman-Version: 2.1.23 Precedence: list List-Id: "Discussions of high quality implementation of libm functions." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 15 Dec 2016 06:50:13 -0000 Hi, I just found the official doc points to gcc6 as one of depends: https://github.com/JuliaLang/julia#freebsd Julia only use the fortran compiler in gcc, do not need the c compiler. But seems the Uses/fortran.mk do not accept any argument to change the gcc version. If I change the gcc version via USE_GCC=6, it changes CC as well. As previous remarks, Julia only need the fortran compiler of gcc. There are some side effects that we do not want from USE_GCC. I think this is a flaw in ports framework. Any idea? -- Iblis Lin 林峻頤 On Thu, Dec 15, 2016 at 12:03:16AM +0800, Iblis Lin wrote: > Hi, > > The PR on bugzilla is here: > https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=215297 > > And here is the repo of the port: > https://github.com/lwhsu/freebsd-ports-lang-julia > > (Thanks to patient guidance from lwhsu@ !) > > Some notes about options: > By default, the GPL_LIBS will not be enabled, this cause some > fft related function not working. > If we enable the GPL_LIBS, the version of math/suitespare in > our ports is too old, it will make tons of function reveal > warning. Need help for update suitespare. > > If you are interested in this port, please help on testing. > To be honest, I am not a developer of julia and even cannot write > any julia code (maybe was able to write few). I started to port it, > just because I need to write machine learning homework in my university > course. :p There is also lots of math libs julia required, and I still > cannot understand the complex relationship of them at all > , e.g. tons of Xblas, LAPACK ... etc. If I pin the wrong depends in > Makefile, please comment. Or, one can be replaced by another one, > please comment, also. I will try to add OPTIONS. > > About the `make test`, I still got some mmap testing failure on my box. > Maybe we can discuss them first. Then, upstream to julia's github > issue tracker. > > -- > Iblis Lin > 林峻頤 > _______________________________________________ > freebsd-ports@freebsd.org mailing list > https://lists.freebsd.org/mailman/listinfo/freebsd-ports > To unsubscribe, send any mail to "freebsd-ports-unsubscribe@freebsd.org"