Skip to content
Snippets Groups Projects
  1. Feb 21, 2020
    • Igor Chorążewicz's avatar
      common: prepend release number to version when using GIT_VERSION · bbbfdae5
      Igor Chorążewicz authored
      It allows tools which expect version in form major.minor to work
      correctly even in case when pmdk is downloaded as zip archive.
      
      This patch also removes '%d' from GIT_VERSION file. This placeholder
      was filled with name of the branch only for the HEAD of a branch.
      This means that GIT_VERSION of a selceted revision had different content
      (either only commit hash or commit hash + name of the branch) depending
      on whether selected revision was HEAD of the branch or not. Different
      content of GIT_VERSION affected hash of the archive (and caused problems
      with vcpkg in the past).
      bbbfdae5
  2. Nov 19, 2018
    • Marcin Ślusarz's avatar
      common: use better versioning scheme for git snapshots · 74429946
      Marcin Ślusarz authored
      Version with two dashes (like 1.5-19-gb8f78a329) confuses rpmbuild in
      recent Fedoras, which makes it generate uninstallable -devel packages
      (libpmem-devel doesn't have Provides: pkgconfig(libpmem) tag, which
      doesn't satisfy Requires: pkgconfig(libpmem) in
      libpmem[obj|blk|log]-devel).
      74429946
  3. Oct 09, 2018
  4. Aug 07, 2018
    • Marcin Ślusarz's avatar
      common: fix reported version · b3f0821d
      Marcin Ślusarz authored
      There are many problems:
      
      On Linux we were using git commit id of the parent repository if
      zip/tar.gz package was uncompressed inside of git repository (and
      this is the case for Fedora).
      
      We can't rely on GIT_VERSION for releases, because its contents depends
      on state of the branch the tag was created from.
      This file contains all refs that point to the tagged commit, so
      immediately after 1.4.1 release it contained both "1.4.1" and
      "stable-1.4", but after merging the first PR to "stable-1.4" branch it
      contained only "1.4.1". This means that the checksum of the released
      version changed! This is why vcpkg build from master fails now (it
      contains initial checksum).
      The fix is to remove the automatically filled GIT_VERSION file and add
      static VERSION file before the release and revert this commit after.
      
      Version reported by debug libraries was empty if libraries were built
      from directories other than / and /src.
      
      On Windows reported version for point releases was wrong.
      b3f0821d
  5. Apr 09, 2018
    • Krzysztof Czuryło's avatar
      common: provide src version in GitHub tarballs · 08efe121
      Krzysztof Czuryło authored
      Utilizes 'export-subst' attribute to provide source version info
      in GIT_VERSION file for tarballs generated using git-archive.
      The output format is different than for git-describe, so it must
      be parsed to extract the tag or commit hash.
      This is to make sure the tarballs autogenerated by GitHub
      contain the information about the source version.
      08efe121
  6. Jul 13, 2017
  7. Jun 21, 2017
    • Krzysztof Czuryło's avatar
      common: fix default version string · 74498c6e
      Krzysztof Czuryło authored
      If the build scripts have no access to GIT, then the source version
      cannot be determined (git describe) and the version string is empty.
      This patch changes the default to "UNKNOWN VERSION".
      
      Ref: pmem/issues#578
      74498c6e
  8. Jun 09, 2017
    • Krzysztof Czuryło's avatar
      common: (win) allow to override SRCVERSION · 2b00118e
      Krzysztof Czuryło authored
      When building NVML from a source tarball, it is not possible to obtain
      the version number via 'git describe' and '1.0' is used in such case.
      This patch allows to pass the version string as an argument to
      msbuild (/p:SRCVERSION=...) and override the default.
      2b00118e
  9. Apr 28, 2017
  10. Dec 30, 2016
  11. Dec 23, 2016
  12. Dec 16, 2016
  13. Aug 03, 2016
    • Krzysztof Czuryło's avatar
      win: improve generation of srcversion.h · db77c922
      Krzysztof Czuryło authored
      Generate only one srcversion.h file that is explicitly included by other
      projects.  This forces re-compilation of all the dependant files whenever
      SRCVERSION definition changes.
      Add a separate 'srcversion' project with custom build step to check
      source code revision at each build, and re-generate srcversion.h file
      if necessary.  The trick with setting __NON_EXISTENT_FILE__ as the output
      of the custom build step provides that SRCVERSION.PS1 script is executed
      for each build.
      db77c922
  14. Jul 29, 2016
  15. Mar 02, 2016
  16. Feb 15, 2016
    • Lukasz Dorau's avatar
      common: update all copyright headers · 545d1fe3
      Lukasz Dorau authored
      Update all copyright headers:
      - remove "(c)" string
      - replace "Intel Corporation" with
        "the copyright holder" in the 3rd clause
      - update copyright date to 2016
      545d1fe3
  17. Jan 18, 2016
    • Piotr Balcer's avatar
      common: change conflicting makefile variable · e7cd2adb
      Piotr Balcer authored
      Because tests and examples are now compiled and linked using both c
      and c++ compilers a special makefile variable was required to identify
      the language. It was named LANG - unfortunately that conflicts with
      locale settings, the new name is COMPILE_LANG.
      e7cd2adb
  18. Jan 13, 2016
    • Piotr Balcer's avatar
      obj: add basic C++ bindings · 7cd94aba
      Piotr Balcer authored
      This patch introduces C++ for libpmemobj. For now
      it includes 'resides on pmem' template property
      class and a persistent smart pointer.
      7cd94aba
  19. Feb 05, 2015
  20. Feb 04, 2015
  21. Nov 18, 2014
  22. Nov 05, 2014
    • Sławomir Pawłowski's avatar
      common: NVML renaming and library splitting · 257000ec
      Sławomir Pawłowski authored
      - rename typdefs: PMEMblkpool, PMEMlogpool, PMEMobjpool
      - split libpmem into libpmem, libpmemblk, libpmemlog, libpmemobj
      - rename trn => obj
      - add benchmark building to make check target
      - change functions _map() to _pool_open()
      - update scope tests
      - each library now has the environment variables:
          PMEM_LOG_{LEVEL,FILE}
          PMEMBLK_LOG_{LEVEL,FILE}
          PMEMLOG_LOG_{LEVEL,FILE}
          PMEMOBJ_LOG_{LEVEL,FILE}
      - each library now has the *_check_version functions
      
      [@andyrudoff made some additional changes to this commit:]
      - remove superfluous nested includes
      - remove extraneous comments (leftovers) in headers
      - add calls to force library linking in traces_pmem unit test
      257000ec
  23. Sep 12, 2014
  24. Sep 08, 2014
Loading