weixin_39636057 2020-11-29 13:32
浏览 0

Fix scikit-learn build with Apple clang

Also adds latest version of scikit-learn, import tests, and updates dependencies.

The latest version of scikit-learn added a dependency on OpenMP, which is not provided by Apple Clang. The solution is to add an extra dependency on LLVM-OpenMP.

Successfully builds and passes all tests on macOS 10.14.5 with Clang 10.0.1 and Python 3.7.3.

该提问来源于开源项目:spack/spack

  • 写回答

5条回答 默认 最新

  • weixin_39636057 2020-11-29 13:32
    关注

    Can anyone take a look at this PR? I think if we remove the controversial changes, it should be safe to merge as is. py-scikit-learn did not work previously on macOS, and even with this PR it still doesn't work. I don't want to hold up adding the latest version of py-scikit-learn just because it doesn't seem to work on macOS. Maybe can investigate?

    评论

报告相同问题?