Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Trying to run Julia on armv6l Arch-linux (Raspberry Pi) #5981

Closed
keyle opened this issue Feb 28, 2014 · 7 comments
Closed

Trying to run Julia on armv6l Arch-linux (Raspberry Pi) #5981

keyle opened this issue Feb 28, 2014 · 7 comments
Labels
system:arm ARMv7 and AArch64

Comments

@keyle
Copy link

keyle commented Feb 28, 2014

Pardon my limited knowledge, but I'm trying to make Julia on my raspberry pi (mini server at home)

I get the following error:
Makefile:827: *** "unknown arch for openblas cross-compile". Stop.

Full log:

[root@mini julia]# make
Cloning into 'deps/Rmath'...
remote: Reusing existing pack: 336, done.
remote: Total 336 (delta 0), reused 0 (delta 0)
Receiving objects: 100% (336/336), 248.73 KiB | 97.00 KiB/s, done.
Resolving deltas: 100% (219/219), done.
Checking connectivity... done.
Submodule path 'deps/Rmath': checked out 'e61abe6ff3e2f6a2f13e204d68caea7309253915'
Cloning into 'deps/libuv'...
remote: Counting objects: 18710, done.
remote: Compressing objects: 100% (7419/7419), done.
remote: Total 18710 (delta 11229), reused 18710 (delta 11229)
Receiving objects: 100% (18710/18710), 10.97 MiB | 1.37 MiB/s, done.
Resolving deltas: 100% (11229/11229), done.
Checking connectivity... done.
Submodule path 'deps/libuv': checked out 'b9527da10c03d5d77bbe55f472607f182fba7bb4'
Cloning into 'deps/openlibm'...
remote: Reusing existing pack: 3917, done.
remote: Total 3917 (delta 0), reused 0 (delta 0)
Receiving objects: 100% (3917/3917), 4.11 MiB | 733.00 KiB/s, done.
Resolving deltas: 100% (1864/1864), done.
Checking connectivity... done.
Submodule path 'deps/openlibm': checked out '682198cad49f186fd3ce31c6e965c3f332581a8e'
Cloning into 'deps/openspecfun'...
remote: Reusing existing pack: 162, done.
remote: Total 162 (delta 0), reused 0 (delta 0)
Receiving objects: 100% (162/162), 141.12 KiB | 113.00 KiB/s, done.
Resolving deltas: 100% (64/64), done.
Checking connectivity... done.
Submodule path 'deps/openspecfun': checked out '13863b3f7dd67aa44cf042a62b740b011940133f'
Cloning into 'doc/juliadoc'...
remote: Reusing existing pack: 103, done.
remote: Total 103 (delta 0), reused 0 (delta 0)
Receiving objects: 100% (103/103), 32.36 KiB | 0 bytes/s, done.
Resolving deltas: 100% (45/45), done.
Checking connectivity... done.
Submodule path 'doc/juliadoc': checked out '300b72cd13fe9b54b938a0b49416e4d860181d0f'
Makefile:827: *** "unknown arch for openblas cross-compile".  Stop.
Makefile:43: recipe for target 'julia-release' failed
make[1]: *** [julia-release] Error 2
Makefile:32: recipe for target 'release' failed
make: *** [release] Error 2
[root@mini julia]#

System info

[root@mini julia]# uname -a
Linux mini 3.10.25-1-ARCH #1 PREEMPT Mon Dec 23 16:07:25 MST 2013 armv6l GNU/Linux

Any help or tips much appreciated.

@keyle
Copy link
Author

keyle commented Feb 28, 2014

Never mind I just read carefully and it clearly says "x86/64 systems".

Ah well.

Thanks.

@keyle keyle closed this as completed Feb 28, 2014
@tkelman
Copy link
Contributor

tkelman commented Feb 28, 2014

A port to ARM is something a few people have tried to look at, see #3134 - there are a few Makefile changes that ihnorton had to do for ARM. Also which LLVM version you use (see deps/Versions.make) can make a big difference to how far the compilation gets. Expect building LLVM to take a looong time.

@ViralBShah ViralBShah added the system:arm ARMv7 and AArch64 label Sep 14, 2014
@ViralBShah
Copy link
Member

We now build on ARMv7, but Raspberry Pi may be a generation older, that hasn't been tried yet.

@tkelman
Copy link
Contributor

tkelman commented Sep 14, 2014

I have a Gumstix ARM sitting on my desk that I think is ARMv6, not sure how to check. Would it be worth trying to turn on Ubuntu ARM builders on the PPA, for not-very-powerful ARM systems?

@ViralBShah
Copy link
Member

localhost:~/julia $ arch
armv7l

Good idea to turn on Ubuntu ARM builders on the PPA. Cc: @staticfloat

@ViralBShah
Copy link
Member

Also verified on Cortex A15. I do not fully understand the product naming schemes of various ARM manufacturers. /proc/cpuinfo is often helpful too.

@ViralBShah
Copy link
Member

According to http://llvm.org/docs/HowToBuildOnARM.html LLVM should build on ARMv6 too. So perhaps it is just a matter of trying and fixing a few things.

Cc: @ihnorton

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
system:arm ARMv7 and AArch64
Projects
None yet
Development

No branches or pull requests

3 participants