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

Update Julia to 1.7.0 #144

Open
wants to merge 1 commit into
base: main
Choose a base branch
from
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
10 changes: 5 additions & 5 deletions langs/julia.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -4,12 +4,12 @@ aliases:
name: "Julia"

install:
prepare:
apt:
- julia
apt:
- julia
manual: |
wget https://julialang-s3.julialang.org/bin/linux/x64/1.7/julia-1.7.0-linux-x86_64.tar.gz
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 update this to automatically detect the latest version, as suggested in https://github.com/raxod502/riju/blob/master/doc/tutorial/install.md?

tar xvf julia-*.tar.gz
Copy link
Member

Choose a reason for hiding this comment

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

Suggested change
tar xvf julia-*.tar.gz
tar -xf julia-*.tar.gz

rm julia-*.tar.gz
Copy link
Member

Choose a reason for hiding this comment

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

We don't actually need to clean things up since this script is run in a temporary directory.

ln -s julia-*/bin/julia /usr/local/bin/julia
Copy link
Member

Choose a reason for hiding this comment

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

Should the other files in the tarball also be installed?


install -d "${pkg}/opt/julia-language-server"

export JULIA_DEPOT_PATH="${pkg}/opt/julia-language-server"
Expand Down