JuliaPerf / MCAnalyzer.jl

A set of tools for machine code analyzing of Julia code
Other
46 stars 9 forks source link

Support julia 1.10 #33

Open Uroc327 opened 3 weeks ago

Uroc327 commented 3 weeks ago

MCAnalyzer can't be installed on julia 1.10.4 right now:

(@v1.10) pkg> st
Status `~/.julia/environments/v1.10/Project.toml` (empty project)

(@v1.10) pkg> add MCAnalyzer
   Resolving package versions...
ERROR: Unsatisfiable requirements detected for package MCAnalyzer [a81df072]:
 MCAnalyzer [a81df072] log:
 ├─possible versions are: 0.1.0-0.3.3 or uninstalled
 ├─restricted to versions * by an explicit requirement, leaving only versions: 0.1.0-0.3.3
 ├─restricted by compatibility requirements with GPUCompiler [61eb1bfa] to versions: 0.1.0 or uninstalled, leaving only versions: 0.1.0
 │ └─GPUCompiler [61eb1bfa] log:
 │   ├─possible versions are: 0.1.0-0.26.5 or uninstalled
 │   ├─restricted by julia compatibility requirements to versions: 0.22.0-0.26.5 or uninstalled
 │   └─restricted by compatibility requirements with LLVM [929cbde3] to versions: 0.12.5-0.18.0 or uninstalled, leaving only versions: uninstalled
 │     └─LLVM [929cbde3] log:
 │       ├─possible versions are: 0.9.0-7.2.1 or uninstalled
 │       ├─restricted by compatibility requirements with MCAnalyzer [a81df072] to versions: 0.9.0-4.17.1
 │       │ └─MCAnalyzer [a81df072] log: see above
 │       └─restricted by julia compatibility requirements to versions: 4.0.0-7.2.1 or uninstalled, leaving only versions: 4.0.0-4.17.1
 └─restricted by compatibility requirements with LLVM [929cbde3] to versions: 0.3.1-0.3.3 or uninstalled — no versions left
   └─LLVM [929cbde3] log: see above
Seelengrab commented 3 weeks ago

Thanks for the issue! I haven't used MCAnalyzer.jl myself for a while, seems like the package broke sometime in 1.9 :grimacing:

(MCAnalyzer) pkg> resolve
ERROR: Unsatisfiable requirements detected for package libLLVM_jll [8f36deef]:
 libLLVM_jll [8f36deef] log:
 ├─possible versions are: 14.0.6 or uninstalled
 ├─restricted to versions * by an explicit requirement, leaving only versions: 14.0.6
 └─found to have no compatible versions left with LLVM_jll [86de99a1]
   └─LLVM_jll [86de99a1] log:
     ├─possible versions are: 6.0.1-17.0.6 or uninstalled
     ├─restricted to versions [9, 11-14] by MCAnalyzer [a81df072], leaving only versions: 9.0.1-14.0.6
     │ └─MCAnalyzer [a81df072] log:
     │   ├─possible versions are: 0.3.3 or uninstalled
     │   └─MCAnalyzer [a81df072] is fixed to version 0.3.3
     └─restricted to versions 13.0.1 by an explicit requirement, leaving only versions: 13.0.1

julia> versioninfo()
Julia Version 1.9.2
Commit e4ee485e909 (2023-07-05 09:39 UTC)
Platform Info:
  OS: Linux (x86_64-linux-gnu)
  CPU: 24 × AMD Ryzen 9 7900X 12-Core Processor
  WORD_SIZE: 64
  LIBM: libopenlibm
  LLVM: libLLVM-14.0.6 (ORCJIT, znver3)
  Threads: 1 on 24 virtual cores
Environment:
  JULIA_PKG_USE_CLI_GIT = true

I think this is just due to us being too conservative with the version bounds. I'll see whether they can be relaxed.

Seelengrab commented 3 weeks ago

Ok, it'll be a bit more involved because GPUCompiler changed their interface at some point :thinking:

Seelengrab commented 3 weeks ago

~Alright, feat/dependency_update should work on 1.9 & 1.10 now. I'll tag a release once https://github.com/JuliaPackaging/Yggdrasil/issues/8856 is fixed, which will make 1.8 work too. Let me know if the code on that branch works for you!~

Nevermind, it's still broken :(

Seelengrab commented 3 weeks ago

Alright, now feat/dependency_update should work on 1.10!