forked from Shannon-Data/ShannonBase
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
1 parent
de797a5
commit 8ce5647
Showing
1 changed file
with
9 additions
and
2 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,5 +1,12 @@ | ||
For Machine Learing Libs. We will incorporate some ML libs for query optimization in MySQL. | ||
(https://github.com/microsoft/LightGBM) | ||
|
||
using this to compile LightGBM: | ||
cmake .. -DBUILD_STATIC_LIB=ON -DUSE_MPI=OFF -DUSE_OPENMP=OFF -DCMAKE_INSTALL_PREFIX=../install -DCMAKE_BUILD_TYPE=Release | ||
HOW TO USE LightGBM: | ||
0) to down a copy of LightGBM to your workshop, then start to build your own static lib files. | ||
|
||
1) to build a static libs, using this command to compile LightGBM (with the latest version if needed): | ||
cmake .. -DBUILD_STATIC_LIB=ON -DUSE_MPI=OFF -DUSE_OPENMP=OFF -DCMAKE_INSTALL_PREFIX=../install -DCMAKE_BUILD_TYPE=Release | ||
|
||
2) replace the .a files with the new compiled static lib files. | ||
|
||
3) re-compile ShannonBase with these static lib files. |