Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Use glmnet_jll instead of BinaryProvider #41

Merged
merged 1 commit into from
Feb 27, 2020
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
5 changes: 1 addition & 4 deletions .travis.yml
Original file line number Diff line number Diff line change
Expand Up @@ -3,10 +3,7 @@ os:
- linux
- osx
julia:
- 0.7
- 1.0
- 1.1
- 1.2
- 1.3
- nightly
notifications:
email: false
Expand Down
10 changes: 5 additions & 5 deletions Project.toml
Original file line number Diff line number Diff line change
Expand Up @@ -2,18 +2,18 @@ name = "GLMNet"
uuid = "8d5ece8b-de18-5317-b113-243142960cc6"
version = "0.4.2"

[compat]
julia = "0.7, 1.0"

[deps]
BinaryProvider = "b99e7846-7c00-51b0-8f62-c81ae34c0232"
Distributed = "8ba89e20-285c-5b6f-9357-94700520ee1b"
Distributions = "31c24e10-a181-5473-b8eb-7969acd0382f"
Libdl = "8f399da3-3557-5675-b5ff-fb832c97cbdb"
Printf = "de0858da-6303-5e67-8744-51eddeeeb8d7"
Random = "9a3f8284-a2c9-5f02-9a11-845980a1fd5c"
SparseArrays = "2f01184e-e22b-5df5-ae63-d93ebab69eaf"
StatsBase = "2913bbd2-ae8a-5f71-8c99-4fb6c76f3a91"
glmnet_jll = "78c6b45d-5eaf-5d68-bcfb-a5a2cb06c27f"

[compat]
glmnet_jll = "5"
julia = "1.3"

[extras]
Test = "8dfed614-e22c-5e08-85e1-65c5234f0b40"
Expand Down
3 changes: 1 addition & 2 deletions appveyor.yml
Original file line number Diff line number Diff line change
@@ -1,7 +1,6 @@
environment:
matrix:
- julia_version: 0.7
- julia_version: 1
- julia_version: 1.3
- julia_version: nightly

platform:
Expand Down
3 changes: 0 additions & 3 deletions deps/.gitignore

This file was deleted.

102 changes: 0 additions & 102 deletions deps/build.jl

This file was deleted.

15 changes: 2 additions & 13 deletions src/GLMNet.jl
Original file line number Diff line number Diff line change
@@ -1,21 +1,10 @@
__precompile__()

module GLMNet

using glmnet_jll
using Distributions, StatsBase
using Distributed, Printf, Random, SparseArrays


depsjl = joinpath(@__DIR__, "..", "deps", "deps.jl")
if isfile(depsjl)
include(depsjl)
else
error("GLMNet not properly installed. Please run Pkg.build(\"GLMNet\") and restart julia")
end

function __init__()
check_deps()
end

import Base.getindex, Base.convert, Base.size, Base.show
export glmnet!, glmnet, nactive, predict, glmnetcv, GLMNetPath, GLMNetCrossValidation, CompressedPredictorMatrix

Expand Down