-
-
Notifications
You must be signed in to change notification settings - Fork 8.8k
Closed
Description
re #5593 v1.1.0rc1, when trying to build from source on OSX 10.13.16 High Sierra, I get compilation failure:
$ mkdir build
$ cd build
$ cmake ..
$ make -j4
...
[ 72%] Building CXX object src/CMakeFiles/objxgboost.dir/metric/rank_metric.cc.o
[ 73%] Building CXX object src/CMakeFiles/objxgboost.dir/metric/survival_metric.cc.o
[ 75%] Building CXX object src/CMakeFiles/objxgboost.dir/objective/aft_obj.cc.o
[ 76%] Building CXX object src/CMakeFiles/objxgboost.dir/objective/hinge.cc.o
/my/source/github.com/dmlc/xgboost/src/metric/survival_metric.cc:80:56: error:
variable 'aft_loss_distribution_scale' must have explicitly specified data sharing attributes
= loss_->Loss(y_lower[i], y_upper[i], yhat[i], aft_loss_distribution_scale);
^~~~~~~~~~~~~~~~~~~~~~~~~~~
$ g++ --version
Apple LLVM version 10.0.0 (clang-1000.11.45.5)
Target: x86_64-apple-darwin17.7.0
Thread model: posix
InstalledDir: /usr/local/bin
using libomp-10.0.0.high_sierra.bottle.tar.gz from homebrew
hcho3
Metadata
Metadata
Assignees
Labels
No labels