Skip to content

Commit

Permalink
Fix example dependencies.
Browse files Browse the repository at this point in the history
  • Loading branch information
c0gent committed Feb 17, 2017
1 parent 585ba77 commit e7efa21
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 28 deletions.
26 changes: 7 additions & 19 deletions examples/images/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -3,27 +3,15 @@ name = "images"
version = "0.1.0"
authors = ["Nick Sanders <cogciprocate@gmail.com>"]


# ocl = ["opencl_version_2_1"]
# ocl-core = ["opencl_version_2_1"]
# cl-sys = ["opencl_version_2_1"]
# opencl_version_2_1 = ["ocl", "ocl-core", "cl-sys"]

[dependencies]
# ocl = { path = "../../" }

ocl = { path = "/home/nick/src/github.com/cogciprocate/ocl", features = ["opencl_version_2_1"] }
ocl-core = { path = "/home/nick/src/github.com/cogciprocate/ocl-core", features = ["opencl_version_2_1"] }
cl-sys = { path = "/home/nick/src/github.com/cogciprocate/cl-sys", features = ["opencl_version_2_1"] }

# cl-sys = { git = "https://github.com/cogciprocate/cl-sys", features = ["opencl_version_2_1"] }
# ocl-core = { git = "https://github.com/cogciprocate/ocl-core", features = ["opencl_version_2_1"] }

colorify = "*"
image = "*"
ocl = { path = "../../" }
# ocl = { git = "https://github.com/cogciprocate/ocl" }
ocl-core = { git = "https://github.com/cogciprocate/ocl-core" }
cl-sys = { git = "https://github.com/cogciprocate/cl-sys" }


[replace]
# "cl-sys:0.2.1" = { git = "https://github.com/cogciprocate/cl-sys" }
# "ocl-core:0.3.2" = { git = "https://github.com/cogciprocate/ocl-core" }
"cl-sys:0.2.1" = { path = "/home/nick/src/github.com/cogciprocate/cl-sys", features = ["opencl_version_2_1"] }
"ocl-core:0.3.2" = { path = "/home/nick/src/github.com/cogciprocate/ocl-core", features = ["opencl_version_2_1"] }
"cl-sys:0.2.1" = { git = "https://github.com/cogciprocate/cl-sys" }
"ocl-core:0.3.2" = { git = "https://github.com/cogciprocate/ocl-core" }
9 changes: 0 additions & 9 deletions examples/opencl_2_1/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -8,18 +8,12 @@ opencl_version_2_1 = []
default = ["opencl_version_2_1"]

[dependencies]
# ocl = { path = "../../", features = ["opencl_version_2_1"] }
colorify = "*"

cl-sys = { git = "https://github.com/cogciprocate/cl-sys", features = ["opencl_version_2_1"] }
ocl-core = { git = "https://github.com/cogciprocate/ocl-core", features = ["opencl_version_2_1"] }
# ocl = { git = "https:///github.com/cogciprocate/ocl", features = ["opencl_version_2_1"] }
ocl = { path = "../../", features = ["opencl_version_2_1"] }

# ocl-core = { path = "/home/nick/src/github.com/cogciprocate/ocl-core", features = ["opencl_version_2_1"] }
# cl-sys = { path = "/home/nick/src/github.com/cogciprocate/cl-sys", features = ["opencl_version_2_1"] }
# ocl = { path = "../../", features = ["opencl_version_2_1"] }

# cl-sys = { git = "https://github.com/cogciprocate/cl-sys" }
# ocl-core = { git = "https://github.com/cogciprocate/ocl-core" }
# ocl = { git = "https:///github.com/cogciprocate/ocl" }
Expand All @@ -28,6 +22,3 @@ ocl = { path = "../../", features = ["opencl_version_2_1"] }
[replace]
"cl-sys:0.2.1" = { git = "https://github.com/cogciprocate/cl-sys", features = ["opencl_version_2_1"] }
"ocl-core:0.3.2" = { git = "https://github.com/cogciprocate/ocl-core", features = ["opencl_version_2_1"] }

# "cl-sys:0.2.1" = { path = "/home/nick/src/github.com/cogciprocate/cl-sys", features = ["opencl_version_2_1"] }
# "ocl-core:0.3.2" = { path = "/home/nick/src/github.com/cogciprocate/ocl-core", features = ["opencl_version_2_1"] }

0 comments on commit e7efa21

Please sign in to comment.