svn commit: r428982 - in head/lang: . julia julia/files
John Marino
freebsd.contact at marino.st
Thu Jan 5 16:41:11 UTC 2017
On 12/20/2016 03:30, Li-Wen Hsu wrote:
> Author: lwhsu
> Date: Tue Dec 20 09:30:25 2016
> New Revision: 428982
> URL: https://svnweb.freebsd.org/changeset/ports/428982
>
> Log:
> - Add lang/julia, Julia Language: A fresh approach to technical computing
>
> PR: 215297
> Submitted by: Iblis Lin <iblis at hs.ntnu.edu.tw>
>
> Added: head/lang/julia/Makefile
> ==============================================================================
> --- /dev/null 00:00:00 1970 (empty, because file is newly added)
> +++ head/lang/julia/Makefile Tue Dec 20 09:30:25 2016 (r428982)
> @@ -0,0 +1,73 @@
> +# Created by: Iblis Lin <iblis at hs.ntnu.edu.tw>
> +# $FreeBSD$
> +
> +PORTNAME= julia
> +PORTVERSION= 0.5.0
> +DISTVERSIONSUFFIX= -full
> +CATEGORIES= lang math
> +MASTER_SITES= https://github.com/JuliaLang/julia/releases/download/v${PORTVERSION}/
> +
> +MAINTAINER= iblis at hs.ntnu.edu.tw
> +COMMENT= Julia Language: A fresh approach to technical computing
> +
> +LICENSE= MIT
> +LICENSE_FILE= ${WRKSRC}/LICENSE.md
> +
> +LIB_DEPENDS= libunwind.so:devel/libunwind \
> + libutf8proc.so:textproc/utf8proc \
> + libopenblas.so:math/openblas \
> + libgit2.so:devel/libgit2 \
> + libgmp.so:math/gmp \
> + libmpfr.so:math/mpfr
> +BUILD_DEPENDS= llvm-config38:devel/llvm38 \
> + pcre2-config:devel/pcre2 \
> + patchelf:sysutils/patchelf
> +
> +ONLY_FOR_ARCHS= amd64
> +
> +USES= gmake compiler:c++11-lib fortran
> +USE_LDCONFIG= yes
> +
> +WRKSRC= ${WRKDIR}/${PORTNAME}-${PORTVERSION}
> +
> +ALL_TARGET= default
> +INSTALL_TARGET= install
> +TEST_TARGET= test
> +
> +CXXFLAGS+= -stdlib=libc++ -std=c++11
Note that this line ^^ is specific to clang. By using these flags
unconditionally, no LANG/GCC* compiler can be used.
I wonder if USES=compiler flags should be used instead? At least a
compiler check is probably in order.
John
---
This email has been checked for viruses by Avast antivirus software.
https://www.avast.com/antivirus
More information about the svn-ports-all
mailing list