Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Run the command below to create an initial bee file. ``` > bee init https://github.com/JuliaLang/julia/releases/download/v0.4.5/julia-0.4.5.tar.gz creating julia-0.4.5-0.bee from template '/etc/default/bee/templates/fallback' ``` Adapt it, to download and build the full archive, which includes several libraries, most of them not yet packaged in Mariux. For example, the Julia archive ships FFTW 3.3.4, while there is only FFTW 3.3.3 in Mariux. Note, that the architecture has to be explicitly set by passing `MARCH=x86-64` when calling `make`. Otherwise, Julia optimizes its image to the native architecture of the build machine, so a binary built on the server *shutupandtakemymoney* does not run on the machine *keineahnung*. [1] ``` > julia Target architecture mismatch. Please delete or regenerate sys.{so,dll,dylib}. ``` For whatever reason, `MARCH=x86-64` also needs to be passed to `make install`. Tested on *keineahnung*. ``` > sudo bee install julia installing /src/mariux/beeroot/packages/julia-0.4.5-0.x86_64.bee.tar.bz2 .. gtk-update-icon-cache: Cache file created successfully. > julia --version julia version 0.4.5 > julia _ _ _ _(_)_ | A fresh approach to technical computing (_) | (_) (_) | Documentation: http://docs.julialang.org _ _ _| |_ __ _ | Type "?help" for help. | | | | | | |/ _` | | | | |_| | | | (_| | | Version 0.4.5 (2016-03-18 00:58 UTC) _/ |\__'_|_|_|\__'_| | |__/ | x86_64-unknown-linux-gnu julia> versioninfo(true) Julia Version 0.4.5 Commit 2ac304d (2016-03-18 00:58 UTC) Platform Info: System: Linux (x86_64-unknown-linux-gnu) CPU: Intel(R) Core(TM) i7-6700 CPU @ 3.40GHz WORD_SIZE: 64 uname: Linux 4.4.11.mx64.88 #1 SMP Sat May 21 18:23:51 CEST 2016 x86_64 unknown Memory: 7.414115905761719 GB (85.7734375 MB free) Uptime: 705950.0 sec Load Avg: 0.216796875 2.275390625 3.595703125 Intel(R) Core(TM) i7-6700 CPU @ 3.40GHz: speed user nice sys idle irq BLAS: libopenblas (USE64BITINT DYNAMIC_ARCH NO_AFFINITY Haswell) LAPACK: libopenblas64_ LIBM: libopenlibm LLVM: libLLVM-3.3 [...] ``` [1] https://github.com/JuliaLang/julia/blob/master/DISTRIBUTING.md#target-architectures
- Loading branch information