Skip to content
Snippets Groups Projects
  1. Jun 27, 2017
  2. May 31, 2017
  3. May 05, 2017
  4. Apr 20, 2017
    • mark's avatar
      CONFIG: address differences between shells · daedbe27
      mark authored
      - suppress error messages that appear with zsh.
        According to unset(1p), 'unset -f' unsets a function.
        If the function was not previously defined, this is a no-op.
        This is similar for zsh, but there it emits a warning if the
        function was not previously defined.
      
      - avoid 'local' in functions sources from etc/bashrc.
        ksh does not support this.
      
      - use 'command' shell builtin instead of 'type'.
        Seems to be more consistent between shell flavours.
      daedbe27
  5. Apr 19, 2017
  6. Mar 30, 2017
  7. Mar 22, 2017
    • mark's avatar
      ENH: minor improvements to environment · 3751ce52
      mark authored
      - handle sourcing bashrc with a relative path (issue #383)
      - handle sourcing from bash and zsh.
        Still need manual intervention when sourcing dash, sh, or ksh.
      - replace grep in etc/cshrc with sed only
      - logical instead of physical path for WM_PROJECT_DIR (issue #431).
        Doesn't seem to be possible for csh/tcsh.
      
        * Continue using physical locations when comparing directories,
          but not for the top-level FOAM_INST_DIR, WM_PROJECT_DIR.
      
      - relocate WM_CC, WM_CXX overrides from etc/config.*/compiler
        to etc/config.*/settings to ensure that they are left untouched
        when etc/config.sh/compiler is sourced while making third-party
        packages (eg, gcc, llvm, CGAL).
      
      - provide fallback FOAM_TUTORIALS setting in RunFunctions
      
      STYLE: remove "~OpenFOAM" fallback as being too rare, non-obvious
      3751ce52
    • mark's avatar
      ENH: respect '-silent' option for cmake builds · 8c4a6814
      mark authored
      - minor cleanup of wmake sources
      8c4a6814
  8. Mar 10, 2017
  9. Mar 09, 2017
    • mark's avatar
      BUG: 'make clean' failed for wmake/src · f0249cd3
      mark authored
      - caused by the typo '@E' instead of '$E' (commit a0094dee)
      
      ENH: minor improvements for wmake/src makefile
      
      - 'make clean' now also tries to remove the parent platforms/
        directory if possible.
      
      - the flex intermediate build target is placed into the platforms/
        directory to avoid touching the src/ directory at all.
      
      - suppress warnings about unused functions (GCC only)
      f0249cd3
    • mark's avatar
      ENH: add 'wmkdep' to warnings and error messages from wmkdep · b1dc62fa
      mark authored
      - makes it possible to filter out or highlight messages originating
        from wmkdep in the build process.
      b1dc62fa
  10. Feb 24, 2017
    • mark's avatar
      ENH: provide wcleanBuild and improve wcleanPlatform · b6d20603
      mark authored
      - new behaviour is to do nothing if no platform was specified.
        This helps avoid inadvertently removing files.
      
      - support special platforms for compatibility with wmake/wclean targets.
        Eg, "wcleanPlatform all"
      
      - allow use from ThirdParty top-level as well, since the directory
        structure is similar.
      
      BUG: fix regression in wcleanLnIncludeAll introduced by 63bb0f78
      b6d20603
  11. Feb 23, 2017
  12. Feb 21, 2017
  13. Jan 28, 2017
  14. Jan 24, 2017
  15. Jan 18, 2017
  16. Jan 12, 2017
    • mark's avatar
      ENH: command-line query for the OPENFOAM_PLUS wmake value (issue #378) · 90be2c48
      mark authored
      Examples,
      
          wmakePrintBuild -plus
      
      Check if value is known
      (ie, everything configured and also OpenFOAM+):
      
          if wmakePrintBuild -plus >/dev/null 2>&1
          then
              echo YES
          else
              echo NO
          fi
      
      Check if version is new enough
      
          if ofver=$(wmakePrintBuild -plus 2>/dev/null) && [ "$ofver" -ge 1612 ]
          then
              echo YES
          else
              echo NO
          fi
      
      Conditionals
      
          ofver=$(wmakePrintBuild -plus 2>/dev/null)
          case "${ofver:=0}" in
          1612)
              echo "something for 1612
              ;;
          1706)
              echo "something for 1706
              ;;
          esac
      90be2c48
  17. Jan 08, 2017
  18. Dec 27, 2016
  19. Dec 22, 2016
    • mark's avatar
      COMP: update lnInclude directories when building (issue #364) · b1adda73
      mark authored
      - Could be related to interrupted builds.
        So if there are any parts of the build that rely on an explicit
        'wmakeLnInclude', make sure that the contents are properly updated.
      
      --
      
      ENH: improved feedback from top-level Allwmake
      
      - Report which section (libraries, applications) is being built.
      
      - Provide final summary of date, version, etc, which can be helpful
        for later diagnosis or record keeping.
      
      - The -log=XXX option for Allwmake now accepts a directory name
        and automatically appends an appropriate log name.
        Eg,
            ./Allwmake -log=logs/  ->> logs/log.linux64GccDPInt32Opt
      
        The default name is built from the value of WM_OPTIONS.
      
      --
      
      BUG: shell not exiting properly in combination with -log option
      
      - the use of 'tee' causes the shell to hang around.
        Added an explicit exit to catch this.
      
      --
      
      - Detecting the '-k' (-non-stop) option at the top-level Allwmake, which
        may improve robustness.
      
      - Explicit continue-on-error for foamyM...
      b1adda73
  20. Dec 15, 2016
  21. Dec 13, 2016
  22. Dec 12, 2016
  23. Nov 29, 2016
  24. Nov 27, 2016
  25. Nov 26, 2016
  26. Nov 14, 2016