1. 29 Jun, 2020 1 commit
    • Mark Olesen's avatar
      CONFIG: refine handling of git information for debian builds · 2ba62438
      Mark Olesen authored
      - When OpenFOAM is under git control and a 'debian/' directory exists,
        this could mean two things:
        1) Additional debian control has been added to OpenFOAM
        2) OpenFOAM has been imported into a debian project
      For the case that OpenFOAM has been imported into a debian project,
      using the git information would be highly misleading. There will be no
      OpenFOAM SHA1 correspondence.
      However, if additional debian control has been added to OpenFOAM the
      SHA1 will be valid.
      The ad hoc solution is to use an additional "openfoam.debian"
      directory to flag the addition of debian controls into openfoam.
      When a "debian/" directory exists without a "openfoam.debian", assume
      that the OpenFOAM has been imported into debian and do not use the SHA1.
  2. 12 May, 2020 1 commit
    • Mark Olesen's avatar
      ENH: add 'subcommand' handling to wmake (#1693) · 9e3d0685
      Mark Olesen authored
      - initial split of wmake-related commands into "plumbing" and
        "porcelain" akin to how git handles things.
      - wmakeBuildInfo (very low-level), now relocated to the wmake/scripts
        and accessible for the user as "wmake -build-info".
        This satisfies a long-standing desire to access build information
        in a fashion similar to the api/patch information.
      CONFIG: avoid git information when building with a debian/ directory
      - when a 'debian/' directory exists, there is a high probability that
        the '.git/' directory is from debian and not from OpenFOAM (ie,
        useless here). This corresponds to an implicit '-no-git', which has
        no effect when building from pristine sources.
      ENH: wmakeCheckPwd becomes scripts/wmake-check-dir
      - accessible for the user as "wmake -check-dir" and with 1 or 2
        directory names. A wmakeCheckPwd symlink left for compatibility.
  3. 12 Feb, 2020 1 commit
  4. 31 Oct, 2019 1 commit
  5. 30 Jul, 2019 1 commit
    • Mark Olesen's avatar
      ENH: improvements for handling update of build information · 59b867b7
      Mark Olesen authored
      - When building OpenFOAM for different platform combinations
        (single/double, int32/int64) the build information that is compiled
        into the OpenFOAM lib can become out of sync.
        This is because the update trigger (wmakeBuildInfo -check) is
        independent of the targetted platform. The added file
        'src/OpenFOAM/Alltouch' provides a direct means of forcing a rebuild
        of the version information. Eg,
            wmake src/OpenFOAM
        Also provide an additional 'wmakeBuildInfo -remove' to forcibly
        remove META-INFO/build-info, if that is desired.
  6. 06 Jan, 2019 1 commit
  7. 10 Dec, 2018 1 commit
  8. 08 Dec, 2018 1 commit
  9. 02 Dec, 2018 1 commit
    • Mark Olesen's avatar
      ENH: update handling of versioning and make control (issue #1010) · 6c68c34e
      Mark Olesen authored
      - Use the OPENFOAM define (eg, 1806, 1812), which normally corresponds
        to a major release, to define an API level. This remains consistent
        within a release cycle and means that it is possible to manage
        several sub-versions and continue to have a consistent lookup.
        The current API value is updated automatically during the build
        and cached as meta data for later use, even when the wmake/ directory
        is missing or OpenFOAM has not yet be initialized.
        The version information reported on program start or with -help
        usage adjusted to reflect this. The build tag from git now also
        carries the date as being more meaningful to trace than a hash
      - Update etc/bashrc and etc/cshrc to obtain the project directory
        directly instead of via its prefix directory. The value obtained
        corresponds to an absolute path, from which the prefix directory
        can be obtained.
        The combination of these changes removes the reliance on any