From: Nabil Ghodbane Date: Fri, 1 Oct 2021 10:20:58 +0000 (+0200) Subject: spns #18704 DB9 - embed gcc 8.5 - native gcc is not fully c++17 compliant X-Git-Tag: V9_8_0~82 X-Git-Url: http://git.salome-platform.org/gitweb/?a=commitdiff_plain;h=c01fa71f23a7214ab25bed35664a8cf66410d4db;p=tools%2Fsat_salome.git spns #18704 DB9 - embed gcc 8.5 - native gcc is not fully c++17 compliant --- diff --git a/applications/SALOME-master-MPI.pyconf b/applications/SALOME-master-MPI.pyconf index 33baf70..f2fbe8c 100644 --- a/applications/SALOME-master-MPI.pyconf +++ b/applications/SALOME-master-MPI.pyconf @@ -47,6 +47,10 @@ APPLICATION : embree : '3.12.2' freeimage : '3.16.0' freetype : '2.9.1' + gcc : '8.5.0' + mpc : 'native' + gmp : 'native' + mpfr : 'native' gmsh : '4.8.4' graphviz : '2.38.0' hdf5 : {tag : '1.10.3', hpc : 'yes'} @@ -179,5 +183,15 @@ APPLICATION : } __overwrite__ : [ + { + __condition__ : "VARS.dist in ['FD32']" + # https://github.com/scipy/scipy/issues/11611 + 'APPLICATION.products.scipy' : '1.5.2' + } + { + __condition__ : "VARS.dist not in ['DB09']" + # https://github.com/scipy/scipy/issues/11611 + 'APPLICATION.rm_products' : ['gcc', 'gmp', 'mpc', 'mpfr'] + } ] diff --git a/applications/SALOME-master.pyconf b/applications/SALOME-master.pyconf index f2a9602..c1a53b0 100644 --- a/applications/SALOME-master.pyconf +++ b/applications/SALOME-master.pyconf @@ -47,6 +47,10 @@ APPLICATION : embree : '3.12.2' freeimage : '3.16.0' freetype : '2.9.1' + gcc : '8.5.0' + mpc : 'native' + gmp : 'native' + mpfr : 'native' gmsh : '4.8.4' graphviz : '2.38.0' hdf5 : '1.10.3' @@ -182,4 +186,9 @@ __overwrite__ : # https://github.com/scipy/scipy/issues/11611 'APPLICATION.products.scipy' : '1.5.2' } + { + __condition__ : "VARS.dist not in ['DB09']" + # https://github.com/scipy/scipy/issues/11611 + 'APPLICATION.rm_products' : ['gcc', 'gmp', 'mpc', 'mpfr'] + } ] diff --git a/products/Python.pyconf b/products/Python.pyconf index cae3736..cceda4d 100755 --- a/products/Python.pyconf +++ b/products/Python.pyconf @@ -18,6 +18,7 @@ default : env_script : $name + ".py" } depend : [] + opt_depend: ["gcc"] patches : [] source_dir : $APPLICATION.workdir + $VARS.sep + 'SOURCES' + $VARS.sep + $name build_dir : $APPLICATION.workdir + $VARS.sep + 'BUILD' + $VARS.sep + $name diff --git a/products/cmake.pyconf b/products/cmake.pyconf index 25952e4..a14208d 100644 --- a/products/cmake.pyconf +++ b/products/cmake.pyconf @@ -17,6 +17,7 @@ default : env_script : $name + ".py" } depend : [] + opt_depend: ["gcc"] source_dir : $APPLICATION.workdir + $VARS.sep + 'SOURCES' + $VARS.sep + $name build_dir : $APPLICATION.workdir + $VARS.sep + 'BUILD' + $VARS.sep + $name install_dir : 'base' diff --git a/products/gcc.pyconf b/products/gcc.pyconf index 2246772..e077dff 100644 --- a/products/gcc.pyconf +++ b/products/gcc.pyconf @@ -19,8 +19,12 @@ default : } } +version_8_5_0: +{ + compil_script : 'gcc-8.5.0.sh' +} + version_6_3_0: { compil_script : 'gcc-6.3.0.sh' - -} \ No newline at end of file +}