Skip to content

Commit 83791f7

Browse files
authored
Migrate from BinDeps to BinaryBuilder / JLL (#40)
* Migrate from BinDeps to BinaryBuilder / JLL, except the nash part * Remove `BinDeps` and `Homebrew` dependencies (fixes #38) * Add `lrslib_jll` dependency * Delete `deps/` (it's no longer used) * make method signature more specific, so that there is no ambiguity with its Polyhedra.jl parent * dummy commit to trigger CI re-run * bump Polyhedra.jl dependency to 0.6.14 * Require lrslib_jll >= 0.2.0 See JuliaPackaging/Yggdrasil#2875 * No need to specialize to HIndex anymore See discussion in #40 (comment) * Require lrslib_jll == 0.2.0 See #40 (comment)
1 parent 78601f8 commit 83791f7

File tree

6 files changed

+5
-147
lines changed

6 files changed

+5
-147
lines changed

Project.toml

Lines changed: 4 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -4,18 +4,16 @@ repo = "https://github.com/JuliaPolyhedra/LRSLib.jl.git"
44
version = "0.5.0"
55

66
[deps]
7-
BinDeps = "9e28174c-4ba2-5203-b857-d8d62c4213ee"
8-
Homebrew = "d9be37ee-ecc9-5288-90f1-b9ca67657a75"
97
Libdl = "8f399da3-3557-5675-b5ff-fb832c97cbdb"
108
LinearAlgebra = "37e2e46d-f89d-539d-b4ee-838fcccc9c8e"
119
Markdown = "d6f4376e-aef5-505a-96c1-9c027394607a"
1210
Polyhedra = "67491407-f73d-577b-9b50-8179a7c68029"
11+
lrslib_jll = "3873f7d0-7b7c-52c3-bdf4-8ab39b8f337a"
1312

1413
[compat]
15-
BinDeps = "0.7, 0.8, 1"
16-
Homebrew = "0.7"
17-
Polyhedra = "0.6.8"
18-
julia = "1"
14+
Polyhedra = "0.6.14"
15+
julia = "1.3"
16+
lrslib_jll = "= 0.2.0"
1917

2018
[extras]
2119
Combinatorics = "861a8166-3701-5b0c-9a16-15d98fcdc6aa"

deps/.gitignore

Lines changed: 0 additions & 6 deletions
This file was deleted.

deps/build.jl

Lines changed: 0 additions & 110 deletions
This file was deleted.

deps/makefile.liblrsnash

Lines changed: 0 additions & 7 deletions
This file was deleted.

deps/makefile.osx.patch

Lines changed: 0 additions & 11 deletions
This file was deleted.

src/LRSLib.jl

Lines changed: 1 addition & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -1,16 +1,10 @@
11
module LRSLib
22

3-
using BinDeps
43
using Polyhedra
54
using LinearAlgebra
5+
using lrslib_jll
66
using Markdown
77

8-
if isfile(joinpath(dirname(@__FILE__),"..","deps","deps.jl"))
9-
include("../deps/deps.jl")
10-
else
11-
error("LRSLib not properly installed. Please run Pkg.build(\"LRSLib\")")
12-
end
13-
148
macro lrs_ccall(f, args...)
159
quote
1610
ret = ccall(($"lrs_$(f)_gmp", liblrs), $(map(esc,args)...))

0 commit comments

Comments
 (0)