quora / qmf

A fast and scalable C++ library for implicit-feedback matrix factorization models
Apache License 2.0
463 stars 97 forks source link

Install on mac #13

Open yananchen1989 opened 7 years ago

yananchen1989 commented 7 years ago

Can the qmf library install on mac ? thanks,

yananchen1989 commented 7 years ago

If can, how to install it

albietz commented 7 years ago

Hi, It compiles fine on my mac with clang (you need a recent Xcode installed). Did you get any specific errors?

yananchen1989 commented 7 years ago

Not yet. I see there is no instruction for how to install qmf on mac. Could you please give some steps? Thanks.

albietz commented 7 years ago

Sure, try this to install dependencies with Homebrew (I think lapack should already be in the system on OS X):

brew install cmake glog gflags

Then follow the same installation steps:

cmake .
make
make test

Let us know how it goes.

yananchen1989 commented 7 years ago

done. thanks

LiangqunLu commented 4 years ago

Following the comment above, the next step for 'cmake .' should be in the git qml directory because the file CMakeLists.txt is required.