Skip to content

Very slow precompile (>50min) on julia 1.6.0 on Windows #1554

@yha

Description

@yha
    Updating registry at `C:\Users\sternlab\.julia\registries\General`
    Updating git-repo `https://github.com/JuliaRegistries/General.git`
   Resolving package versions...
   Installed Requires ─────── v1.1.3
   Installed FillArrays ───── v0.11.7
   Installed ColorTypes ───── v0.10.12
   Installed StatsBase ────── v0.33.4
   Installed ChainRulesCore ─ v0.9.34
   Installed StaticArrays ─── v1.1.0
   Installed Zygote ───────── v0.6.7
   Installed Memoize ──────── v0.4.4
   Installed GPUCompiler ──── v0.10.0
   Installed CUDA ─────────── v2.6.2
    Updating `C:\Users\sternlab\.julia\environments\v1.6\Project.toml`
  [587475ba] + Flux v0.12.0
  [e88e6eb3] + Zygote v0.6.7
  [700de1a5] + ZygoteRules v0.2.1
    Updating `C:\Users\sternlab\.julia\environments\v1.6\Manifest.toml`
  [621f4979] + AbstractFFTs v1.0.1
  [1520ce14] + AbstractTrees v0.3.4
  [79e6a3ab] + Adapt v3.2.0
  [ab4f0b2a] + BFloat16s v0.1.0
  [fa961155] + CEnum v0.4.1
  [052768ef] + CUDA v2.6.2
  [082447d4] + ChainRules v0.7.56
  [d360d2e6] + ChainRulesCore v0.9.34
  [944b1d66] + CodecZlib v0.7.0
  [3da002f7] + ColorTypes v0.10.12
  [5ae59095] + Colors v0.12.6
  [bbf7d656] + CommonSubexpressions v0.3.0
  [34da2185] + Compat v3.25.0
  [9a962f9c] + DataAPI v1.6.0
  [864edb3b] + DataStructures v0.18.9
  [163ba53b] + DiffResults v1.0.3
  [b552c78f] + DiffRules v1.0.2
  [e2ba6199] + ExprTools v0.1.3
  [1a297f60] + FillArrays v0.11.7
  [53c48c17] + FixedPointNumbers v0.8.4
  [587475ba] + Flux v0.12.0
  [f6369f11] + ForwardDiff v0.10.17
  [d9f16b24] + Functors v0.2.1
  [0c68f7d7] + GPUArrays v6.2.0
  [61eb1bfa] + GPUCompiler v0.10.0
  [7869d1d1] + IRTools v0.4.2
  [692b3bcd] + JLLWrappers v1.2.0
  [e5e0dc1b] + Juno v0.8.4
  [929cbde3] + LLVM v3.6.0
  [1914dd2f] + MacroTools v0.5.6
  [e89f7d12] + Media v0.5.0
  [c03570c3] + Memoize v0.4.4
  [e1d29d7a] + Missings v0.4.5
  [872c559c] + NNlib v0.7.17
  [77ba4419] + NaNMath v0.3.5
  [bac558e1] + OrderedCollections v1.4.0
  [189a3867] + Reexport v1.0.0
  [ae029012] + Requires v1.1.3
  [6c6a2e73] + Scratch v1.0.3
  [a2af1166] + SortingAlgorithms v0.3.1
  [276daf66] + SpecialFunctions v1.3.0
  [90137ffa] + StaticArrays v1.1.0
  [2913bbd2] + StatsBase v0.33.4
  [a759f4b9] + TimerOutputs v0.5.8
  [3bb67fe8] + TranscodingStreams v0.9.5
  [a5390f91] + ZipFile v0.9.3
  [e88e6eb3] + Zygote v0.6.7
  [700de1a5] + ZygoteRules v0.2.1
  [efe28fd5] + OpenSpecFun_jll v0.5.3+4
  [0dad84c5] + ArgTools
  [56f22d72] + Artifacts
  [2a0f44e3] + Base64
  [ade2ca70] + Dates
  [8bb1440f] + DelimitedFiles
  [8ba89e20] + Distributed
  [f43a241f] + Downloads
  [b77e0a4c] + InteractiveUtils
  [4af54fe1] + LazyArtifacts
  [b27032c2] + LibCURL
  [76f85450] + LibGit2
  [8f399da3] + Libdl
  [37e2e46d] + LinearAlgebra
  [56ddb016] + Logging
  [d6f4376e] + Markdown
  [a63ad114] + Mmap
  [ca575930] + NetworkOptions
  [44cfe95a] + Pkg
  [de0858da] + Printf
  [9abbd945] + Profile
  [3fa0cd96] + REPL
  [9a3f8284] + Random
  [ea8e919c] + SHA
  [9e88b42a] + Serialization
  [1a1011a3] + SharedArrays
  [6462fe0b] + Sockets
  [2f01184e] + SparseArrays
  [10745b16] + Statistics
  [fa267f1f] + TOML
  [a4e569a6] + Tar
  [8dfed614] + Test
  [cf7118a7] + UUIDs
  [4ec0a83e] + Unicode
  [e66e0078] + CompilerSupportLibraries_jll
  [deac9b47] + LibCURL_jll
  [29816b5a] + LibSSH2_jll
  [c8ffd9c3] + MbedTLS_jll
  [14a3606d] + MozillaCACerts_jll
  [83775a58] + Zlib_jll
  [8e850ede] + nghttp2_jll
  [3f19e933] + p7zip_jll
Precompiling project...
  Progress [========================================>]  52/53
  ◐ Flux
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                          Progress [========================================>]  53/53
53 dependencies successfully precompiled in 3367 seconds

julia> versioninfo()
Julia Version 1.6.0
Commit f9720dc2eb (2021-03-24 12:55 UTC)
Platform Info:
  OS: Windows (x86_64-w64-mingw32)
  CPU: Intel(R) Core(TM) i9-7940X CPU @ 3.10GHz
  WORD_SIZE: 64
  LIBM: libopenlibm
  LLVM: libLLVM-11.0.1 (ORCJIT, skylake-avx512)

Most of that time the progress bar was on 52/53, with only Flux still precompiling.
On WSL on the same machine precompilation finished in 59 seconds (but the environment was not identical)

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions