]> SALOME platform Git repositories - tools/sat_salome.git/commitdiff
Salome HOME
llvm 8.0.1 fedora 34 compliance
authorNabil Ghodbane <nabil.ghodbane@cea.fr>
Mon, 11 Apr 2022 12:36:32 +0000 (14:36 +0200)
committerNabil Ghodbane <nabil.ghodbane@cea.fr>
Mon, 11 Apr 2022 12:36:32 +0000 (14:36 +0200)
products/GMSHPLUGIN.pyconf
products/llvm.pyconf
products/patches/llvm-8.0.1-clang-FD34-gcc-11.0.patch [new file with mode: 0644]

index ddfe7f39826f59c79bb0daa0afc07be403cd9c75..fa36b529b39767ac42dc147d016454dc87b02aae 100644 (file)
@@ -32,11 +32,6 @@ default :
     patches: []
 }
 
-default_win :
-{
-   patches : ['GMSHPLUGIN-BOS-18709.patch']
-}
-
 version_8_1_0_to_9_1_0 :
 {
     name : "GMSHPLUGIN"
index ded0adf6b51553bf84dc166c45f73916ad73c1ca..ac250efe1818bd8860b60665f388519649e96b29 100644 (file)
@@ -33,7 +33,7 @@ version_8_0_1_clang :
 {
     build_source : "script"
     compil_script: "llvm-8.0.1.sh"
-    patches : ['llvm-8.0.1-clang-FD32-gcc-10.0.patch']
+    patches : ['llvm-8.0.1-clang-FD32-gcc-10.0.patch', 'llvm-8.0.1-clang-FD34-gcc-11.0.patch']
 }
 
 version_8_0_1_clang_win :
diff --git a/products/patches/llvm-8.0.1-clang-FD34-gcc-11.0.patch b/products/patches/llvm-8.0.1-clang-FD34-gcc-11.0.patch
new file mode 100644 (file)
index 0000000..76e3147
--- /dev/null
@@ -0,0 +1,17 @@
+--- llvm-8.0.1_ref/utils/benchmark/src/benchmark_register.h    2022-04-11 13:40:41.292886023 +0200
++++ llvm-8.0.1_new/utils/benchmark/src/benchmark_register.h    2022-04-11 13:45:57.661074020 +0200
+@@ -2,7 +2,13 @@
+ #define BENCHMARK_REGISTER_H
+ #include <vector>
+-
++#ifdef __GNUC__
++#include <features.h>
++# if __GNUC_PREREQ(11,0)
++#include <stdexcept>
++#include<limits>
++# endif
++#endif
+ #include "check.h"
+ template <typename T>