Commit Graph

29 Commits

Author SHA1 Message Date
Mark Olesen
b970ba0901 ENH: minor improvements to environment
- 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
2017-03-20 08:57:12 +01:00
Mark Olesen
973cf0397d CONFIG: provide foamConfigurePaths -mpi option
- makes it easier to switch between mpi implementations (eg, openmpi, intelmpi etc)

- add comment about compiler setting for KNL
2017-02-16 09:14:17 +01:00
Mark Olesen
9b1fcb0f73 ENH: increase coverage for foamConfigurePaths script
- can adjust many more values
2016-12-16 08:17:38 +01:00
Mark Olesen
3f362fd7ec CONFIG: add config files for VTK, MESA
- sometimes used for off-screen rendering.
  Only add to library-path when they are actually available
2016-12-16 08:17:29 +01:00
Mark Olesen
c7d7cbca28 BUG: foamConfigurePaths -foamInstall fails (related to issue #280)
- relied on 'export' keyword, which was removed in commit b844867112

--
ENH: foamConfigurePaths support for additional items:

    -label 32|64            specify label size
    -system name            specify 'system' compiler to be used
    -thirdParty name        specify 'ThirdParty' compiler to be used

    -boost ver              specify boost_version
    -boostArchPath dir      specify BOOST_ARCH_PATH
    -cgal ver               specify cgal_version
    -cgalArchPath dir       specify CGAL_ARCH_PATH
    -clang ver              specify clang_version for ThirdParty Clang
    -cmake ver              specify cmake_version
    -fftw ver               specify fffw_version
    -fftwArchPath dir       specify FFTW_ARCH_PATH
    -metis ver              specify METIS_VERSION
    -metisArchPath dir      specify METIS_ARCH_PATH
2016-11-09 14:38:15 +01:00
Henry Weller
f2d9959bae foamConfigurePaths: Updated foamInstall option 2016-06-06 19:32:01 +01:00
Henry Weller
80c3bcff48 bin/tools/foamConfigurePaths: foamCompiler -> WM_COMPILER_TYPE 2016-03-09 09:05:07 +00:00
Henry Weller
45253d6204 Update header 2016-02-10 16:20:46 +00:00
Henry Weller
f9d61d7e3c Updates for changes to etc/config structure 2016-02-10 16:20:19 +00:00
laurence
14496baaa7 COMP: foamConfigurePaths given scotch version and path arguments 2013-06-17 14:51:07 +01:00
andy
0a8bae1f54 ENH: Adding changes from 2.2.0 2013-03-06 15:41:24 +00:00
mattijs
572d7551b9 ENH: foamConfigurePaths: added paraviewVersion option 2013-01-07 14:47:27 +00:00
laurence
790aa2f693 COMP: foamConfigurePaths will now check if WM_ARCH_OPTION needs to be set 2011-12-02 10:26:13 +00:00
Henry
c2dd153a14 Copyright transfered to the OpenFOAM Foundation 2011-08-14 12:17:30 +01:00
mattijs
4ce22e4c0d ENH: foamConfigurePaths: overwrite the version always 2011-08-12 10:19:19 +01:00
mattijs
5c75ad35ab ENH: bin/tools/foamConfigurePaths: temporarily disable projectVersion 2011-06-13 16:19:05 +01:00
Mark Olesen
20693b96bd CONF: move OpenFOAM etc/apps -> etc/config
- use standard *.sh, *.csh endings
2011-05-02 14:52:11 +02:00
mattijs
2475ffe9f8 ENH: foamConfigurePaths: rule to rewrite project version 2011-03-17 15:51:00 +00:00
Mark Olesen
f691fe7896 STYLE: more consistent use of stderr for script usage 2011-02-15 16:48:26 +01:00
andy
eaef8d482b STYLE: Updated 1991 start copyright year to 2004 2011-01-14 16:08:00 +00:00
andy
14d1300a36 Revert "STyLE: More 2011 copyright dates (non-code)."
This reverts commit 2e1e671d96.
2011-01-05 18:25:32 +00:00
graham
2e1e671d96 STyLE: More 2011 copyright dates (non-code). 2011-01-05 11:48:24 +00:00
Mark Olesen
18dbe9996a ENH: reorganize settings to avoid inheriting bad values
- avoid non-standard 'tempfile' in bin/tools/foamConfigurePaths
2010-12-23 07:37:32 +01:00
Mark Olesen
312d15c701 STYLE: use 'foamCompiler' instead of 'compilerInstall'
- more obvious in its meaning
2010-12-23 06:28:49 +01:00
mattijs
a45f394c37 BUG: foamConfigurePaths : incorrect logic 2010-11-04 12:50:09 +00:00
mattijs
497daa3061 STYLE: foamConfigurePaths : expanded tab 2010-10-19 17:47:33 +01:00
mattijs
0d470d124e ENH: foamConfigurePaths : check that sed has done something 2010-10-19 17:46:21 +01:00
Mark Olesen
266c4c61da STYLE: remove tabs and trailing space from new scripts 2010-07-02 09:14:10 +02:00
mattijs
ed650a1643 ENH: debian/ pack files initial versions 2010-06-30 13:45:14 +01:00