Skip to content

Commit f1dc8cb

Browse files
authored
Merge pull request #38 from TuringLang/check-build
Rebuild while deps.jl is not generated correctly
2 parents 34b453c + 9238eb3 commit f1dc8cb

File tree

2 files changed

+8
-2
lines changed

2 files changed

+8
-2
lines changed

Project.toml

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,13 +1,14 @@
11
name = "Libtask"
2-
desc = "C shim for task copying in Turing"
32
uuid = "6f1fad26-d15e-5dc8-ae53-837a1d7b8c9f"
4-
repo = "https://github.com/TuringLang/Libtask.jl.git"
53
license = "MIT"
4+
desc = "C shim for task copying in Turing"
5+
repo = "https://github.com/TuringLang/Libtask.jl.git"
66
version = "0.3.0"
77

88
[deps]
99
BinaryProvider = "b99e7846-7c00-51b0-8f62-c81ae34c0232"
1010
Libdl = "8f399da3-3557-5675-b5ff-fb832c97cbdb"
11+
Pkg = "44cfe95a-1eb2-52ea-b672-e2afdf69b78f"
1112

1213
[extras]
1314
Test = "8dfed614-e22c-5e08-85e1-65c5234f0b40"

src/Libtask.jl

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -2,6 +2,11 @@ module Libtask
22

33
export CTask, consume, produce, TArray, get, tzeros, tfill, TRef
44

5+
if !isfile(joinpath((@__DIR__) |> dirname, "deps/desp.jl"))
6+
import Pkg
7+
Pkg.build("Libtask")
8+
end
9+
510
include("../deps/deps.jl"); check_deps();
611
include("taskcopy.jl")
712
include("tarray.jl")

0 commit comments

Comments
 (0)