[mlpack-git] master: Remove references to Boost.Random. (54071ca)
gitdub at big.cc.gt.atl.ga.us
gitdub at big.cc.gt.atl.ga.us
Mon Mar 2 22:11:58 EST 2015
Repository : https://github.com/mlpack/mlpack
On branch : master
Link : https://github.com/mlpack/mlpack/compare/cf875a4ff665457b05c1ef29f13ef18b3a6874b2...54071ca7a7c829a0d7001323942e6853a12d3d32
>---------------------------------------------------------------
commit 54071ca7a7c829a0d7001323942e6853a12d3d32
Author: Ryan Curtin <ryan at ratml.org>
Date: Mon Mar 2 20:45:24 2015 -0500
Remove references to Boost.Random.
>---------------------------------------------------------------
54071ca7a7c829a0d7001323942e6853a12d3d32
CMakeLists.txt | 1 -
HISTORY.md | 2 ++
README.md | 2 +-
doc/guide/build.hpp | 8 ++++----
4 files changed, 7 insertions(+), 6 deletions(-)
diff --git a/CMakeLists.txt b/CMakeLists.txt
index c2ea247..b9d2816 100644
--- a/CMakeLists.txt
+++ b/CMakeLists.txt
@@ -192,7 +192,6 @@ find_package(Boost 1.49
COMPONENTS
program_options
unit_test_framework
- random
REQUIRED
)
include_directories(${Boost_INCLUDE_DIRS})
diff --git a/HISTORY.md b/HISTORY.md
index 0338012..8e94966 100644
--- a/HISTORY.md
+++ b/HISTORY.md
@@ -17,6 +17,8 @@
* Added MatrixCompletion class (matrix_completion), which performs nuclear
norm minimization to fill unknown values of an input matrix.
+ * No more dependence on Boost.Random; now we use C++11 STL random support.
+
### mlpack 1.0.11
###### 2014-12-11
* Proper handling of dimension calculation in PCA.
diff --git a/README.md b/README.md
index 79b2436..f94c353 100644
--- a/README.md
+++ b/README.md
@@ -60,7 +60,7 @@ mlpack has the following dependencies:
Armadillo >= 3.6.0
LibXml2 >= 2.6.0
- Boost (program_options, math_c99, unit_test_framework, random)
+ Boost (program_options, math_c99, unit_test_framework)
CMake >= 2.8.5
All of those should be available in your distribution's package manager. If
diff --git a/doc/guide/build.hpp b/doc/guide/build.hpp
index e2a388a..efe8300 100644
--- a/doc/guide/build.hpp
+++ b/doc/guide/build.hpp
@@ -29,13 +29,13 @@ system and have headers present:
- Armadillo >= 3.6.0 (with LAPACK support)
- LibXML2 >= 2.6.0
- - Boost (math_c99, program_options, unit_test_framework, random, heap) >= 1.49
+ - Boost (math_c99, program_options, unit_test_framework, heap) >= 1.49
In Ubuntu and Debian, you can get all of these dependencies through apt:
@code
# apt-get install libboost-math-dev libboost-program-options-dev
- libboost-random-dev libboost-test-dev libxml2-dev libarmadillo-dev
+ libboost-test-dev libxml2-dev libarmadillo-dev
@endcode
If you are using an Ubuntu version older than 13.10 ("Saucy Salamander") or
@@ -45,8 +45,8 @@ the README.txt distributed with Armadillo for more information.
On Fedora, Red Hat, or CentOS, these same dependencies can be obtained via yum:
@code
-# yum install boost-devel boost-random boost-test boost-program-options
- boost-math libxml2-devel armadillo-devel
+# yum install boost-devel boost-test boost-program-options boost-math
+ libxml2-devel armadillo-devel
@endcode
On Red Hat Enterprise Linux 5 and older (as well as CentOS 5), the Armadillo
More information about the mlpack-git
mailing list