1. 01 Jul, 2020 1 commit
  2. 08 Jun, 2020 1 commit
    • Mark Olesen's avatar
      ENH: support FOAM_MODULE_PREFIX to guide location of module builds (#1721) · 934d0bd7
      Mark Olesen authored
      - When compiling additional modules or user code, we need more control
        for the installation locations beyond the usual FOAM_USER_LIBBIN,
        FOAM_SITE_LIBBIN, FOAM_LIBBIN, and wish to have these values be
        modifiable without editing files.
      
      - provide wmake rules for handling standard defaults:
          * GENERAL_RULES/module-path-user
          * GENERAL_RULES/module-path-group
          * GENERAL_RULES/module-path-project
        which are incorporated as follows:
      
        Make/options:
            include $(GENERAL_RULES)/module-path-user
      
        Make/files:
            LIB = $(FOAM_MODULE_LIBBIN)/libMyLibrary
      
        By default these would compile into FOAM_USER_{APPBIN,LIBBIN} but
        could be adjusted at compilation time. For example,
      
      ```
      wmake -module-prefix=/path/my-install-location
      ```
      Or
      ```
      ./Allwmake -module-prefix=/path/my-install-location
      ./Allwmake -prefix=/path/my-install-location
      ```
      Or
      ```
      FOAM_MODULE_PREFIX=/path/my-install-location ./Allwmake
      ```
      
      ENH: add -no-re...
      934d0bd7
  3. 22 May, 2020 1 commit
  4. 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.
      9e3d0685
  5. 21 Apr, 2020 1 commit
    • 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
  6. 25 Mar, 2020 1 commit
    • Mark Olesen's avatar
      ENH: tuning wmake behaviour (#1647) · 816e96e0
      Mark Olesen authored
      - preferentially handle Allwmake.override, which allows packaging
        tools to define alternative make scripts, or selectively disable
        components.
      
      - remove legacy handling of 'Optional' directory.
        Conditionals have since migrated into scripts themselves and/or
        use the wmake/scripts/have_* framework.
      
      BUG: missed passing -debug for Allwmake scripts
      816e96e0
  7. 12 Feb, 2020 1 commit
  8. 19 Dec, 2019 1 commit
  9. 17 Dec, 2019 1 commit
  10. 13 Nov, 2019 1 commit
  11. 10 Nov, 2019 1 commit
  12. 24 Jun, 2019 1 commit
  13. 09 Jun, 2019 1 commit
  14. 09 Dec, 2018 1 commit
  15. 03 Dec, 2018 1 commit
    • Mark Olesen's avatar
      CONFIG: adjustments to environment · b8c257d6
      Mark Olesen authored
      - provide default WM_DIR if not already set, to improve robustness if a
        reduced environment is used
      
      - add etc/ to WM_PROJECT_SITE search. This makes the site directory
        structure consistent with the OpenFOAM structure.
        Eg,
      
            WM_PROJECT_SITE/etc/..
            WM_PROJECT_SITE/bin/..
            WM_PROJECT_SITE/platforms/..
      
      - Don't set/export WM_OSTYPE.  The default is POSIX and is properly
        defaulted throughout, including in CMakeLists-OpenFOAM.txt (also for
        Catalyst)
      b8c257d6
  16. 22 Nov, 2018 1 commit
  17. 21 Nov, 2018 1 commit
  18. 06 Nov, 2018 1 commit
  19. 18 Dec, 2017 1 commit
  20. 13 Dec, 2017 1 commit
    • Mark Olesen's avatar
      CONFIG: add additional modules/ directory and Module namespace · ffc1c5ac
      Mark Olesen authored
      - any code placed here should provide Allwmake and Allwclean scripts
        and normally have compilation targets into FOAM_APPBIN, FOAM_LIBBIN
      
        Since there is no standardize places for sources or applications,
        a simultaneous build of a module's doxygen documentation requires
        a minor bit of manual effort. Add (via symlink) the sources into
        the modules/doc/ directory to have them included in the normal
        OpenFOAM doxygen documentation generation.
      
        A makelink.example file is provided there as an example.
      ffc1c5ac
  21. 24 Apr, 2018 1 commit
    • Mark Olesen's avatar
      ENH: improve handling of ThirdParty packages · b4d38ab4
      Mark Olesen authored
      - generalize some of the library extensions (.so vs .dylib).
        Provide as wmake 'sysFunctions'
      
      - added note about unsupported/incomplete system support
      
      - centralize detection of ThirdParty packages into wmake/ subdirectory
        by providing a series of scripts in the spirit of GNU autoconfig.
        For example,
      
            have_boost, have_readline, have_scotch, ...
      
        Each of the `have_<package>` scripts will generally provide the
        following type of functions:
      
            have_<package>          # detection
            no_<package>            # reset
            echo_<package>          # echoing
      
        and the following type of variables:
      
            HAVE_<package>          # unset or 'true'
            <package>_ARCH_PATH     # root for <package>
            <package>_INC_DIR       # include directory for <package>
            <package>_LIB_DIR       # library directory for <package>
      
        This simplifies the calling scripts:
      
            if have_metis
            then
                wmake metisDecomp
            fi
      
        As well as reduci...
      b4d38ab4
  22. 04 Apr, 2017 1 commit
    • Mark Olesen's avatar
      ENH: reduce reliance on FOAM_EXT_LIBBIN during builds · dd78e042
      Mark Olesen authored
      - just check WM_PROJECT_DIR instead.
      
      - provide a fallback value when FOAM_EXT_LIBBIN might actually be needed.
      
      Only strictly need FOAM_EXT_LIBBIN for scotch/metis decomposition, and
      when these are actually supplied by ThirdParty.
      All other ThirdParty dependencies are referenced by BOOST_ARCH_PATH etc.
      
      Can therefore drop the FOAM_EXT_LIBBIN dependency for VTK-related
      things, which do not use scotch/metis anyhow.
      dd78e042
  23. 29 Mar, 2017 1 commit
  24. 10 Mar, 2017 1 commit
  25. 06 Feb, 2017 1 commit
  26. 28 Jan, 2017 1 commit
  27. 23 Dec, 2016 1 commit
  28. 22 Dec, 2016 1 commit
    • 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 foamyM...
      608bb5d8
  29. 04 Jul, 2016 1 commit
  30. 24 Jun, 2016 1 commit
  31. 15 Feb, 2016 1 commit
  32. 26 Oct, 2015 1 commit
  33. 14 Dec, 2014 1 commit
  34. 04 Jun, 2013 1 commit
  35. 30 Dec, 2010 1 commit
  36. 02 Jul, 2010 1 commit
  37. 22 Jun, 2010 1 commit
  38. 07 Aug, 2009 1 commit
  39. 31 Jul, 2009 1 commit
  40. 30 Jul, 2009 1 commit