mirror of
https://github.com/yann64/haikuports.git
synced 2026-04-23 04:00:05 +02:00
julia: preliminary recipe.
Doesn't work due to OpenLibM requiring <complex.h> which we don't have, but it's a starting point so I figured I'd push it.
This commit is contained in:
76
dev-lang/julia/julia-0.3.5.recipe
Normal file
76
dev-lang/julia/julia-0.3.5.recipe
Normal file
@@ -0,0 +1,76 @@
|
||||
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="http://julialang.org/"
|
||||
SRC_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="1"
|
||||
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="!x86 !x86_64"
|
||||
#if [ $effectiveTargetArchitecture != x86_gcc2 ]; then
|
||||
# # x86_gcc2 is fine as primary target architecture as long as we're building
|
||||
# # for a different secondary architecture.
|
||||
# ARCHITECTURES="$ARCHITECTURES x86_gcc2"
|
||||
#else
|
||||
# ARCHITECTURES="$ARCHITECTURES !x86_gcc2"
|
||||
#fi
|
||||
#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
|
||||
}
|
||||
Reference in New Issue
Block a user