]> SALOME platform Git repositories - tools/sat_salome.git/commitdiff
Salome HOME
StaticMeshPlugin compilation issue on DB11
authorNabil Ghodbane <nabil.ghodbane@cea.fr>
Fri, 30 Sep 2022 09:08:40 +0000 (11:08 +0200)
committerNabil Ghodbane <nabil.ghodbane@cea.fr>
Fri, 30 Sep 2022 09:08:40 +0000 (11:08 +0200)
applications/SALOME-master-native.pyconf
products/StaticMeshPlugin.pyconf
products/patches/StaticMeshPlugin-5.11.0.p001.patch [new file with mode: 0644]
products/patches/StaticMeshPlugin-5.11.0.patch [deleted file]

index ddcbf8e42a37a836ff5e3edebbce8bfc6fdcb057..992c85c75d05b99b30ebc22049425ff3a93275af 100644 (file)
@@ -249,7 +249,8 @@ __overwrite__ :
         __condition__ : "VARS.dist in ['DB11']"
         'APPLICATION.products.opencv' : '3.2.0'
         'APPLICATION.products.cminpack': 'native'
-        'APPLICATION.products.PyFMI'    : {tag:'2.6',    base: 'no',  section: 'version_2_6_no_pip'                 }
+        'APPLICATION.products.PyFMI'            : {tag:'2.6',    base: 'no',  section: 'version_2_6_no_pip' }
+        'APPLICATION.products.StaticMeshPlugin' : {tag:'5.11.0', base: 'no',  section: 'version_5_11_0_DB11'}
     }
     {
         # CentOS 8 repositories don't include sphinxintl package which must be installed through pip.
index 856c37bee3576e7e5592f493fba8fb66e1bdafe1..d8d6d27fac5b3a1f75ff31d5a96d8613dfc137b1 100644 (file)
@@ -61,7 +61,13 @@ default_win :
 version_5_11_0:
 {
  archive_info : {archive_name : "StaticMeshPlugin-5.11.0-8801743.tar.gz"}
- patches: ['StaticMeshPlugin-5.11.0.patch']
+ patches: ['StaticMeshPlugin-5.11.0.p001.patch']
+}
+
+version_5_11_0_DB11:
+{
+ archive_info : {archive_name : "StaticMeshPlugin-5.11.0-8801743.tar.gz"}
+ patches: ['StaticMeshPlugin-5.11.0.p001.patch', 'StaticMeshPlugin-5.11.0.p002.patch']
 }
 
 version_5_8_0:
diff --git a/products/patches/StaticMeshPlugin-5.11.0.p001.patch b/products/patches/StaticMeshPlugin-5.11.0.p001.patch
new file mode 100644 (file)
index 0000000..833f61b
--- /dev/null
@@ -0,0 +1,14 @@
+diff --git a/plugin/CMakeLists.txt b/plugin/CMakeLists.txt
+index 04bff27..40e81c6 100644
+--- a/plugin/CMakeLists.txt
++++ b/plugin/CMakeLists.txt
+@@ -4,3 +4,9 @@ paraview_add_plugin(StaticMesh
+   MODULE_FILES "${CMAKE_CURRENT_SOURCE_DIR}/StaticMeshModule/vtk.module"
+   SERVER_MANAGER_XML sources.xml readers.xml filters.xml
+ )
++
++install(TARGETS StaticMesh
++  RUNTIME DESTINATION lib/paraview
++  LIBRARY DESTINATION lib/paraview
++  ARCHIVE DESTINATION lib/paraview
++)
diff --git a/products/patches/StaticMeshPlugin-5.11.0.patch b/products/patches/StaticMeshPlugin-5.11.0.patch
deleted file mode 100644 (file)
index 833f61b..0000000
+++ /dev/null
@@ -1,14 +0,0 @@
-diff --git a/plugin/CMakeLists.txt b/plugin/CMakeLists.txt
-index 04bff27..40e81c6 100644
---- a/plugin/CMakeLists.txt
-+++ b/plugin/CMakeLists.txt
-@@ -4,3 +4,9 @@ paraview_add_plugin(StaticMesh
-   MODULE_FILES "${CMAKE_CURRENT_SOURCE_DIR}/StaticMeshModule/vtk.module"
-   SERVER_MANAGER_XML sources.xml readers.xml filters.xml
- )
-+
-+install(TARGETS StaticMesh
-+  RUNTIME DESTINATION lib/paraview
-+  LIBRARY DESTINATION lib/paraview
-+  ARCHIVE DESTINATION lib/paraview
-+)