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

Package indexing takes very long when the package is deved #1334

Open
ArbitRandomUser opened this issue Dec 16, 2024 · 1 comment
Open

Package indexing takes very long when the package is deved #1334

ArbitRandomUser opened this issue Dec 16, 2024 · 1 comment

Comments

@ArbitRandomUser
Copy link
Contributor

ArbitRandomUser commented Dec 16, 2024

newpackage.zip

Package attached in .zip file
its a simple package made with package template ,

newpackage.jl simple import enzyme ,defines 1 function and exports it.

module newpackage
using Enzyme
# Write your package code here.
function f3()
    return 4
end

export f3
end

if a project is using this using the package in dev mode.
any change to the package source files causes lsp to index again and this takes very long , logs show it to be stuck on indexing the package

adding the package however does not cause lsp to stall.

@ArbitRandomUser
Copy link
Contributor Author

[ERROR][2024-12-16 16:08:56] .../vim/lsp/rpc.lua:770	"rpc"	"/usr/bin/julia"	"stderr"	"[ Info: Indexing newpackage... (0%)\n"
[ERROR][2024-12-16 16:11:40] .../vim/lsp/rpc.lua:770	"rpc"	"/usr/bin/julia"	"stderr"	'WARNING: both Libdl and ObjectF

here it takes about 3 minutes.

another package i have in development takes 5-6 minutes

[ERROR][2024-12-16 14:06:32] .../vim/lsp/rpc.lua:770	"rpc"	"/home/antineutrino/.julia/environments/nvim-lspconfig/bin/julia"	"stderr"	"[ Info: Indexing TMSimulator... (0%)\n"
[ERROR][2024-12-16 14:12:18] .../vim/lsp/rpc.lua:770	"rpc"	"/home/antineutrino/.julia/environments/nvim-lspconfig/bin/julia"	"stderr"	'WARNING: both DiffEqBase and BoundaryValueDiffEqCore export "AbsNormTerminationMode"; uses of it in module BoundaryValueD

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

No branches or pull requests

1 participant