diff --git a/CMakeLists.txt b/CMakeLists.txt index 7b35e5caccb..4b8a8171c3b 100644 --- a/CMakeLists.txt +++ b/CMakeLists.txt @@ -366,14 +366,14 @@ endif () find_package(Ensmallen 2.10.0) if (NOT ENSMALLEN_FOUND) if (DOWNLOAD_ENSMALLEN) - file(DOWNLOAD http://www.ensmallen.org/files/ensmallen-latest.tar.gz - "${CMAKE_BINARY_DIR}/deps/ensmallen-latest.tar.gz" + file(DOWNLOAD http://www.ensmallen.org/files/ensmallen-2.10.2.tar.gz + "${CMAKE_BINARY_DIR}/deps/ensmallen-2.10.2.tar.gz" STATUS ENS_DOWNLOAD_STATUS_LIST LOG ENS_DOWNLOAD_LOG SHOW_PROGRESS) list(GET ENS_DOWNLOAD_STATUS_LIST 0 ENS_DOWNLOAD_STATUS) if (ENS_DOWNLOAD_STATUS EQUAL 0) execute_process(COMMAND ${CMAKE_COMMAND} -E - tar xzf "${CMAKE_BINARY_DIR}/deps/ensmallen-latest.tar.gz" + tar xzf "${CMAKE_BINARY_DIR}/deps/ensmallen-2.10.2.tar.gz" WORKING_DIRECTORY "${CMAKE_BINARY_DIR}/deps/") # Get the name of the directory. diff --git a/doc/examples/sample-ml-app/sample-ml-app/sample-ml-app.vcxproj b/doc/examples/sample-ml-app/sample-ml-app/sample-ml-app.vcxproj index 0852803d9db..16f8bb7b841 100644 --- a/doc/examples/sample-ml-app/sample-ml-app/sample-ml-app.vcxproj +++ b/doc/examples/sample-ml-app/sample-ml-app/sample-ml-app.vcxproj @@ -104,16 +104,16 @@ true _DEBUG;_CONSOLE;%(PreprocessorDefinitions) false - C:\boost\boost_1_66_0;C:\mlpack\armadillo-8.500.1\include;C:\mlpack\mlpack-3.1.1\build\include;%(AdditionalIncludeDirectories) + C:\boost\boost_1_66_0;C:\mlpack\armadillo-8.500.1\include;C:\mlpack\mlpack-3.2.0\build\include;%(AdditionalIncludeDirectories) Console true - C:\mlpack\mlpack-3.1.1\build\Debug\mlpack.lib;C:\boost\boost_1_66_0\lib64-msvc-14.1\libboost_serialization-vc141-mt-gd-x64-1_66.lib;C:\boost\boost_1_66_0\lib64-msvc-14.1\libboost_program_options-vc141-mt-gd-x64-1_66.lib;%(AdditionalDependencies) + C:\mlpack\mlpack-3.2.0\build\Debug\mlpack.lib;C:\boost\boost_1_66_0\lib64-msvc-14.1\libboost_serialization-vc141-mt-gd-x64-1_66.lib;C:\boost\boost_1_66_0\lib64-msvc-14.1\libboost_program_options-vc141-mt-gd-x64-1_66.lib;%(AdditionalDependencies) - xcopy /y "C:\mlpack\mlpack-3.1.1\build\Debug\mlpack.dll" $(OutDir) -xcopy /y "C:\mlpack\mlpack-3.1.1\packages\OpenBLAS.0.2.14.1\lib\native\bin\x64\*.dll" $(OutDir) + xcopy /y "C:\mlpack\mlpack-3.2.0\build\Debug\mlpack.dll" $(OutDir) +xcopy /y "C:\mlpack\mlpack-3.2.0\packages\OpenBLAS.0.2.14.1\lib\native\bin\x64\*.dll" $(OutDir) xcopy /y "$(ProjectDir)..\..\..\..\src\mlpack\tests\data\german.csv" "$(ProjectDir)data\german.csv*" diff --git a/doc/guide/build.hpp b/doc/guide/build.hpp index 46001e74a07..b914db56eb8 100644 --- a/doc/guide/build.hpp +++ b/doc/guide/build.hpp @@ -29,7 +29,7 @@ to build mlpack on Windows, see \ref build_windows (alternatively, you can read is based on older versions). You can download the latest mlpack release from here: -mlpack-3.1.1 +mlpack-3.2.0 @section build_simple Simple Linux build instructions @@ -37,9 +37,9 @@ Assuming all dependencies are installed in the system, you can run the commands below directly to build and install mlpack. @code -$ wget https://www.mlpack.org/files/mlpack-3.1.1.tar.gz -$ tar -xvzpf mlpack-3.1.1.tar.gz -$ mkdir mlpack-3.1.1/build && cd mlpack-3.1.1/build +$ wget https://www.mlpack.org/files/mlpack-3.2.0.tar.gz +$ tar -xvzpf mlpack-3.2.0.tar.gz +$ mkdir mlpack-3.2.0/build && cd mlpack-3.2.0/build $ cmake ../ $ make -j4 # The -j is the number of cores you want to use for a build. $ sudo make install @@ -64,8 +64,8 @@ configure mlpack. First we should unpack the mlpack source and create a build directory. @code -$ tar -xvzpf mlpack-3.1.1.tar.gz -$ cd mlpack-3.1.1 +$ tar -xvzpf mlpack-3.2.0.tar.gz +$ cd mlpack-3.2.0 $ mkdir build @endcode diff --git a/doc/guide/python_quickstart.hpp b/doc/guide/python_quickstart.hpp index 5d21708d714..7f5c5c97803 100644 --- a/doc/guide/python_quickstart.hpp +++ b/doc/guide/python_quickstart.hpp @@ -31,9 +31,9 @@ build and install mlpack. You can copy-paste the commands into your shell. @code{.sh} sudo apt-get install libboost-all-dev g++ cmake libarmadillo-dev python-pip wget sudo pip install cython setuptools distutils numpy pandas -wget https://www.mlpack.org/files/mlpack-3.1.1.tar.gz -tar -xvzpf mlpack-3.1.1.tar.gz -mkdir -p mlpack-3.1.1/build/ && cd mlpack-3.1.1/build/ +wget https://www.mlpack.org/files/mlpack-3.2.0.tar.gz +tar -xvzpf mlpack-3.2.0.tar.gz +mkdir -p mlpack-3.2.0/build/ && cd mlpack-3.2.0/build/ cmake ../ && make -j4 && sudo make install @endcode diff --git a/doc/guide/sample_ml_app.hpp b/doc/guide/sample_ml_app.hpp index fe6ae3adb4c..1f97a692e3d 100644 --- a/doc/guide/sample_ml_app.hpp +++ b/doc/guide/sample_ml_app.hpp @@ -29,18 +29,18 @@ mlpack and dependencies in Release Mode). @code - C:\boost\boost_1_66_0 - C:\mlpack\armadillo-8.500.1\include - - C:\mlpack\mlpack-3.1.1\build\include + - C:\mlpack\mlpack-3.2.0\build\include @endcode - Under Linker > Input > Additional Dependencies add: @code - - C:\mlpack\mlpack-3.1.1\build\Debug\mlpack.lib + - C:\mlpack\mlpack-3.2.0\build\Debug\mlpack.lib - C:\boost\boost_1_66_0\lib64-msvc-14.1\libboost_serialization-vc141-mt-gd-x64-1_66.lib - C:\boost\boost_1_66_0\lib64-msvc-14.1\libboost_program_options-vc141-mt-gd-x64-1_66.lib @endcode - Under Build Events > Post-Build Event > Command Line add: @code - - xcopy /y "C:\mlpack\mlpack-3.1.1\build\Debug\mlpack.dll" $(OutDir) - - xcopy /y "C:\mlpack\mlpack-3.1.1\packages\OpenBLAS.0.2.14.1\lib\native\bin\x64\*.dll" $(OutDir) + - xcopy /y "C:\mlpack\mlpack-3.2.0\build\Debug\mlpack.dll" $(OutDir) + - xcopy /y "C:\mlpack\mlpack-3.2.0\packages\OpenBLAS.0.2.14.1\lib\native\bin\x64\*.dll" $(OutDir) @endcode @note Recent versions of Visual Studio set "Conformance Mode" enabled by default. This causes some issues with diff --git a/src/mlpack/CMakeLists.txt b/src/mlpack/CMakeLists.txt index c141015fcd2..bf9f3886dda 100644 --- a/src/mlpack/CMakeLists.txt +++ b/src/mlpack/CMakeLists.txt @@ -44,7 +44,7 @@ target_link_libraries(mlpack ${MLPACK_LIBRARIES}) set_target_properties(mlpack PROPERTIES - VERSION 3.1 + VERSION 3.2 SOVERSION 3 ) diff --git a/src/mlpack/core/util/version.hpp b/src/mlpack/core/util/version.hpp index a20954bd567..80adfe6ecef 100644 --- a/src/mlpack/core/util/version.hpp +++ b/src/mlpack/core/util/version.hpp @@ -17,8 +17,8 @@ // The version of mlpack. If this is a git repository, this will be a version // with higher number than the most recent release. #define MLPACK_VERSION_MAJOR 3 -#define MLPACK_VERSION_MINOR 1 -#define MLPACK_VERSION_PATCH 2 +#define MLPACK_VERSION_MINOR 2 +#define MLPACK_VERSION_PATCH 0 // The name of the version (for use by --version). namespace mlpack {