Skip to content

Precompilation issue on windows (no gpu) #1559

@yolhan83

Description

@yolhan83

Hello, following #1550, the windows case (no gpu) isn't precompiling on main

julia> using Reactant_jll
julia> Reactant_jll.host_platform
Windows x86_64 {cuda_version=none, cxxstring_abi=cxx11, gpu=none, julia_version=1.11.6, libgfortran_version=5.0.0, mode=opt}
julia> Reactant_jll.is_available()
true
julia> using Reactant
Precompiling Reactant...
Info Given Reactant was explicitly requested, output will be shown live
ERROR: LoadError: could not load symbol "mlirDialectRegistryCreate":
The specified procedure could not be found.
in expression starting at C:\Users\yolha\.julia\packages\Reactant\Sx3Fe\src\Precompile.jl:56
in expression starting at C:\Users\yolha\.julia\packages\Reactant\Sx3Fe\src\Reactant.jl:1
in expression starting at stdin:6
  ✗ Reactant
  0 dependencies successfully precompiled in 24 seconds. 80 already precompiled.

ERROR: The following 1 direct dependency failed to precompile:

Reactant

Failed to precompile Reactant [3c362404-f566-11ee-1572-e11a4b42c853] to "C:\\Users\\yolha\\.julia\\compiled\\v1.11\\Reactant\\jl_5269.tmp".
ERROR: LoadError: could not load symbol "mlirDialectRegistryCreate":
The specified procedure could not be found.
in expression starting at C:\Users\yolha\.julia\packages\Reactant\Sx3Fe\src\Precompile.jl:56
in expression starting at C:\Users\yolha\.julia\packages\Reactant\Sx3Fe\src\Reactant.jl:1
in expression starting at stdin:

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