clang: error: : errorunsupported option '-fopenmp' on Mac OSX El Capitan building XGBoost

前端 未结 4 821
情歌与酒
情歌与酒 2020-12-04 22:10

I\'m trying to build XGBoost package for Python following these instructions:

Here is the complete solution to use OpenMP-enabled compilers to instal

4条回答
  •  北荒
    北荒 (楼主)
    2020-12-04 22:41

    Sir, perhaps you should use

    cd xgboost; cp make/minimum.mk ./config.mk; make -j4

    instead of

    cd xgboost; cp make/config.mk ./config.mk; make -j4

    as per the "Build On OSX" Section of build document

提交回复
热议问题