dmlc / XGBoost.jl

XGBoost Julia Package
Other
288 stars 110 forks source link

failed to compile in julia1.1 #58

Closed LengyanReader closed 5 years ago

LengyanReader commented 5 years ago

image

ablaom commented 5 years ago

On 1.1 / MacOS I can dev or add https://github.com/dmlc/XGBoost.jl into an empty env but add XGBoost fails. Maybe a recent release needs to be tagged??

(junk3) pkg> add XGBoost
  Updating registry at `~/.julia/registries/General`
  Updating git-repo `https://github.com/JuliaRegistries/General.git`
 Resolving package versions...
ERROR: Unsatisfiable requirements detected for package XGBoost [009559a3]:
 XGBoost [009559a3] log:
 ├─possible versions are: [0.0.1, 0.1.0, 0.2.0] or uninstalled
 ├─restricted to versions * by an explicit requirement, leaving only versions [0.0.1, 0.1.0, 0.2.0]
 └─restricted by julia compatibility requirements to versions: uninstalled — no versions left

(junk3) pkg> st
    Status `~/.julia/environments/junk3/Project.toml`
  (empty environment)

julia> versioninfo()
Julia Version 1.1.0
Commit 80516ca202 (2019-01-21 21:24 UTC)
Platform Info:
  OS: macOS (x86_64-apple-darwin14.5.0)
  CPU: Intel(R) Core(TM) i5-3427U CPU @ 1.80GHz
  WORD_SIZE: 64
  LIBM: libopenlibm
  LLVM: libLLVM-6.0.1 (ORCJIT, ivybridge)
Environment:
  JULIA_PATH = /Applications/Julia-1.1.app/Contents/Resources/julia/bin/julia

(junk3) pkg> dev https://github.com/dmlc/XGBoost.jl
  Updating git-repo `https://github.com/dmlc/XGBoost.jl`
[ Info: Path `/Users/anthony/.julia/dev/XGBoost` exists and looks like the correct package, using existing path
 Resolving package versions...
  Updating `~/.julia/environments/junk3/Project.toml`
  [009559a3] + XGBoost v0.2.0+ [`~/.julia/dev/XGBoost`]
  Updating `~/.julia/environments/junk3/Manifest.toml`
  [9e28174c] + BinDeps v0.8.10
  [34da2185] + Compat v2.1.0
  [30578b45] + URIParser v0.4.0
  [009559a3] + XGBoost v0.2.0+ [`~/.julia/dev/XGBoost`]
  [2a0f44e3] + Base64 
  [ade2ca70] + Dates 
  [8bb1440f] + DelimitedFiles 
  [8ba89e20] + Distributed 
  [b77e0a4c] + InteractiveUtils 
  [76f85450] + LibGit2 
  [8f399da3] + Libdl 
  [37e2e46d] + LinearAlgebra 
  [56ddb016] + Logging 
  [d6f4376e] + Markdown 
  [a63ad114] + Mmap 
  [44cfe95a] + Pkg 
  [de0858da] + Printf 
  [3fa0cd96] + REPL 
  [9a3f8284] + Random 
  [ea8e919c] + SHA 
  [9e88b42a] + Serialization 
  [1a1011a3] + SharedArrays 
  [6462fe0b] + Sockets 
  [2f01184e] + SparseArrays 
  [10745b16] + Statistics 
  [8dfed614] + Test 
  [cf7118a7] + UUIDs 
  [4ec0a83e] + Unicode 
  Building XGBoost → `~/.julia/dev/XGBoost/deps/build.log`

(junk3) pkg> 
ViralBShah commented 5 years ago

This worked fine for me.

ViralBShah commented 5 years ago

Also why #61 will help.

ablaom commented 5 years ago

Yes, add now works for me.