]> SALOME platform Git repositories - tools/sat_salome.git/commitdiff
Salome HOME
OpenMP compliance - force to OPENMP 200805 on CentOS 7
authorNabil Ghodbane <nabil.ghodbane@cea.fr>
Fri, 2 Oct 2020 15:39:44 +0000 (17:39 +0200)
committerNabil Ghodbane <nabil.ghodbane@cea.fr>
Fri, 2 Oct 2020 15:39:44 +0000 (17:39 +0200)
applications/SALOME-master-int64.pyconf
products/patches/paraview.0011-vtkSMPSelection.patch [new file with mode: 0644]

index fba15e6ebe9d74425dfe9edf6a6d6de274babcb1..f09d073ef6bce4a7bad99ec167d3b1b5c49d395a 100644 (file)
@@ -216,6 +216,18 @@ __overwrite__ :
                                                 ]
   }
 
+  {
+    __condition__ : "VARS.dist in ['CO7']"
+    'PRODUCTS.ParaView.version_5_8_0.patches' : ['paraview.0003-ParaViewClient.patch',
+                                                 'paraview.0004-ParaView_hdf5.patch',
+                                                 'paraview.0005-ParaView_find_cgns.patch',
+                                                 'paraview.0006-ParaView_find_libxml2.patch',
+                                                 'paraview.0007-ParaView_find_freetype.patch',
+                                                 'paraview.0009-ParaView_volume_mapper.patch',
+                                                 'paraview.0011-vtkSMPSelection.patch',
+                                                 'pv_coincident.patch'
+                                                ]
+  }
   {
     __condition__ : "VARS.dist in ['CO8']"
     'PRODUCTS.ParaView.version_5_8_0.patches' : ['paraview.0010-ParaViewClient.patch',
diff --git a/products/patches/paraview.0011-vtkSMPSelection.patch b/products/patches/paraview.0011-vtkSMPSelection.patch
new file mode 100644 (file)
index 0000000..ad35fc5
--- /dev/null
@@ -0,0 +1,11 @@
+--- ParaView-orig/VTK/Common/Core/vtkSMPSelection.cmake        2020-03-23 22:17:27.000000000 +0100
++++ ParaView/VTK/Common/Core/vtkSMPSelection.cmake     2020-10-02 14:17:04.211733392 +0200
+@@ -44,7 +44,7 @@ elseif (VTK_SMP_IMPLEMENTATION_TYPE STRE
+     vtkSMPThreadLocalImpl.h
+     vtkSMPToolsInternal.h)
+-  if (OpenMP_CXX_SPEC_DATE AND NOT "${OpenMP_CXX_SPEC_DATE}" LESS "201107")
++  if (OpenMP_CXX_SPEC_DATE AND NOT "${OpenMP_CXX_SPEC_DATE}" LESS "200805")
+     set(vtk_smp_use_default_atomics OFF)
+     list(APPEND vtk_smp_sources
+       "${vtk_smp_implementation_dir}/vtkAtomic.cxx")