Skip to content

Commit ec8de79

Browse files
Merge pull request #18 from terasakisatoshi/use-PackageCompiler_not_X
Use package compiler not x
2 parents eddac65 + 15f572b commit ec8de79

File tree

2 files changed

+6
-6
lines changed

2 files changed

+6
-6
lines changed

Dockerfile

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -81,16 +81,16 @@ using Revise \n\
8181
RUN julia -E 'using Pkg; \
8282
Pkg.add(["Atom", "Juno"]); \
8383
Pkg.add(["Plots", "GR", "PyCall", "DataFrames"]); \
84-
Pkg.add(PackageSpec(url="https://github.com/KristofferC/PackageCompilerX.jl.git",rev="master")); \
85-
using Atom, Juno, PackageCompilerX; # for precompilation\
84+
Pkg.add(PackageSpec(url="https://github.com/JuliaLang/PackageCompiler.jl.git",rev="master")); \
85+
using Atom, Juno, PackageCompiler; # for precompilation\
8686
'
8787

88-
# Do Ahead of Time Compilation using PackageCompilerX
88+
# Do Ahead of Time Compilation using PackageCompiler
8989
# For some technical reason, we switch default user to root then we switch back again
9090
USER root
9191
RUN julia --trace-compile="traced.jl" -e 'using OhMyREPL, Revise, Plots, PyCall, DataFrames' && \
92-
julia -e 'using PackageCompilerX; \
93-
PackageCompilerX.create_sysimage([:OhMyREPL, :Revise, :Plots, :GR, :PyCall, :DataFrames]; precompile_statements_file="traced.jl", replace_default=true) \
92+
julia -e 'using PackageCompiler; \
93+
PackageCompiler.create_sysimage([:OhMyREPL, :Revise, :Plots, :GR, :PyCall, :DataFrames]; precompile_statements_file="traced.jl", replace_default=true) \
9494
' && \
9595
rm traced.jl
9696
# Make NB_USER Occupy julia binary

README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,7 @@
1212

1313
- This repository gives us some useful techniques such as:
1414
1. how to utilize Docker Docker Compose with your Julia workflow.
15-
2. how to customize Julia's system image via PackageCompilerX.jl to reduce an overhead of package's loading time e.g. Plots.jl, PyCall.jl, or DataFrames.jl etc...
15+
2. how to customize Julia's system image via PackageCompiler.jl to reduce an overhead of package's loading time e.g. Plots.jl, PyCall.jl, or DataFrames.jl etc...
1616
3. how to share our work on the Internet. Check our repository on Binder from [![Binder](https://mybinder.org/badge_logo.svg)](https://mybinder.org/v2/gh/terasakisatoshi/MyWorkflow.jl/master)
1717
4. how to use GitHub actions as a CI functionality.
1818

0 commit comments

Comments
 (0)