Skip to content
Snippets Groups Projects
  1. May 30, 2017
  2. May 05, 2017
  3. Apr 20, 2017
    • Mark Olesen's avatar
      CONFIG: address differences between shells · 7f01a4be
      Mark Olesen 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.
      7f01a4be
  4. Apr 19, 2017
  5. Mar 29, 2017
  6. Mar 20, 2017
    • Mark Olesen's avatar
      ENH: minor improvements to environment · b970ba09
      Mark Olesen 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
      b970ba09
  7. Mar 15, 2017
  8. Mar 10, 2017
  9. Mar 09, 2017
    • Mark Olesen's avatar
      BUG: 'make clean' failed for wmake/src · 10fc0646
      Mark Olesen authored
      - caused by the typo '@E' instead of '$E' (commit 997f1713)
      
      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)
      10fc0646
    • Mark Olesen's avatar
      ENH: add 'wmkdep' to warnings and error messages from wmkdep · 2bfd17cf
      Mark Olesen authored
      - makes it possible to filter out or highlight messages originating
        from wmkdep in the build process.
      2bfd17cf
  10. Feb 24, 2017
    • Mark Olesen's avatar
      ENH: provide wcleanBuild and improve wcleanPlatform · 60574799
      Mark Olesen 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 9e2e1115
      60574799
  11. Feb 23, 2017
  12. Feb 21, 2017
  13. Feb 10, 2017
  14. Jan 28, 2017
  15. Jan 23, 2017
  16. Jan 18, 2017
  17. Jan 12, 2017
    • Mark Olesen's avatar
      ENH: command-line query for the OPENFOAM_PLUS wmake value (issue #378) · 23d24a51
      Mark Olesen 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
      23d24a51
  18. Jan 08, 2017
  19. Jan 05, 2017
  20. Dec 27, 2016
  21. Dec 22, 2016
    • Mark Olesen's avatar
      COMP: update lnInclude directories when building (issue #364) · 608bb5d8
      Mark Olesen 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 foamyMesh (as optional component)
      
      - unify format of script messages for better readability
      
      COMP: reduce warnings when building Pstream (old-style casts in openmpi)
      608bb5d8
  22. Dec 15, 2016
  23. Dec 13, 2016
  24. Dec 09, 2016
  25. Nov 28, 2016
  26. Nov 27, 2016
  27. Nov 25, 2016
  28. Nov 14, 2016