View Issue Details

IDProjectCategoryView StatusLast Update
0002312OpenFOAMPatchpublic2016-10-30 00:05
Reporterwyldckat Assigned Tohenry  
PrioritylowSeveritytextReproducibilityN/A
Status resolvedResolutionfixed 
Product Versiondev 
Fixed in Versiondev 
Summary0002312: Gcc 4.5, 4.6 and 4.7 are still briefly referenced to in etc/{bash,csh}rc
DescriptionAttached is the patch file "Gcc_mentions_in_scripts.patch" that proposes th following change for the bashrc and cshrc files:

-# WM_COMPILER = Gcc | Gcc45 | Gcc46 | Gcc47 | Gcc48 | Gcc49| Clang | Icc
+# WM_COMPILER = Gcc | Gcc48 ... Gcc62 | Clang | Icc


I removed 4.7, because the last time I tried a few weeks ago, it would no longer build...

Which reminds me, I've updated the attached patch file to also remove "Gcc47" from "etc/config.csh/settings" and "etc/config.sh/compiler".

I didn't include the complete files, given they would depend on whether the propositions to issues #2310 and #2309 are accepted or not.
TagsNo tags attached.

Activities

wyldckat

2016-10-29 23:14

updater  

Gcc_mentions_in_scripts.patch (1,585 bytes)   
diff --git a/etc/bashrc b/etc/bashrc
index 44ee7b8..e107f57 100644
--- a/etc/bashrc
+++ b/etc/bashrc
@@ -61,7 +61,7 @@ export FOAM_INST_DIR=$HOME/$WM_PROJECT
 export WM_COMPILER_TYPE=system
 
 #- Compiler:
-#    WM_COMPILER = Gcc | Gcc45 | Gcc46 | Gcc47 | Gcc48 | Gcc49| Clang | Icc
+#    WM_COMPILER = Gcc | Gcc48 ... Gcc62 | Clang | Icc
 export WM_COMPILER=Gcc
 unset WM_COMPILER_ARCH WM_COMPILER_LIB_ARCH
 
diff --git a/etc/config.csh/settings b/etc/config.csh/settings
index 282558a..aa8243d 100644
--- a/etc/config.csh/settings
+++ b/etc/config.csh/settings
@@ -225,9 +225,6 @@ case ThirdParty:
     case Gcc48:
         set gcc_version=gcc-4.8.5
         breaksw
-    case Gcc47:
-        set gcc_version=gcc-4.7.4
-        breaksw
     case Gcc49:
         set gcc_version=gcc-4.9.3
         breaksw
diff --git a/etc/config.sh/compiler b/etc/config.sh/compiler
index 6a94135..9042a5f 100644
--- a/etc/config.sh/compiler
+++ b/etc/config.sh/compiler
@@ -42,9 +42,6 @@ OpenFOAM | ThirdParty)
     Gcc | Gcc48)
         gcc_version=gcc-4.8.5
         ;;
-    Gcc47)
-        gcc_version=gcc-4.7.4
-        ;;
     Gcc49)
         gcc_version=gcc-4.9.3
         ;;
diff --git a/etc/cshrc b/etc/cshrc
index c2f1794..8886777 100644
--- a/etc/cshrc
+++ b/etc/cshrc
@@ -61,7 +61,7 @@ echo $FOAM_INST_DIR
 setenv WM_COMPILER_TYPE system
 
 #- Compiler:
-#    WM_COMPILER = Gcc | Gcc45 | Gcc46 | Gcc47 | Gcc48 | Gcc49 | Clang | Icc
+#    WM_COMPILER = Gcc | Gcc48 ... Gcc62 | Clang | Icc
 setenv WM_COMPILER Gcc
 setenv WM_COMPILER_ARCH # defined but empty
 unsetenv WM_COMPILER_LIB_ARCH
Gcc_mentions_in_scripts.patch (1,585 bytes)   

henry

2016-10-30 00:05

manager   ~0007077

Resolved by commit fa7f61b32ecc7206cabc9d30f37e7df86ca4a69a

Issue History

Date Modified Username Field Change
2016-10-29 23:14 wyldckat New Issue
2016-10-29 23:14 wyldckat Status new => assigned
2016-10-29 23:14 wyldckat Assigned To => henry
2016-10-29 23:14 wyldckat File Added: Gcc_mentions_in_scripts.patch
2016-10-30 00:05 henry Status assigned => resolved
2016-10-30 00:05 henry Resolution open => fixed
2016-10-30 00:05 henry Fixed in Version => dev
2016-10-30 00:05 henry Note Added: 0007077