Skip to content

Commit d25c0a5

Browse files
committed
Merge branch 'master' of github.com:SimonDanisch/PackageCompiler.jl
2 parents b8b2ac0 + b84a4e8 commit d25c0a5

File tree

1 file changed

+7
-4
lines changed

1 file changed

+7
-4
lines changed

README.md

Lines changed: 7 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -15,17 +15,20 @@ using PackageCompiler
1515

1616
# This command will use the runtest.jl of Matcha + UnicodeFun to find out what functions to precompile!
1717
# force = false to not force overwriting julia's current system image
18-
PackageCompiler.compile_package("Matcha", "UnicodeFun", force = false, reuse = false)
18+
compile_package("Matcha", "UnicodeFun", force = false, reuse = false)
1919

2020
# build again, reusing the snoop file
21-
PackageCompiler.compile_package("Matcha", "UnicodeFun", force = false, reuse = true)
21+
compile_package("Matcha", "UnicodeFun", force = false, reuse = true)
2222

2323
# You can define a file that will get run for snooping explicitly like this:
2424
# this makes sure, that binary gets cached for all functions called in `for_snooping.jl`
25-
PackageCompiler.compile_package("Matcha", "relative/path/for_snooping.jl")
25+
compile_package("Matcha", "relative/path/for_snooping.jl")
2626

2727
# if you used force and want your old system image back (force will overwrite the default system image Julia uses) you can run:
28-
PackageCompiler.revert()
28+
revert()
29+
30+
# Or if you simply want to get a native system image e.g. when you have downloaded the generic Julia install:
31+
build_clean_image()
2932
```
3033

3134

0 commit comments

Comments
 (0)