- May 30, 2017
-
-
Mark OLESEN authored
- not yet release, but some of the API and file locations are closer to 1706 than to 1612. Needed, for example, for swak4foam.
-
- May 05, 2017
-
-
Mark OLESEN authored
-
- Apr 20, 2017
-
-
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.
-
- Apr 19, 2017
-
-
Mark Olesen authored
- POSIX specifies '-c' for counting the number of matching lines, so we can just use that instead of 'wc' in wmake
-
Mark Olesen authored
- if called from the top-level project directory ($WM_PROJECT_DIR) default to using {applications,src} directories. This avoids erroneous linking of etc/codeTemplates and avoids the lengthy scanning of the tutorials directory
-
- Mar 29, 2017
-
-
Mark Olesen authored
- minor bug: 'wclean empty' may have had issues with logical vs physical path
-
- Mar 20, 2017
-
-
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
-
- Mar 15, 2017
-
-
Mark Olesen authored
- minor cleanup of wmake sources
-
- Mar 10, 2017
-
-
Mark Olesen authored
- easier to test or use different versions - change WM_CXXFLAGS to -std=c++11 instead of -std=c++0x
-
- Mar 09, 2017
-
-
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)
-
Mark Olesen authored
- makes it possible to filter out or highlight messages originating from wmkdep in the build process.
-
- Feb 24, 2017
-
-
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
-
- Feb 23, 2017
-
-
Mark Olesen authored
-
Mark Olesen authored
STYLE: improve consistency in Allwclean scripts
-
- Feb 21, 2017
- Feb 10, 2017
-
-
Mark Olesen authored
- makes it slightly easier when packaging various binaries, or when building packages for installation via modules etc.
-
Mark Olesen authored
- reduces unexpected interactions between various make elements
-
mark authored
- The dirToString -strip option is simple, but reduces effort for the caller.
-
Mark Olesen authored
- also add some comments about the side-effects
-
Mark Olesen authored
- For convenience, let "wmake some/path/filename.C" behave similar to "wmake some/path" and trace back for the Make directory.
-
- Jan 28, 2017
-
-
Henry Weller authored
Patch contributed by Bruno Santos Resolves patch request https://bugs.openfoam.org/view.php?id=2424
-
- Jan 23, 2017
-
-
Mark Olesen authored
Eg, librunTimePostProcessing.so librunTimePostProcessing.so.7 -> librunTimePostProcessing.so.7.1.0 librunTimePostProcessing.so.7.1.0 - centralize handling of paraview/vtk versioning into wmake/cmakeFunctions
-
- Jan 18, 2017
-
-
Henry Weller authored
-
- Jan 12, 2017
-
-
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
-
- Jan 08, 2017
-
-
Henry Weller authored
Patch provided by Bruno Santos Resolves patch request https://bugs.openfoam.org/view.php?id=2425
-
- Jan 05, 2017
-
-
Mark Olesen authored
- use "-pvMAJ.MIN" suffix for similarity with the paraview convention - use sentinel file to ensure clean change of intermediate targets - ensure all library files are being properly removed
-
- Dec 27, 2016
-
-
Henry Weller authored
Patch contributed by Bruno Santos Resolves bug-report https://bugs.openfoam.org/view.php?id=2408
-
- Dec 22, 2016
-
-
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)
-
- Dec 15, 2016
-
-
Mark Olesen authored
- now defaults to 'log.$WM_OPTIONS' (eg, log.linux64GccDPInt32Opt) for more clarity and fewer potential name clashes when building multiple versions.
-
- Dec 13, 2016
-
-
Mark Olesen authored
- helpful when testing various builds
-
- Dec 09, 2016
-
-
Mark Olesen authored
- slightly odd. Building CGAL on other Linux systems have a proper ldd dependency for gmp/mpfr, but ubuntu doesn't
-
Mark Olesen authored
-
- Nov 28, 2016
-
-
Mark Olesen authored
- now that adios_config flags are largely working in ThirdParty
-
- Nov 27, 2016
-
-
Mark Olesen authored
- support gperftools-none, gperftools-system configurations as per other third-party packages. STYLE: clean up more environment variables CONFIG: testing adios rule
-
- Nov 25, 2016
-
-
Mark Olesen authored
- these directories are sometimes used for a central, non-thirdparty, non-system installation - leave gmp and mpfr as is, since it is not clear how these would interact with system versions
-
- Nov 14, 2016
-
-
Henry Weller authored
when Allwmake is called from wmake -all
-
Henry Weller authored
-
Henry Weller authored
-
Henry Weller authored
-