Skip to content

Conversation

@terasakisatoshi
Copy link
Member

@terasakisatoshi terasakisatoshi commented Jun 29, 2020

This PR adds Dockerfile that builds Julia 1.5.0-rc1 for Armv7/Armv6 devices.

You can try pre-build binary via

# rpi3
docker pull terasakisatoshi/jlcross:rpi3-v1.5.0-rc1
# rpizero
docker pull terasakisatoshi/jlcross:rpizero-v1.5.0-rc1

Note that we've added JULIA_PRECOMPILE=0 to Make.user to pass building procedure, otherwise we can't finish.

This issue may happens to Tier3's system. I think JuliaLang/julia#33842 happens again.

Base  ───────────227.233298 seconds
Base64  ───────── 21.916886 seconds
CRC32c  ─────────  0.090803 seconds
SHA  ────────────  1.372108 seconds
FileWatching  ───  0.601783 seconds
Unicode  ────────  0.038136 seconds
Mmap  ───────────  0.711052 seconds
Serialization  ──  2.715313 seconds
Libdl  ──────────  0.197182 seconds
Printf  ─────────  2.193781 seconds
Markdown  ─────── 10.687471 seconds
LibGit2  ──────── 13.036388 seconds
Logging  ────────  0.397586 seconds
Sockets  ────────  2.877765 seconds
Profile  ────────  2.040841 seconds
Dates  ────────── 20.438833 seconds
DelimitedFiles  ─  0.716780 seconds
Random  ─────────  4.209028 seconds
UUIDs  ──────────  0.144898 seconds
Future  ─────────  0.024709 seconds
LinearAlgebra  ── 71.450742 seconds
SparseArrays  ─── 32.784123 seconds
SuiteSparse  ────  7.635411 seconds
Distributed  ────  6.458067 seconds
SharedArrays  ───  1.183572 seconds
Pkg  ────────────105.492334 seconds
Test  ───────────  6.821165 seconds
REPL  ───────────  0.000947 seconds
Statistics  ─────  1.560295 seconds
Stdlibs total  ──317.972035 seconds
Sysimage built. Summary:
Total ─────── 545.205984 seconds
Base: ─────── 227.233298 seconds 41.6784%
Stdlibs: ──── 317.972035 seconds 58.3215%
# <-----Stops forever

@terasakisatoshi
Copy link
Member Author

  • Note that, since we've skipped JULIA_PRECOMPILE=0, it takes much time to JIT compile for arbitrary actions even the most simple math in the world like 1+1 😂 .

@terasakisatoshi
Copy link
Member Author

@terasakisatoshi
Copy link
Member Author

Could someone post issue or PR to JuliaLang ? (not here)

@terasakisatoshi
Copy link
Member Author

We need add patch to generate_precompile.jl:

@terasakisatoshi
Copy link
Member Author

Yeah!

image

@terasakisatoshi
Copy link
Member Author

@terasakisatoshi
Copy link
Member Author

Ah sorry, I pushed Dockerfie rpi3 that of 1.4.2 ... I need fix

@terasakisatoshi terasakisatoshi merged commit b93e6ef into master Jul 8, 2020
@terasakisatoshi
Copy link
Member Author

I think it’s time to merge.

@terasakisatoshi terasakisatoshi deleted the add-Dockerfile-v1.5.0-rc1 branch July 8, 2020 12:54
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants