From 28eb1858c59e4469da0e9689663a45fc140af9c4 Mon Sep 17 00:00:00 2001 From: Ryan Curtin Date: Sun, 23 Oct 2022 10:42:38 -0400 Subject: [PATCH] Update and release version 4.0.0. --- CMakeLists.txt | 2 +- HISTORY.md | 4 ++-- README.md | 2 +- doc/examples/sample-ml-app/README.txt | 8 ++++---- .../sample-ml-app/sample-ml-app/sample-ml-app.vcxproj | 2 +- doc/user/sample_ml_app.md | 4 ++-- src/mlpack/core/util/version.hpp | 6 +++--- 7 files changed, 14 insertions(+), 14 deletions(-) diff --git a/CMakeLists.txt b/CMakeLists.txt index f1de181b057..4a2f1bc6fee 100644 --- a/CMakeLists.txt +++ b/CMakeLists.txt @@ -340,7 +340,7 @@ if (NOT DOWNLOAD_DEPENDENCIES) else() find_package(Ensmallen "${ENSMALLEN_VERSION}") if (NOT ENSMALLEN_FOUND) - get_deps(http://www.ensmallen.org/files/ensmallen-latest.tar.gz ensmallen ensmallen-latest.tar.gz) + get_deps(http://www.ensmallen.org/files/ensmallen-2.19.0.tar.gz ensmallen ensmallen-latest.tar.gz) set(ENSMALLEN_INCLUDE_DIR ${GENERIC_INCLUDE_DIR}) find_package(Ensmallen REQUIRED) endif() diff --git a/HISTORY.md b/HISTORY.md index 3fe3b827c84..d9d42019aa2 100644 --- a/HISTORY.md +++ b/HISTORY.md @@ -1,5 +1,5 @@ -### mlpack ?.?.? -###### ????-??-?? +### mlpack 4.0.0 +###### 2022-10-23 * Bump C++ standard requirement to C++14 (#3233). * Fix `Perceptron` to work with cross-validation framework (#3190). diff --git a/README.md b/README.md index bd0ff93bad1..72050f32e2a 100644 --- a/README.md +++ b/README.md @@ -22,7 +22,7 @@ src="https://cdn.rawgit.com/mlpack/mlpack.org/e7d36ed8/mlpack-black.svg" style="

Download: - current stable version (3.4.2) + current stable version (4.0.0)

diff --git a/doc/examples/sample-ml-app/README.txt b/doc/examples/sample-ml-app/README.txt index 609fdeea0d7..992e20815dc 100644 --- a/doc/examples/sample-ml-app/README.txt +++ b/doc/examples/sample-ml-app/README.txt @@ -21,15 +21,15 @@ and library files into C:\mlpack\. * ensmallen: https://ensmallen.org/files/ensmallen-2.19.0.tar.gz Download the .tar.gz, and extract it into C:\mlpack\ensmallen-2.19.0\ -Now, install mlpack into C:\mlpack\mlpack-3.4.2\. If you downloaded the mlpack +Now, install mlpack into C:\mlpack\mlpack-4.0.0\. If you downloaded the mlpack source, you can either use the Windows build guide (see doc/user/build_windows.md) to build and install, or, since mlpack is -header-only, copy the src/ directory to C:\mlpack\mlpack-3.4.2\ and rename it -"include" (so there will now be a directory C:\mlpack\mlpack-3.4.2\include\, +header-only, copy the src/ directory to C:\mlpack\mlpack-4.0.0\ and rename it +"include" (so there will now be a directory C:\mlpack\mlpack-4.0.0\include\, which contains only base.hpp and the mlpack/ subdirectory). Alternately, if you downloaded the Windows MSI installer, you can install to -C:\mlpack\mlpack-3.4.2\. +C:\mlpack\mlpack-4.0.0\. Once all of that setup is done, the example should compile as-is. 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 b34cdbb7005..748b50c0b99 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,7 +104,7 @@ true _DEBUG;_CONSOLE;%(PreprocessorDefinitions) Default - C:\mlpack\armadillo-11.4.1\include;C:\mlpack\mlpack-3.4.2\include\;C:\mlpack\cereal-1.3.2\include;C:\mlpack\ensmallen-2.19.0\include\%(AdditionalIncludeDirectories) + C:\mlpack\armadillo-11.4.1\include;C:\mlpack\mlpack-4.0.0\include\;C:\mlpack\cereal-1.3.2\include;C:\mlpack\ensmallen-2.19.0\include\%(AdditionalIncludeDirectories) stdcpp17 false /Zc:__cplusplus %(AdditionalOptions) diff --git a/doc/user/sample_ml_app.md b/doc/user/sample_ml_app.md index ce763a21933..883758fcbaa 100644 --- a/doc/user/sample_ml_app.md +++ b/doc/user/sample_ml_app.md @@ -27,13 +27,13 @@ dependencies in Release Mode). - Under C/C++ > General > Additional Include Directories add: ``` - C:\mlpack\armadillo-9.800.3\include - - C:\mlpack\mlpack-3.4.2\src + - C:\mlpack\mlpack-4.0.0\src - C:\mlpack\ensmallen-2.19.0\include - C:\mlpack\cereal-3.1.2\include ``` - Under Build Events > Post-Build Event > Command Line add: ``` - - xcopy /y "C:\mlpack\mlpack-3.4.2\packages\OpenBLAS.0.2.14.1\lib\native\bin\x64\*.dll" $(OutDir) + - xcopy /y "C:\mlpack\mlpack-4.0.0\packages\OpenBLAS.0.2.14.1\lib\native\bin\x64\*.dll" $(OutDir) ``` *Note*: recent versions of Visual Studio set "Conformance Mode" enabled by diff --git a/src/mlpack/core/util/version.hpp b/src/mlpack/core/util/version.hpp index 474c04225a3..41d1ac5d3c3 100644 --- a/src/mlpack/core/util/version.hpp +++ b/src/mlpack/core/util/version.hpp @@ -16,9 +16,9 @@ // 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 4 -#define MLPACK_VERSION_PATCH 3 +#define MLPACK_VERSION_MAJOR 4 +#define MLPACK_VERSION_MINOR 0 +#define MLPACK_VERSION_PATCH 0 // The name of the version (for use by --version). namespace mlpack {