From e2232ce2103dfd47ab535faa80ad1b4f899138ba Mon Sep 17 00:00:00 2001 From: Sriram Date: Sat, 14 Sep 2019 19:51:23 +0530 Subject: [PATCH 1/3] Included a useful CMAKE flag --- README.md | 1 + 1 file changed, 1 insertion(+) diff --git a/README.md b/README.md index f87a4296de..492e971c57 100644 --- a/README.md +++ b/README.md @@ -164,6 +164,7 @@ Options are specified with the -D flag. The allowed options include: ARMADILLO_LIBRARY=(/path/to/armadillo/libarmadillo.so): Armadillo library BUILD_CLI_EXECUTABLES=(ON/OFF): whether or not to build command-line programs BUILD_PYTHON_BINDINGS=(ON/OFF): whether or not to build Python bindings + PYTHON_EXECUTABLE:FILEPATH=(/path/to/python_version): path to specific python executable BUILD_TESTS=(ON/OFF): whether or not to build tests BUILD_SHARED_LIBS=(ON/OFF): compile shared libraries as opposed to static libraries From 8ad4759de199b03b7dcff4aaf49c0c4376b9041a Mon Sep 17 00:00:00 2001 From: Sriram Date: Sun, 15 Sep 2019 10:06:13 +0530 Subject: [PATCH 2/3] Shifted change to build.hpp --- README.md | 1 - doc/guide/build.hpp | 1 + 2 files changed, 1 insertion(+), 1 deletion(-) diff --git a/README.md b/README.md index 492e971c57..f87a4296de 100644 --- a/README.md +++ b/README.md @@ -164,7 +164,6 @@ Options are specified with the -D flag. The allowed options include: ARMADILLO_LIBRARY=(/path/to/armadillo/libarmadillo.so): Armadillo library BUILD_CLI_EXECUTABLES=(ON/OFF): whether or not to build command-line programs BUILD_PYTHON_BINDINGS=(ON/OFF): whether or not to build Python bindings - PYTHON_EXECUTABLE:FILEPATH=(/path/to/python_version): path to specific python executable BUILD_TESTS=(ON/OFF): whether or not to build tests BUILD_SHARED_LIBS=(ON/OFF): compile shared libraries as opposed to static libraries diff --git a/doc/guide/build.hpp b/doc/guide/build.hpp index 42d2b0c3e9..231d5d2f30 100644 --- a/doc/guide/build.hpp +++ b/doc/guide/build.hpp @@ -157,6 +157,7 @@ The full list of options mlpack allows: - DOWNLOAD_STB_IMAGE=(ON/OFF): If STB is not found, download it (default ON) - BUILD_WITH_COVERAGE=(ON/OFF): Build with support for code coverage tools (gcc only) (default OFF) + - PYTHON_EXECUTABLE=(/path/to/python_version): Path to specific Python executable - BUILD_MARKDOWN_BINDINGS=(ON/OFF): Build Markdown bindings for website documentation (default OFF) - MATHJAX=(ON/OFF): use MathJax for generated Doxygen documentation (default From 954eab4aa44c6ba5605bec30c8d44637d5422e41 Mon Sep 17 00:00:00 2001 From: Sriram Date: Sun, 15 Sep 2019 20:10:49 +0530 Subject: [PATCH 3/3] Added to README as well --- README.md | 1 + 1 file changed, 1 insertion(+) diff --git a/README.md b/README.md index aad7647c8c..41b0901b3a 100644 --- a/README.md +++ b/README.md @@ -164,6 +164,7 @@ Options are specified with the -D flag. The allowed options include: ARMADILLO_LIBRARY=(/path/to/armadillo/libarmadillo.so): Armadillo library BUILD_CLI_EXECUTABLES=(ON/OFF): whether or not to build command-line programs BUILD_PYTHON_BINDINGS=(ON/OFF): whether or not to build Python bindings + PYTHON_EXECUTABLE=(/path/to/python_version): Path to specific Python executable BUILD_TESTS=(ON/OFF): whether or not to build tests BUILD_SHARED_LIBS=(ON/OFF): compile shared libraries as opposed to static libraries