Package Details: julia-bin 1.10.2-1

Git Clone URL: https://aur.archlinux.org/julia-bin.git (read-only, click to copy)
Package Base: julia-bin
Description: High-level, high-performance, dynamic programming language - official binaries
Upstream URL: https://julialang.org/
Keywords: julia language programming
Licenses: MIT
Conflicts: julia
Provides: julia
Submitter: swiftscythe
Maintainer: swiftscythe (alhirzel)
Last Packager: alhirzel
Votes: 31
Popularity: 0.036523
First Submitted: 2018-10-31 20:23 (UTC)
Last Updated: 2024-03-03 21:59 (UTC)

Required by (20)

Sources (2)

Latest Comments

1 2 Next › Last »

alhirzel commented on 2023-05-10 15:48 (UTC) (edited on 2023-05-10 15:49 (UTC) by alhirzel)

Updated the PKGBUILD - thanks @originalsouth! Is anyone able to confirm this works on aarch64 as well?

originalsouth commented on 2023-05-10 10:44 (UTC)

Update for julia-1.9.0

pkgname=julia-bin
pkgver=1.9.0
pkgrel=1
arch=('x86_64' 'aarch64')
pkgdesc='High-level, high-performance, dynamic programming language - official binaries'
provides=(julia)
conflicts=(julia)
depends=('bash' 'gmp' 'libnghttp2' 'libssh2' 'libunwind' 'python' 'llvm')
url='https://julialang.org/'
license=('MIT')

case "$CARCH" in
  aarch64) _pkgarch="aarch64"
    sha256sums=('0a14315b53acd97f22d26d4a8fd2c237e524e95c3bec98d2d78b54d80c2bc364')
    source=("https://julialang-s3.julialang.org/bin/linux/${_pkgarch}/${pkgver:0:3}/julia-${pkgver}-linux-${arch}.tar.gz")
    ;;
  x86_64) _pkgarch="x64"
    sha256sums=('00c614466ef9809c2eb23480e38d196a2c577fff2730c4f83d135b913d473359')
    source=("https://julialang-s3.julialang.org/bin/linux/${_pkgarch}/${pkgver:0:3}/julia-${pkgver}-linux-${arch}.tar.gz")
    ;;
esac

options=(!strip)

package() {
  mkdir -p ${pkgdir}/usr/share/licenses/julia
  cp -r julia-${pkgver}/{bin,etc,include,lib,share,libexec} ${pkgdir}/usr/
  install -Dm644 julia-${pkgver}/LICENSE.md ${pkgdir}/usr/share/licenses/julia/LICENSE.md
}

# vim: ts=2 sw=2 et:

domschl commented on 2022-12-23 19:32 (UTC)

@alhirzel The aarch64 patch doesn't work, because the filename still has x86 references in it:

==> ERROR: Failure while downloading https://julialang-s3.julialang.org/bin/linux/aarch64/1.8/julia-1.8.3-linux-x86_64.tar.gz

correct filename would be:

https://julialang-s3.julialang.org/bin/linux/aarch64/1.8/julia-1.8.3-linux-aarch64.tar.gz

alhirzel commented on 2022-11-17 22:56 (UTC)

@crave and @mmtung, I think I just added aarch64 support using crave's technique. Could one of you confirm that this works? I don't have an aarch64 box handy ;)

kmiernik commented on 2022-10-31 09:39 (UTC) (edited on 2022-11-08 10:41 (UTC) by kmiernik)

The julia-bin 1.8.2-1 package fails when trying to plot 3D graph with GRUtils

julia> using GRUtils
julia> x = -1:0.1:1
julia> y = -1:0.1:1
julia> z = x'.^2 .+ y.^2
julia> surface(x, y, z)

libGL error: MESA-LOADER: failed to open iris: /usr/bin/../lib/julia/libstdc++.so.6: versionGLIBCXX_3.4.30' not found (required by /usr/lib/dri/iris_dri.so) (search paths /usr/lib/dri, suffix _dri)`

This does not happen when I reverted to julia package from [community].

Edit: Problem with libGL error can be solved by changing symbolic links in /usr/lib/julia which are pointing to libstdc++.so.6.0.29 shipped with julia-bin. They mismatch system glibc (currently libstdc++.so.6.0.30). It is safe to change links to system /usr/lib/libstdc++.so.6.0.30 for libstdc++.so.6 and libstdc++.so links.

acxz commented on 2022-04-04 16:08 (UTC) (edited on 2022-04-04 17:12 (UTC) by acxz)

Built in clean chroot getting the following error when running julia:

Interesting to note that sudo julia works.


signal (11): Segmentation fault
in expression starting at none:0
__strlen_avx2 at /usr/bin/../lib/libc.so.6 (unknown line)
printf_positional at /usr/bin/../lib/libc.so.6 (unknown line)
__vfprintf_internal at /usr/bin/../lib/libc.so.6 (unknown line)
__vsprintf_internal at /usr/bin/../lib/libc.so.6 (unknown line)
__sprintf_chk at /usr/bin/../lib/libc.so.6 (unknown line)
symbol_suffix_search at /usr/lib/libblastrampoline.so (unknown line)
autodetect_symbol_suffix at /usr/lib/libblastrampoline.so (unknown line)
lbt_forward at /usr/lib/libblastrampoline.so (unknown line)
#lbt_forward#7 at /buildworker/worker/package_linux64/build/usr/share/julia/stdlib/v1.7/LinearAlgebra/src/lbt.jl:158
lbt_forward##kw at /buildworker/worker/package_linux64/build/usr/share/julia/stdlib/v1.7/LinearAlgebra/src/lbt.jl:158 [inlined]
__init__ at /buildworker/worker/package_linux64/build/usr/share/julia/stdlib/v1.7/LinearAlgebra/src/LinearAlgebra.jl:533
jfptr___init___49299.clone_1 at /usr/lib/julia/sys.so (unknown line)
_jl_invoke at /buildworker/worker/package_linux64/build/src/gf.c:2247 [inlined]
jl_apply_generic at /buildworker/worker/package_linux64/build/src/gf.c:2429
jl_apply at /buildworker/worker/package_linux64/build/src/julia.h:1788 [inlined]
jl_module_run_initializer at /buildworker/worker/package_linux64/build/src/toplevel.c:73
_finish_julia_init at /buildworker/worker/package_linux64/build/src/init.c:796
julia_init at /buildworker/worker/package_linux64/build/src/init.c:730
jl_repl_entrypoint at /buildworker/worker/package_linux64/build/src/jlapi.c:695
main at julia (unknown line)
__libc_start_call_main at /usr/bin/../lib/libc.so.6 (unknown line)
__libc_start_main at /usr/bin/../lib/libc.so.6 (unknown line)
unknown function (ip: 0x400808)
Allocations: 2720 (Pool: 2712; Big: 8); GC: 0
[1]    458720 segmentation fault (core dumped)  julia

PythonNut commented on 2021-03-28 07:25 (UTC)

Does this depend on p7zip to use the package manager now?

giordano commented on 2021-03-27 20:03 (UTC)

In julia v1.6 you need to install also the libexec directory, see https://discourse.julialang.org/t/julia-v1-5-4-and-v1-6-0-rc2-have-been-released/57040/30