Skip to content

Commit 7aea09e

Browse files
Use BB provided libraries (#12)
1 parent a51f1f8 commit 7aea09e

File tree

5 files changed

+11
-45
lines changed

5 files changed

+11
-45
lines changed

.travis.yml

Lines changed: 9 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,10 +2,18 @@ language: julia
22

33
os:
44
- linux
5+
- osx
6+
- windows
57

68
julia:
9+
- 1.3
710
- nightly
8-
- 1.0
11+
12+
notifications:
13+
email: false
14+
15+
git:
16+
depth: 99999999
917

1018
after_success:
1119
- julia -e 'using Pkg; cd(Pkg.dir("SuiteSparseGraphBLAS")); Pkg.add("Coverage"); using Coverage; Codecov.submit(process_folder())'

Project.toml

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -4,12 +4,11 @@ authors = ["Abhinav Mehndiratta <[email protected]>"]
44
version = "0.3.2"
55

66
[deps]
7-
BinaryProvider = "b99e7846-7c00-51b0-8f62-c81ae34c0232"
87
GraphBLASInterface = "5f047416-9681-11e9-0804-033d9936201f"
98
Libdl = "8f399da3-3557-5675-b5ff-fb832c97cbdb"
109
Printf = "de0858da-6303-5e67-8744-51eddeeeb8d7"
10+
SuiteSparseGraphBLAS_jll = "44cc8b2a-fe03-5802-9b90-2102cf0b4e7e"
1111
Test = "8dfed614-e22c-5e08-85e1-65c5234f0b40"
1212

1313
[compat]
14-
BinaryProvider = "0.5"
1514
julia = "1"

REQUIRE

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

deps/build.jl

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

src/SuiteSparseGraphBLAS.jl

Lines changed: 1 addition & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -2,13 +2,8 @@ module SuiteSparseGraphBLAS
22

33
import Libdl: dlopen_e, dlsym
44
using GraphBLASInterface
5+
using SuiteSparseGraphBLAS_jll: libgraphblas
56

6-
const depsjl_path = joinpath(@__DIR__, "..", "deps", "deps.jl")
7-
if !isfile(depsjl_path)
8-
error("SuiteSparseGraphBLAS not installed properly, run Pkg.build(\"SuiteSparseGraphBLAS\"), restart Julia and try again")
9-
end
10-
11-
include(depsjl_path)
127
include("structures.jl")
138
include("global_variables.jl")
149
include("utils.jl")
@@ -21,10 +16,6 @@ const valid_desc_types = Union{GrB_Descriptor, GrB_NULL_Type}
2116
graphblas_lib = C_NULL
2217

2318
function __init__()
24-
check_deps()
25-
26-
global libgraphblas
27-
2819
global graphblas_lib = dlopen_e(libgraphblas)
2920

3021
function load_global(str)

0 commit comments

Comments
 (0)