mirror of
https://github.com/yann64/haikuports.git
synced 2026-04-22 19:50:05 +02:00
x86_64 is used as a baseline: the "x86_64" entry, whatever status it has, is transformed into "all", and then the other entries in ARCHITECTURES either dropped or rearranged appropriately.
70 lines
1.8 KiB
Bash
70 lines
1.8 KiB
Bash
SUMMARY="Programming language designed for technical computing"
|
||
DESCRIPTION="Julia is a high-level, high-performance dynamic programming \
|
||
language for technical computing, with syntax that is familiar to users of \
|
||
other technical computing environments. It provides a sophisticated compiler, \
|
||
distributed parallel execution, numerical accuracy, and an extensive \
|
||
mathematical function library. The library, largely written in Julia itself, \
|
||
also integrates mature, best-of-breed C and Fortran libraries for linear \
|
||
algebra, random number generation, signal processing, and string processing. \
|
||
In addition, the Julia developer community is contributing a number of \
|
||
external packages through Julia’s built-in package manager at a rapid pace."
|
||
HOMEPAGE="https://julialang.org/"
|
||
SOURCE_URI="https://github.com/JuliaLang/julia/releases/download/v0.3.5/julia-0.3.5_a05f87b79a.tar.gz"
|
||
CHECKSUM_SHA256="8f77b708ede7f095cdbea439b5aa43849c658a2c242811fb128841bb5e84b6e5"
|
||
SOURCE_DIR="julia-0.3"
|
||
REVISION="2"
|
||
LICENSE="MIT"
|
||
COPYRIGHT="2009-2014 Jeff Bezanson et al."
|
||
|
||
# Currently broken on all architectures, due to openlibm needing <complex.h>
|
||
# which we do not have.
|
||
ARCHITECTURES="?all !x86_gcc2"
|
||
#SECONDARY_ARCHITECTURES="x86"
|
||
|
||
PROVIDES="
|
||
julia$secondaryArchSuffix = $portVersion
|
||
"
|
||
REQUIRES="
|
||
haiku$secondaryArchSuffix
|
||
lib:libuv$secondaryArchSuffix
|
||
lib:libpcre$secondaryArchSuffix
|
||
lib:libgmp$secondaryArchSuffix
|
||
"
|
||
|
||
BUILD_REQUIRES="
|
||
haiku${secondaryArchSuffix}_devel
|
||
devel:libuv$secondaryArchSuffix
|
||
devel:libpcre$secondaryArchSuffix
|
||
devel:libgmp$secondaryArchSuffix
|
||
"
|
||
BUILD_PREREQUIRES="
|
||
cmd:g++$secondaryArchSuffix
|
||
cmd:make
|
||
cmd:perl
|
||
cmd:git
|
||
cmd:m4
|
||
cmd:patch
|
||
cmd:cmake
|
||
cmd:tar
|
||
cmd:which
|
||
"
|
||
|
||
makeJulia()
|
||
{
|
||
make USE_SYSTEM_LIBUV=1 \
|
||
USE_SYSTEM_PCRE=1 \
|
||
USE_SYSTEM_GMP=1 \
|
||
"$@"
|
||
}
|
||
|
||
BUILD()
|
||
{
|
||
makeJulia $jobArgs
|
||
}
|
||
|
||
INSTALL()
|
||
{
|
||
# todo
|
||
exit 1
|
||
}
|