|
1 | 1 | # Libtask |
2 | | -[](https://github.com/TuringLang/Libtask.jl/actions) |
3 | | -[](https://github.com/TuringLang/Libtask.jl/actions) |
4 | 2 |
|
| 3 | +[](https://github.com/TuringLang/Libtask.jl/actions?branch=master) |
5 | 4 |
|
6 | 5 | C shim for [task copying](https://github.com/JuliaLang/julia/issues/4085) in Turing |
7 | 6 |
|
@@ -90,28 +89,18 @@ a = copy(ctask) |
90 | 89 |
|
91 | 90 | Note: The [Turing](https://github.com/TuringLang/Turing.jl) probabilistic programming language uses this task copying feature in an efficient implementation of the [particle filtering](https://en.wikipedia.org/wiki/Particle_filter) sampling algorithm for arbitary order [Markov processes](https://en.wikipedia.org/wiki/Markov_model#Hidden_Markov_model). |
92 | 91 |
|
93 | | -Disclaimer: This feature is still experimental and should only be used with caution. Some discussions on its potential caveats can be found [here](https://github.com/JuliaLang/julia/pull/15078). |
94 | | - |
95 | | -## For Developer |
96 | | - |
97 | | -### Release a new version |
98 | | - - If you have updates of the binary dylib (files under the `deps` |
99 | | - directory), you should: |
100 | | - - Update the version/commit information in [this |
101 | | - file](https://github.com/JuliaPackaging/Yggdrasil/blob/master/L/Libtask/build_tarballs.jl) |
102 | | - by a pull request |
103 | | - - Wait for that PR being merged, then you will find a new |
104 | | - release of the dylib |
105 | | - [here](https://github.com/JuliaBinaryWrappers/Libtask_jll.jl/releases) |
106 | | - - Then, in the root directory of the Yggdrasil project, run |
107 | | - `https://github.com/JuliaBinaryWrappers/Libtask_jll.jl/releases`, |
108 | | - you will get a build file like |
109 | | - `build/build_Libtask.v0.3.1.jl`. Copy the binary download |
110 | | - information (the variables `bin_prefix` and `download_info`) |
111 | | - from that generated file to `deps/build.jl` in our repo and |
112 | | - commit the changes. |
113 | | - - If you don't make any changes about the dylib, just ignore the |
114 | | - first step and go to next one. |
115 | | - - Update the new version number in `Project.toml`, ping |
116 | | - @JuliaRegistrator with `@JuliaRegistrator register` in a |
117 | | - comment. |
| 92 | +## Disclaimer |
| 93 | + |
| 94 | +This feature is still experimental and should only be used with caution. Some discussions on its potential caveats can be found [here](https://github.com/JuliaLang/julia/pull/15078). |
| 95 | + |
| 96 | +## Julia nightly |
| 97 | + |
| 98 | +Libtask uses the `libtask_julia` library which is pre-built for Julia versions 1.3, 1.4, and 1.5 and |
| 99 | +distributed via the [Libtask_jll](https://github.com/JuliaBinaryWrappers/Libtask_jll.jl/) package. |
| 100 | + |
| 101 | +Julia nightly might not be compatible with the latest version of the `libtask_julia` library and is |
| 102 | +not officially supported. If you want to use Julia nightly, you have to add the Libtask_jll package |
| 103 | +manually: |
| 104 | +```julia |
| 105 | +julia> ] add https://github.com/JuliaBinaryWrappers/Libtask_jll.jl.git |
| 106 | +``` |
0 commit comments