Skip to content

Commit

Permalink
update version to 2.1, package changelogs, reset package versions to 1
Browse files Browse the repository at this point in the history
  • Loading branch information
drossetti committed Jul 31, 2020
1 parent 03b5db2 commit caed6f4
Show file tree
Hide file tree
Showing 6 changed files with 11 additions and 4 deletions.
2 changes: 1 addition & 1 deletion include/gdrapi.h
Original file line number Diff line number Diff line change
Expand Up @@ -30,7 +30,7 @@
#define MINOR_VERSION_MASK (((uint32_t)1 << MAJOR_VERSION_SHIFT) - 1)

#define GDR_API_MAJOR_VERSION 2
#define GDR_API_MINOR_VERSION 0
#define GDR_API_MINOR_VERSION 1
#define GDR_API_VERSION ((GDR_API_MAJOR_VERSION << MAJOR_VERSION_SHIFT) | GDR_API_MINOR_VERSION)

#define MINIMUM_GDRDRV_MAJOR_VERSION 2
Expand Down
2 changes: 1 addition & 1 deletion packages/build-deb-packages.sh
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@

# Restart this number at 1 if MAJOR_VERSION or MINOR_VERSION changes
# See https://www.debian.org/doc/debian-policy/ch-controlfields.html#version
DEBIAN_VERSION=2
DEBIAN_VERSION=1

SCRIPT_DIR_PATH="$(cd "$(dirname "$(readlink -f "${BASH_SOURCE[0]}")")" && pwd)"
TOP_DIR_PATH="${SCRIPT_DIR_PATH}/.."
Expand Down
2 changes: 1 addition & 1 deletion packages/build-rpm-packages.sh
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@

# Restart this number at 1 if MAJOR_VERSION or MINOR_VERSION changes
# See https://rpm-packaging-guide.github.io/#preamble-items
RPM_VERSION=4
RPM_VERSION=1

SCRIPT_DIR_PATH="$(cd "$(dirname "$(readlink -f "${BASH_SOURCE[0]}")")" && pwd)"
TOP_DIR_PATH="${SCRIPT_DIR_PATH}/.."
Expand Down
3 changes: 3 additions & 0 deletions packages/debian/changelog
Original file line number Diff line number Diff line change
@@ -1,5 +1,8 @@
gdrcopy (@VERSION@) unstable; urgency=low

* fix build problem on RHL8 kernels
* relax checks in gdrdrv to support multi-threading use cases
* fix fd leak in gdr_open()
* Introduce copylat test application.
* Introduce basic_with_tokens and invalidation_fork_child_gdr_pin_parent_with_tokens sub-tests in sanity.
* Remove the dependency with libcudart.so.
Expand Down
4 changes: 4 additions & 0 deletions packages/gdrcopy.spec
Original file line number Diff line number Diff line change
Expand Up @@ -117,6 +117,10 @@ rm -rf $RPM_BUILD_DIR/%{name}-%{version}


%changelog
* Fri Jul 31 2020 Davide Rossetti <drossetti@nvidia.com> 2.1-1
- fix build problem on RHL8 kernels
- relax checks in gdrdrv to support multi-threading use cases
- fix fd leak in gdr_open()
* Mon Mar 02 2020 Davide Rossetti <drossetti@nvidia.com> 2.0-4
- Introduce copylat test application.
- Introduce basic_with_tokens and invalidation_fork_child_gdr_pin_parent_with_tokens sub-tests in sanity.
Expand Down
2 changes: 1 addition & 1 deletion src/gdrdrv/gdrdrv.h
Original file line number Diff line number Diff line change
Expand Up @@ -27,7 +27,7 @@
#define GDRDRV_TOSTRING(s) GDRDRV_STRINGIFY(s)

#define GDRDRV_MAJOR_VERSION 2
#define GDRDRV_MINOR_VERSION 0
#define GDRDRV_MINOR_VERSION 1
#define GDRDRV_VERSION ((GDRDRV_MAJOR_VERSION << 16) | GDRDRV_MINOR_VERSION)
#define GDRDRV_VERSION_STRING GDRDRV_TOSTRING(GDRDRV_MAJOR_VERSION) "." GDRDRV_TOSTRING(GDRDRV_MINOR_VERSION)

Expand Down

0 comments on commit caed6f4

Please sign in to comment.