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

Use a different version number for the LS and SSP #289

Merged
merged 8 commits into from
May 24, 2024

Conversation

davidanthoff
Copy link
Member

Fixes #.

For every PR, please check the following:

@@ -229,10 +229,11 @@ function getstore(ssi::SymbolServerInstance, environment_path::AbstractString, p
# 1.11 introduces the --compiled-modules=existing option, which should be much faster than no
# as of 2023-11-09, loading Pkg with --compiled-modules=no also changes something with the
# active project, which breaks the server.jl script
p = if VERSION > v"1.11-"
open(pipeline(Cmd(`$jl_cmd --code-coverage=$(use_code_coverage==0 ? "none" : "user") --startup-file=no --compiled-modules=existing --history-file=no --project=$environment_path $server_script $(ssi.store_path) $pipename`, env=env_to_use), stderr=stderr), read=true, write=true)
symbol_server_julia_version = VersionNumber(readchomp(Cmd(`$(ssi.julia_exe_path) --startup-file=no --history-file=no -e "println(VERSION)"`)))
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Can we make this julia -v instead? Will require a bit of custom parsing, but should still be more robust I think?

Copy link
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

And faster... I was just not sure whether that format of that is guaranteed to stay stable? But I guess we can deal with that if it changes.

I'll change it to julia -v once I've got the whole thing working end-to-end, need to get this interdependency chaos I have locally right now sorted out first ;)

@davidanthoff davidanthoff merged commit 01ac1a0 into master May 24, 2024
37 checks passed
@davidanthoff davidanthoff deleted the different-jl-ls-ssp branch May 24, 2024 17:49
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