forked from spack/spack
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
ENH: better handling of mpich for openfoam packages
- define MPICH_SKIP_MPICXX, link libmpich instead of libmpi (as per disussion in PR spack#4990) ENH: more flexible editing/patching of openfoam env files CONFIG: comment out requirement for openmpi+thread_multiple - was originally slated for the 1712 release and beyond, but there are reportedly unstable version/network combinations. Leave as comment for future reference, since it may be arise again. STYLE: renamed openfoam-site.patch as 1706-site.patch (and reformatted) - to preserve against impending changes in the layout of config.{csh,sh}/settings
- Loading branch information
Showing
3 changed files
with
74 additions
and
69 deletions.
There are no files selected for viewing
22 changes: 22 additions & 0 deletions
22
var/spack/repos/builtin/packages/openfoam-com/1706-site.patch
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,22 @@ | ||
--- OpenFOAM-plus.orig/etc/config.sh/settings 2016-12-23 15:22:59.000000000 +0100 | ||
+++ OpenFOAM-plus/etc/config.sh/settings 2017-04-04 12:21:31.295498985 +0200 | ||
@@ -157,7 +157,7 @@ | ||
export FOAM_EXT_LIBBIN=$WM_THIRD_PARTY_DIR/platforms/$WM_ARCH$WM_COMPILER$WM_PRECISION_OPTION$WM_LABEL_OPTION/lib | ||
|
||
# Site-specific directory | ||
-siteDir="${WM_PROJECT_SITE:-$WM_PROJECT_INST_DIR/site}" | ||
+siteDir="${WM_PROJECT_SITE:-$WM_PROJECT_DIR/site}" #SPACK: not in parent directory | ||
|
||
# Shared site executables/libraries | ||
# Similar naming convention as ~OpenFOAM expansion | ||
--- OpenFOAM-plus.orig/etc/config.csh/settings 2016-12-23 15:22:59.000000000 +0100 | ||
+++ OpenFOAM-plus/etc/config.csh/settings 2017-03-23 12:23:52.737891912 +0100 | ||
@@ -156,7 +156,7 @@ | ||
if ( $?WM_PROJECT_SITE ) then | ||
set siteDir=$WM_PROJECT_SITE | ||
else | ||
- set siteDir=$WM_PROJECT_INST_DIR/site | ||
+ set siteDir=$WM_PROJECT_DIR/site #SPACK: not in parent directory | ||
endif | ||
|
||
# Shared site executables/libraries |
35 changes: 0 additions & 35 deletions
35
var/spack/repos/builtin/packages/openfoam-com/openfoam-site.patch
This file was deleted.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters