Skip to content

julia: Add version 0.4.5 #6

Merged
merged 1 commit into from Jun 14, 2016
Merged

julia: Add version 0.4.5 #6

merged 1 commit into from Jun 14, 2016

Conversation

pmenzel
Copy link
Collaborator

@pmenzel pmenzel commented Jun 14, 2016

No description provided.

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
@donald
Copy link
Collaborator

donald commented Jun 14, 2016

I wonder whether this will become another monster like perl or python or R where we might have to decide, which additional "modules" we want to install into the system, whether we use bee or the languages native system for that and how to handle the dependency problems. ( User code and modules installed into /home and /project which don't survive updates of the installation )

Anyway: Go,go,go from me.

@pmenzel
Copy link
Collaborator Author

pmenzel commented Jun 14, 2016

As far as I understood it, users should install the packages, they want to use, in their home directory.

Let’s see, how the institute will adapt to Julia. If it will be used “in production” by some people, we can optimize the directory layout.

@pmenzel
Copy link
Collaborator Author

pmenzel commented Jun 14, 2016

@wwwutz, tested successfully on milliways. It runs also on AMD processors.

pmenzel@milliways:~> 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.
pmenzel@milliways:~> 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> 1 + 1
2

julia> versioninfo()
Julia Version 0.4.5
Commit 2ac304d (2016-03-18 00:58 UTC)
Platform Info:
  System: Linux (x86_64-unknown-linux-gnu)
  CPU: AMD Opteron(tm) Processor 6172
  WORD_SIZE: 64
  BLAS: libopenblas (USE64BITINT DYNAMIC_ARCH NO_AFFINITY Barcelona)
  LAPACK: libopenblas64_
  LIBM: libopenlibm
  LLVM: libLLVM-3.3

@wwwutz wwwutz merged commit 7dfa074 into master Jun 14, 2016
@donald donald deleted the add-julia-0.4.5 branch July 6, 2016 09:48
donald added a commit that referenced this pull request May 29, 2017
Update to latest available version before investigating further
into the heap corruption problem.

    #1  0x00007f7685167748 in __GI_abort () at abort.c:89
    #2  0x00007f76851a967d in __malloc_assert (assertion=assertion@entry=0x7f7685299470 "(unsigned long) (size) >= (unsigned long) (nb)",
        file=file@entry=0x7f7685295065 "malloc.c", line=line@entry=3692, function=function@entry=0x7f76852953ed <__func__.11515> "_int_malloc")
        at malloc.c:293
    #3  0x00007f76851ac51a in _int_malloc (av=av@entry=0x7f7648000020, bytes=bytes@entry=2049) at malloc.c:3692
    #4  0x00007f76851acbe1 in _int_realloc (av=av@entry=0x7f7648000020, oldp=oldp@entry=0x7f76480019a0, oldsize=oldsize@entry=1040,
        nb=nb@entry=2064) at malloc.c:4283
    #5  0x00007f76851add19 in __GI___libc_realloc (oldmem=0x7f76480019b0, bytes=2049) at malloc.c:3026
    #6  0x000055a920baef28 in set_tsd_user_vars ()
    #7  0x000055a920b9d2b4 in ?? ()
    #8  0x00007f76863a9191 in start_thread (arg=0x7f767c1de700) at pthread_create.c:309
    #9  0x00007f768521930d in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:111
pmenzel added a commit that referenced this pull request Dec 19, 2017
From [1]:

> Optional patch:
> http://www.linuxfromscratch.org/patches/blfs/7.10/wireshark-2.0.5-lua_5_3_1-1.patch
> (allows building the LUA bindings if Lua-5.3.3 is installed and LUA is
> not disabled by passing --without-lua to configure)

Applies with a little offset.

```
[BEE] patch -N -p1 -i
/dev/shm/bee-root/wireshark/files/wireshark-2.0.5-lua_5_3_1-1.patch
patching file configure
Hunk #1 succeeded at 38870 (offset 1275 lines).
Hunk #2 succeeded at 38974 (offset 1275 lines).
Hunk #3 succeeded at 38998 (offset 1275 lines).
Hunk #4 succeeded at 39022 (offset 1275 lines).
patching file epan/wslua/lua_bitop.c
patching file epan/wslua/wslua_byte_array.c
patching file epan/wslua/wslua_file.c
Hunk #1 succeeded at 347 (offset 10 lines).
patching file epan/wslua/wslua.h
patching file epan/wslua/wslua_int64.c
patching file epan/wslua/wslua_internals.c
patching file epan/wslua/wslua_listener.c
patching file epan/wslua/wslua_nstime.c
patching file epan/wslua/wslua_struct.c
patching file epan/wslua/wslua_tvb.c
Hunk #3 succeeded at 223 (offset -1 lines).
Hunk #4 succeeded at 241 (offset -1 lines).
Hunk #5 succeeded at 836 (offset -1 lines).
Hunk #6 succeeded at 917 (offset -1 lines).
Hunk #7 succeeded at 961 (offset -1 lines).
Hunk #8 succeeded at 1008 (offset -1 lines).
Hunk #9 succeeded at 1108 (offset -1 lines).
```

With this patch, `Use Lua library : yes` is seen in the configure option
summary.

[1] http://www.linuxfromscratch.org/blfs/view/7.10/basicnet/wireshark.html
pmenzel added a commit that referenced this pull request Jun 21, 2019
From the [NEWS][1]:

> 3.32.0
>   - pretty version number
> 3.31.91
>   - symbolic: folder-download, inode-directory
>   - symbolic: privacy, dnd, phone device icons
>   - symbolic: new ui context for things that aren't strictly icons. Might go into gtk
>   - symbolic: emoji category tweaks
>   - symbolic: mail-reply, battery status (issue #6)
>   - symbolic: action icons eg rotation
>   - symbolic: drive icon tweaks
>   - fullcolor: more app/mimetype/device/status to legacy
>   - fullcolor: new style for fullcolor icons - folders, mimetypes and devices
>   - cursors: fix a symlink mixup (mr #5)
>
> 3.31.1
>   - few symbolic updates
>   - move a lot of fullcolor icons to legacy context. They will go or be updated
>     in 2 releases.
>   - symbolic: lists (issue #16)
>   - fullcolor: more app, device, mimetypes to legacy
> 3.30.0
>   - audio-speakers-symbolic rendering glitch (issue #11)
>   - *starred-symbolic 2px outline as per guidelines (issue #7)
>
> 3.29.90
>   - symbolic fingerprint, smartcard reader devices
>   - emoji category icons in symbolic form
>   - render script improvements by Sam Hewitt
>   - general cleanup and maintenance by Sam
>   - SIM status icons (symbolic)
>   - system-log-out-symbolic
>   - screen sharing status (issue #3)
>   - thicked strokes for *starred-symbolic (issue #4)
>   - iput-gaming and application-games consistent (Sam)
>   - bluetooth rendering fix (Sam)
>   - application-x-appliance alignment (Sam)
>   - tab-new, application-x-executable improvements (Sam)
>   - user-bookmarks metaphor (Sam)
>   - general grid alignment fixes by Sam
>   - SVG filesize optimalizations by Sam
>
> 3.28.0
> 3.27.90
>   - camera-switch-symbolic (bug #750285)
>   - highres sizing issue (bug #785574)
>   - vpn-noroute
>   - optional zopfli png optimizer
>   - audio-volume-* fuzzy (bug #709131)
>   - audio-volume-overamplified
>   - new metaphors for settings -- notifications, volume and privacy

[1]: https://gitlab.gnome.org/GNOME/adwaita-icon-theme/blob/master/NEWS
Sign in to join this conversation on GitHub.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

3 participants