Skip to content

Commit 7418122

Browse files
authored
Update to use jll artifact (#10)
* Update to use jll artifact * Remove testing with Julia v1.0 from travis * Remove Julia v1.0 from appveyor test matrix * included testing with julia v1 ie latest released add [compat] entry for LibSpatialIndex_jll * Update README.md to point to the BinaryBuilder script and the location of the artifacts.
1 parent 8d3bb84 commit 7418122

File tree

6 files changed

+8
-63
lines changed

6 files changed

+8
-63
lines changed

.travis.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@ os:
44
- linux
55
- osx
66
julia:
7-
- 1.0
7+
- 1.3
88
- 1
99
- nightly
1010
notifications:

Project.toml

Lines changed: 4 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -1,15 +1,14 @@
11
name = "LibSpatialIndex"
22
uuid = "f19c2e90-9d16-5f2d-a2a7-af3fb29e4907"
33
license = "MIT"
4-
version = "0.2.0"
4+
version = "0.3.0"
55

66
[deps]
7-
BinaryProvider = "b99e7846-7c00-51b0-8f62-c81ae34c0232"
8-
Libdl = "8f399da3-3557-5675-b5ff-fb832c97cbdb"
7+
LibSpatialIndex_jll = "00e98e2a-4326-5239-88cb-15dcbe1c18d0"
98

109
[compat]
11-
BinaryProvider = "0.5"
12-
julia = "1"
10+
julia = "1.3"
11+
LibSpatialIndex_jll = "1.8"
1312

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

README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22

33
[![Build Status](https://travis-ci.org/JuliaGeo/LibSpatialIndex.jl.svg?branch=master)](https://travis-ci.org/JuliaGeo/LibSpatialIndex.jl) [![Coverage Status](https://coveralls.io/repos/github/JuliaGeo/LibSpatialIndex.jl/badge.svg?branch=master&service=github)](https://coveralls.io/github/JuliaGeo/LibSpatialIndex.jl?branch=master)
44

5-
LibSpatialIndex.jl is a julia wrapper around the C API of [libspatialindex](https://github.com/libspatialindex/libspatialindex), for spatially indexing kD bounding box data.
5+
LibSpatialIndex.jl is a julia wrapper around the C API of [libspatialindex](https://github.com/libspatialindex/libspatialindex), for spatially indexing kD bounding box data. The Julia library (JLL) package is produced by the script at https://github.com/JuliaPackaging/Yggdrasil/tree/master/L/LibSpatialIndex and the resulting binary artifact is downloaded from https://github.com/JuliaBinaryWrappers/LibSpatialIndex_jll.jl.
66

77
# Quick Guide
88

appveyor.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
environment:
22
matrix:
3-
- julia_version: 1.0
3+
- julia_version: 1.3
44
- julia_version: 1
55
- julia_version: nightly
66

deps/build.jl

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

src/capi.jl

Lines changed: 1 addition & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -1,11 +1,6 @@
11
module C
22

3-
const depfile = joinpath(@__DIR__, "..", "deps", "deps.jl")
4-
if isfile(depfile)
5-
include(depfile)
6-
else
7-
error("libspatialindex not properly installed. Please run Pkg.build(\"LibSpatialIndex\")")
8-
end
3+
using LibSpatialIndex_jll
94

105
include("include/sidx_config.jl")
116
include("include/sidx_api.jl")

0 commit comments

Comments
 (0)