1. 14 May, 2020 1 commit
  2. 12 May, 2020 1 commit
  3. 11 May, 2020 1 commit
  4. 06 May, 2020 3 commits
  5. 05 May, 2020 2 commits
    • Andrew Heather's avatar
      Merge branch 'config-improve-cmake-paraview-handling' into 'master' · cf5928c3
      Andrew Heather authored
      ENH: improve cmake/ParaView config handling
      
      See merge request !358
      cf5928c3
    • Mark Olesen's avatar
      ENH: improve cmake/ParaView config handling · aafe674f
      Mark Olesen authored
      - improve handling of changes in ParaView/VTK or cmake parameters (#1693)
      
        * adjust internals to support recording of an unlimited number of
          configuration parameters and use file `cmp` instead of trying
          to check strings ourselves.
      
      ENH: new wmake/scripts/wmake.cmake-args handler
      
      - additional handling of -prefix=... as CMAKE_INSTALL_PREFIX export.
      
      - in some contexts, can use instead of AllwmakeParseArguments
      aafe674f
  6. 27 Apr, 2020 2 commits
  7. 21 Apr, 2020 2 commits
    • Mark Olesen's avatar
      CONFIG: additional packaging helpers, tutorial test helper · aa2f932b
      Mark Olesen authored
      - bin/tools/create-mpi-config to query/write values for system openmpi.
        In some cases this can be used to avoid an mpicc requirement at runtime.
      
      - adjust openfoam session to include -test-tutorial forwarding to the
        tutorials/AutoTest. This helps with writing installation tests.
      
      - adjust foamConfigurePaths to latest version
      
      - removal of gperftools default config, as per develop
      aa2f932b
    • Mark Olesen's avatar
      COMP: adjust for CGAL-1.14 changes · 6691e656
      Mark Olesen authored
      6691e656
  8. 16 Apr, 2020 2 commits
  9. 15 Apr, 2020 3 commits
    • Mark Olesen's avatar
      CONFIG: improve detection of scotch system include/libraries · 06333efd
      Mark Olesen authored
      - align wmake have_* scripts to support version query as per current
        develop branch
      
      - use config.sh/ fallbacks when the corresponding *_ARCH_PATH is empty
        (eg, BOOST, CGAL, FFTW).
        This aids when building outside of the regular OpenFOAM environment.
      06333efd
    • Mark Olesen's avatar
      CONFIG: improve support for compiler derivatives (#1671) · 4200774d
      Mark Olesen authored
      - add '[-+.~]' to the recognized qualifiers.
        This allows simple readable names such as
      
            WM_COMPILER=Clang-vendor
      
        but also opens the FUTURE (not yet supported) possibility of
        combining in additional information. For example,
      
            WM_COMPILER=Clang~openmp
            WM_COMPILER=Clang+cuda~openmp
      
        by using '+' (add) and '~' (subtract) notation similar to what
        spack uses.
      
      CONFIG: support 'override' rules
      
      - if present, compiler-family 'override' rules are included after
        compiler-family 'general' rules have been included. This allows a
        central means for including dynamically generated content to
        override some values.
      
        Some examples:
      
        To handle different gcc versions (system compiler):
      
        wmake/rules/...Gcc/override
      
        ```
        ifneq (,$(findstring 9, $(WM_COMPILER)))
            cc  := gcc-9
            CC  := g++-9 -std=c++11
        endif
        ```
      
        To handle different openmp on Darwin (#1656):
      
        wmake/rules/darwin64Clang/override
      
        ```
        # Use libomp (not libgomp) unless openmp is disabled
        ifeq (,$(findstring "~openmp", "$(WM_COMPILER)"))
            COMP_OPENMP = -DUSE_OMP -Xpreprocessor -fopenmp
            LINK_OPENMP = -lomp
        else
            include $(GENERAL_RULES)/no-openmp
        endif
        ```
      
        This treatment arguably fits into wmake/rules/darwin64Clang/general,
        but it serves to illustrate a possible use case.
      4200774d
    • Mark Olesen's avatar
      CONFIG: handle openmp on Darwin (#1656) · 04b5291c
      Mark Olesen authored
      - requires -Xpreprocessor
      - uses 'libomp' (no 'libgomp' link)
      04b5291c
  10. 09 Apr, 2020 1 commit
  11. 06 Apr, 2020 3 commits
  12. 03 Apr, 2020 2 commits
  13. 01 Apr, 2020 1 commit
  14. 18 Mar, 2020 1 commit
  15. 16 Mar, 2020 6 commits
    • Mark Olesen's avatar
      CONFIG: bump patch level · 80e40338
      Mark Olesen authored
      80e40338
    • Mark Olesen's avatar
      BUG: missing output for foamDictionary -includes (closes #1635) · 794ab397
      Mark Olesen authored
      - log to stdout when explicitly enabled
      794ab397
    • Mark Olesen's avatar
      CONFIG: improve prefix matching for system libraries (#1607) · fe17c8ad
      Mark Olesen authored
      - missed detection of system libraries when installed with multiarch
        paths like /usr/lib/x86_64-linux-gnu
      
      CONFIG: improve handling of group/user config files (#928)
      
      - changed bashrc handling of FOAM_CONFIG_NOUSER to use
        FOAM_CONFIG_MODE instead. Propagate into foamEtcFile to make this
        a stickier control.
      
        This change allows better control, but also enables cluster
        installations to define their own value within the OpenFOAM prefs.sh
        file to prevent users accidentally mis-configuring things if
        necessary.
      
      - remove undocumented handling of an (a)ll mode in foamEtcFile to
        avoid potential pitfalls.
      
      - add support for FOAM_CONFIG_ETC handling.
        This allows injection of an extra search layer when finding
        project etc files
      
      ENH: improvements to foamConfigurePaths (#928)
      
      - handle FOAM_CONFIG_ETC implicitly, or explicitly with the new
        -etc option.
      
      STYLE: more explicit wording in foamConfigurePaths usage (#1602)
      
      - document that an absolute path (eg, -scotch-path) overrides/ignores
        the equivalent ThirdParty setting (eg, -scotch)
      
      - longer options -system-compiler and -third-compiler for -system
        and -third, respectively. Clearer as to their purpose.
      
      - adjust the location sanity check to look for META-INFO directory.
      fe17c8ad
    • Mark Olesen's avatar
      CONFIG: support FOAM_EXTRA_CXXFLAGS (#1256) · ac8b64df
      Mark Olesen authored
      - allows custom tuning of compilation parameters
      ac8b64df
    • Mark Olesen's avatar
      ENH: openfoam shell session - improved and relocated · ba3a31af
      Mark Olesen authored
      - '-c' option (as per shell), '-Dkey[=value]' option to provide
        preferences via the command-line. For example,
      
            etc/openfoam -DWM_COMPILER=Clang -int64  ./Allwmake -j -s -l
      
        These can also be combined with other options. Eg,
      
            etc/openfoam -DWM_COMPILER=Clang \
                -c 'wmake -show-path-cxx -show-cxxflags'
      
      - relocated from bin/tools/ => etc/ for easier access
      
      - bin/tools/openfoam.in : for autoconfig-style installation
      
      - Auto-detect if the shell script was executed with openfoam and
        interpret accordingly.
      
        Simple example,
      
            --------------
            #!/usr/bin/openfoam
            cd "${0%/*}" || exit   # Run -*-sh-*- from this dir
      
            blockMesh
            simpleFoam
            --------------
      
         Note it is NOT currently possible to provide any other parameters
         this way. Eg,
      
            `#!/usr/bin/openfoam -sp` (NOT)
      
         This will either fail to run, or result in infinite recursion.
      ba3a31af
    • Andrew Heather's avatar
  16. 13 Mar, 2020 1 commit
  17. 12 Mar, 2020 2 commits
  18. 11 Mar, 2020 1 commit
  19. 03 Mar, 2020 2 commits
  20. 14 Feb, 2020 1 commit
  21. 13 Feb, 2020 1 commit
  22. 12 Feb, 2020 1 commit