Skip to content

Commit

Permalink
Update version to 3.2.0.
Browse files Browse the repository at this point in the history
  • Loading branch information
rcurtin committed Sep 26, 2019
1 parent 7329ec4 commit 0e9bb9a
Show file tree
Hide file tree
Showing 7 changed files with 23 additions and 23 deletions.
6 changes: 3 additions & 3 deletions CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -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.
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -104,16 +104,16 @@
<SDLCheck>true</SDLCheck>
<PreprocessorDefinitions>_DEBUG;_CONSOLE;%(PreprocessorDefinitions)</PreprocessorDefinitions>
<ConformanceMode>false</ConformanceMode>
<AdditionalIncludeDirectories>C:\boost\boost_1_66_0;C:\mlpack\armadillo-8.500.1\include;C:\mlpack\mlpack-3.1.1\build\include;%(AdditionalIncludeDirectories)</AdditionalIncludeDirectories>
<AdditionalIncludeDirectories>C:\boost\boost_1_66_0;C:\mlpack\armadillo-8.500.1\include;C:\mlpack\mlpack-3.2.0\build\include;%(AdditionalIncludeDirectories)</AdditionalIncludeDirectories>
</ClCompile>
<Link>
<SubSystem>Console</SubSystem>
<GenerateDebugInformation>true</GenerateDebugInformation>
<AdditionalDependencies>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)</AdditionalDependencies>
<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)</AdditionalDependencies>
</Link>
<PostBuildEvent>
<Command>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)
<Command>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*"</Command>
</PostBuildEvent>
</ItemDefinitionGroup>
Expand Down
12 changes: 6 additions & 6 deletions doc/guide/build.hpp
Original file line number Diff line number Diff line change
Expand Up @@ -29,17 +29,17 @@ 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:
<a href="https://www.mlpack.org/files/mlpack-3.1.1.tar.gz">mlpack-3.1.1</a>
<a href="https://www.mlpack.org/files/mlpack-3.2.0.tar.gz">mlpack-3.2.0</a>
@section build_simple Simple Linux build instructions
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
Expand All @@ -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
Expand Down
6 changes: 3 additions & 3 deletions doc/guide/python_quickstart.hpp
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down
8 changes: 4 additions & 4 deletions doc/guide/sample_ml_app.hpp
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down
2 changes: 1 addition & 1 deletion src/mlpack/CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -44,7 +44,7 @@ target_link_libraries(mlpack ${MLPACK_LIBRARIES})

set_target_properties(mlpack
PROPERTIES
VERSION 3.1
VERSION 3.2
SOVERSION 3
)

Expand Down
4 changes: 2 additions & 2 deletions src/mlpack/core/util/version.hpp
Original file line number Diff line number Diff line change
Expand Up @@ -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 {
Expand Down

0 comments on commit 0e9bb9a

Please sign in to comment.