Skip to content

Commit

Permalink
Bump Julia (1.11.2) (code-golf#1644)
Browse files Browse the repository at this point in the history
Co-authored-by: James Raspass <[email protected]>
  • Loading branch information
Yewzir and JRaspass authored Dec 3, 2024
1 parent a97a5f9 commit 2c7b89c
Show file tree
Hide file tree
Showing 4 changed files with 6 additions and 6 deletions.
4 changes: 2 additions & 2 deletions config/data/langs.toml
Original file line number Diff line number Diff line change
Expand Up @@ -1065,8 +1065,8 @@ $ARGS.positional[]

[Julia]
args = [ '/usr/bin/julia', '--color=yes', '--eval', '$code', '--' ]
size = '297 MiB'
version = '1.11.1'
size = '299 MiB'
version = '1.11.2'
website = 'https://julialang.org'
example = '''
# Printing
Expand Down
2 changes: 1 addition & 1 deletion docker/dev.Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@ COPY --from=codegolf/lang-go ["/", "/langs/go/rootfs/" ] # 3
COPY --from=codegolf/lang-rust ["/", "/langs/rust/rootfs/" ] # 351 MiB
COPY --from=codegolf/lang-haskell ["/", "/langs/haskell/rootfs/" ] # 339 MiB
COPY --from=codegolf/lang-zig ["/", "/langs/zig/rootfs/" ] # 300 MiB
COPY --from=codegolf/lang-julia ["/", "/langs/julia/rootfs/" ] # 297 MiB
COPY --from=codegolf/lang-julia ["/", "/langs/julia/rootfs/" ] # 299 MiB
COPY --from=codegolf/lang-crystal ["/", "/langs/crystal/rootfs/" ] # 269 MiB
COPY --from=codegolf/lang-odin ["/", "/langs/odin/rootfs/" ] # 258 MiB
COPY --from=codegolf/lang-dart ["/", "/langs/dart/rootfs/" ] # 235 MiB
Expand Down
2 changes: 1 addition & 1 deletion docker/live.Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -24,7 +24,7 @@ COPY --from=codegolf/lang-go ["/", "/langs/go/rootfs/" ] # 3
COPY --from=codegolf/lang-rust ["/", "/langs/rust/rootfs/" ] # 351 MiB
COPY --from=codegolf/lang-haskell ["/", "/langs/haskell/rootfs/" ] # 339 MiB
COPY --from=codegolf/lang-zig ["/", "/langs/zig/rootfs/" ] # 300 MiB
COPY --from=codegolf/lang-julia ["/", "/langs/julia/rootfs/" ] # 297 MiB
COPY --from=codegolf/lang-julia ["/", "/langs/julia/rootfs/" ] # 299 MiB
COPY --from=codegolf/lang-crystal ["/", "/langs/crystal/rootfs/" ] # 269 MiB
COPY --from=codegolf/lang-odin ["/", "/langs/odin/rootfs/" ] # 258 MiB
COPY --from=codegolf/lang-dart ["/", "/langs/dart/rootfs/" ] # 235 MiB
Expand Down
4 changes: 2 additions & 2 deletions langs/julia/Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@ FROM alpine:3.20 AS builder

RUN apk add --no-cache autoconf build-base cmake curl gfortran linux-headers python3

ENV CXXFLAGS=-flto LDFLAGS=-flto VER=1.11.1
ENV CXXFLAGS=-flto LDFLAGS=-flto VER=1.11.2

RUN curl -L https://github.com/JuliaLang/julia/releases/download/v$VER/julia-$VER.tar.gz \
| tar xz
Expand All @@ -18,7 +18,6 @@ FROM codegolf/lang-base

COPY --from=0 /lib/ld-musl-x86_64.so.1 /lib/
COPY --from=0 /usr/bin/julia /usr/bin/
COPY --from=0 /usr/lib/julia /usr/lib/julia
COPY --from=0 /usr/lib/libbrotlicommon.so.1 \
/usr/lib/libbrotlidec.so.1 \
/usr/lib/libcares.so.2 \
Expand All @@ -34,6 +33,7 @@ COPY --from=0 /usr/lib/libbrotlicommon.so.1 \
/usr/lib/libstdc++.so.6 \
/usr/lib/libunistring.so.5 \
/usr/lib/libzstd.so.1 /usr/lib/
COPY --from=0 /usr/lib/julia /usr/lib/julia

ENTRYPOINT ["julia"]

Expand Down

0 comments on commit 2c7b89c

Please sign in to comment.