diff mbox

odp_version.h: Update version number

Message ID 1414080690-8808-1-git-send-email-mike.holmes@linaro.org
State Rejected
Headers show

Commit Message

Mike Holmes Oct. 23, 2014, 4:11 p.m. UTC
Update version numnering to the ratified format.
Update the number for the point release.

Signed-off-by: Mike Holmes <mike.holmes@linaro.org>
---
 platform/linux-generic/include/api/odp_version.h | 27 ++++++++++++++++--------
 1 file changed, 18 insertions(+), 9 deletions(-)

Comments

Bill Fischofer Oct. 23, 2014, 4:17 p.m. UTC | #1
On Thu, Oct 23, 2014 at 11:11 AM, Mike Holmes <mike.holmes@linaro.org>
wrote:

> Update version numnering to the ratified format.
> Update the number for the point release.
>
> Signed-off-by: Mike Holmes <mike.holmes@linaro.org>
>

    Reviewed-by: Bill Fischofer <bill.fischofer@linaro.org>


> ---
>  platform/linux-generic/include/api/odp_version.h | 27
> ++++++++++++++++--------
>  1 file changed, 18 insertions(+), 9 deletions(-)
>
> diff --git a/platform/linux-generic/include/api/odp_version.h
> b/platform/linux-generic/include/api/odp_version.h
> index c823e2d..0649bbb 100644
> --- a/platform/linux-generic/include/api/odp_version.h
> +++ b/platform/linux-generic/include/api/odp_version.h
> @@ -18,31 +18,39 @@
>  extern "C" {
>  #endif
>
> +/**
> + * ODP API generation version
> + *
> + * Introduction of major new features or changes that make
> + * very significatant changes to the API. APIs with different
> + * versions are likely not backward compatible.
> + */
> +#define ODP_VERSION_API_GENERATION 0
>
>  /**
> - * ODP API main version
> + * ODP API major version
>   *
>   * Introduction of major new features or changes. APIs with different
> major
>   * versions are likely not backward compatible.
>   */
> -#define ODP_VERSION_API_MAIN  0
> +#define ODP_VERSION_API_MAJOR 3
>
>  /**
> - * ODP API sub version
> + * ODP API minor version
>   *
>   * Introduction of additional features or minor changes. APIs with common
>   * major version and different sub versions may be backward compatible
> (if only
>   * additions).
>   */
> -#define ODP_VERSION_API_SUB   0
> +#define ODP_VERSION_API_MINOR 0
>
>  /**
> - * ODP API bug correction version
> + * ODP API sub correction version
>   *
>   * Bug corrections to the API files. APIs with the same major and sub
>   * versions, but different bug correction versions are backward
> compatible.
>   */
> -#define ODP_VERSION_API_BUG   1
> +#define ODP_VERSION_API_SUB 0
>
>
>  /** @internal Version string expand */
> @@ -53,9 +61,10 @@ extern "C" {
>
>  /** @internal API version string */
>  #define ODP_VERSION_API_STR \
> -ODP_VERSION_TO_STR(ODP_VERSION_API_MAIN) "."\
> -ODP_VERSION_TO_STR(ODP_VERSION_API_SUB) "."\
> -ODP_VERSION_TO_STR(ODP_VERSION_API_BUG)
> +ODP_VERSION_TO_STR(ODP_VERSION_API_GENERATION) "."\
> +ODP_VERSION_TO_STR(ODP_VERSION_API_MAJOR) "."\
> +ODP_VERSION_TO_STR(ODP_VERSION_API_MINOR) "."\
> +ODP_VERSION_TO_STR(ODP_VERSION_API_SUB)
>
>
>  /**
> --
> 1.9.1
>
>
> _______________________________________________
> lng-odp mailing list
> lng-odp@lists.linaro.org
> http://lists.linaro.org/mailman/listinfo/lng-odp
>
Maxim Uvarov Oct. 23, 2014, 6:08 p.m. UTC | #2
review -

1.  remove local commit before that.
<<<<<<< HEAD
/** @defgroup odp_ver_abt_log_dbg ODP LOGGING / ABORT / VERSION / DEBUG
  *  @{
  */
=======

2.  ./configure

     opendataplane 0.2
     ========

     with_platform:        linux-generic
     prefix:            /usr/local
     sysconfdir:        ${prefix}/etc
     libdir:            ${exec_prefix}/lib
     includedir:        ${prefix}/include

configure.ac:
AC_INIT([OpenDataPlane], [0.2], [lng-odp@lists.linaro.org]

Can we change that version to parsed value from 
platform/linux-generic/include/api/odp_version.h ?

Maxim.

On 10/23/2014 08:11 PM, Mike Holmes wrote:
> Update version numnering to the ratified format.
> Update the number for the point release.
>
> Signed-off-by: Mike Holmes <mike.holmes@linaro.org>
> ---
>   platform/linux-generic/include/api/odp_version.h | 27 ++++++++++++++++--------
>   1 file changed, 18 insertions(+), 9 deletions(-)
>
> diff --git a/platform/linux-generic/include/api/odp_version.h b/platform/linux-generic/include/api/odp_version.h
> index c823e2d..0649bbb 100644
> --- a/platform/linux-generic/include/api/odp_version.h
> +++ b/platform/linux-generic/include/api/odp_version.h
> @@ -18,31 +18,39 @@
>   extern "C" {
>   #endif
>   
> +/**
> + * ODP API generation version
> + *
> + * Introduction of major new features or changes that make
> + * very significatant changes to the API. APIs with different
> + * versions are likely not backward compatible.
> + */
> +#define ODP_VERSION_API_GENERATION 0
>   
>   /**
> - * ODP API main version
> + * ODP API major version
>    *
>    * Introduction of major new features or changes. APIs with different major
>    * versions are likely not backward compatible.
>    */
> -#define ODP_VERSION_API_MAIN  0
> +#define ODP_VERSION_API_MAJOR 3
>   
>   /**
> - * ODP API sub version
> + * ODP API minor version
>    *
>    * Introduction of additional features or minor changes. APIs with common
>    * major version and different sub versions may be backward compatible (if only
>    * additions).
>    */
> -#define ODP_VERSION_API_SUB   0
> +#define ODP_VERSION_API_MINOR 0
>   
>   /**
> - * ODP API bug correction version
> + * ODP API sub correction version
>    *
>    * Bug corrections to the API files. APIs with the same major and sub
>    * versions, but different bug correction versions are backward compatible.
>    */
> -#define ODP_VERSION_API_BUG   1
> +#define ODP_VERSION_API_SUB 0
>   
>   
>   /** @internal Version string expand */
> @@ -53,9 +61,10 @@ extern "C" {
>   
>   /** @internal API version string */
>   #define ODP_VERSION_API_STR \
> -ODP_VERSION_TO_STR(ODP_VERSION_API_MAIN) "."\
> -ODP_VERSION_TO_STR(ODP_VERSION_API_SUB) "."\
> -ODP_VERSION_TO_STR(ODP_VERSION_API_BUG)
> +ODP_VERSION_TO_STR(ODP_VERSION_API_GENERATION) "."\
> +ODP_VERSION_TO_STR(ODP_VERSION_API_MAJOR) "."\
> +ODP_VERSION_TO_STR(ODP_VERSION_API_MINOR) "."\
> +ODP_VERSION_TO_STR(ODP_VERSION_API_SUB)
>   
>   
>   /**
diff mbox

Patch

diff --git a/platform/linux-generic/include/api/odp_version.h b/platform/linux-generic/include/api/odp_version.h
index c823e2d..0649bbb 100644
--- a/platform/linux-generic/include/api/odp_version.h
+++ b/platform/linux-generic/include/api/odp_version.h
@@ -18,31 +18,39 @@ 
 extern "C" {
 #endif
 
+/**
+ * ODP API generation version
+ *
+ * Introduction of major new features or changes that make
+ * very significatant changes to the API. APIs with different
+ * versions are likely not backward compatible.
+ */
+#define ODP_VERSION_API_GENERATION 0
 
 /**
- * ODP API main version
+ * ODP API major version
  *
  * Introduction of major new features or changes. APIs with different major
  * versions are likely not backward compatible.
  */
-#define ODP_VERSION_API_MAIN  0
+#define ODP_VERSION_API_MAJOR 3
 
 /**
- * ODP API sub version
+ * ODP API minor version
  *
  * Introduction of additional features or minor changes. APIs with common
  * major version and different sub versions may be backward compatible (if only
  * additions).
  */
-#define ODP_VERSION_API_SUB   0
+#define ODP_VERSION_API_MINOR 0
 
 /**
- * ODP API bug correction version
+ * ODP API sub correction version
  *
  * Bug corrections to the API files. APIs with the same major and sub
  * versions, but different bug correction versions are backward compatible.
  */
-#define ODP_VERSION_API_BUG   1
+#define ODP_VERSION_API_SUB 0
 
 
 /** @internal Version string expand */
@@ -53,9 +61,10 @@  extern "C" {
 
 /** @internal API version string */
 #define ODP_VERSION_API_STR \
-ODP_VERSION_TO_STR(ODP_VERSION_API_MAIN) "."\
-ODP_VERSION_TO_STR(ODP_VERSION_API_SUB) "."\
-ODP_VERSION_TO_STR(ODP_VERSION_API_BUG)
+ODP_VERSION_TO_STR(ODP_VERSION_API_GENERATION) "."\
+ODP_VERSION_TO_STR(ODP_VERSION_API_MAJOR) "."\
+ODP_VERSION_TO_STR(ODP_VERSION_API_MINOR) "."\
+ODP_VERSION_TO_STR(ODP_VERSION_API_SUB)
 
 
 /**