Commit Graph

3 Commits

Author SHA1 Message Date
Wael Nasreddine
fb2e964012
python3Packages.xgboost: fix the build on Darwin (#65703) 2019-07-31 18:29:11 -07:00
Nikolay Amiantov
e188f6765a xgboost: 0.72 -> 0.90 2019-06-04 01:36:27 +03:00
Maximilian Bosch
88a35d8bb5
pythonPackages.xgboost: fix build
The setup.py of `python-package` contains some path resolution magic to
find `libxgboost.so` which is needed for the python API.

Unfortunately the code is incompatible with Nix as it isn't compatible
with the store-based structure for each package and tries to express the
location of the shared object with relative paths.

The detection in `setup.py` and `xgboost/libpath.py` has been either
removed entirely or patched to link to the proper store path of the
`libxgboost` build input.

See https://hydra.nixos.org/build/77702715 for further reference.
2018-07-19 13:32:25 +02:00