-
-
Notifications
You must be signed in to change notification settings - Fork 208
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Use patched onnxruntime for Arch and Fedora build (#235)
* Use forked onnxruntime * Update BuildMyOnnxruntime.cmake * Update BuildMyOnnxruntime.cmake * Patch * Update BuildMyOnnxruntime.cmake * Update BuildMyOnnxruntime.cmake * Update BuildMyOnnxruntime.cmake
- Loading branch information
Showing
2 changed files
with
13 additions
and
0 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,12 @@ | ||
diff --git a/onnxruntime/core/mlas/lib/intrinsics/avx512/quantize_avx512f.cpp b/onnxruntime/core/mlas/lib/intrinsics/avx512/quantize_avx512f.cpp | ||
index 47d2dce45c..162353a8ef 100644 | ||
--- a/onnxruntime/core/mlas/lib/intrinsics/avx512/quantize_avx512f.cpp | ||
+++ b/onnxruntime/core/mlas/lib/intrinsics/avx512/quantize_avx512f.cpp | ||
@@ -1,3 +1,7 @@ | ||
+#if !defined(__clang__) && defined(__GNUC__) | ||
+#pragma GCC diagnostic push | ||
+#pragma GCC diagnostic ignored "-Wmaybe-uninitialized" | ||
+#endif | ||
/*++ | ||
|
||
Copyright (c) Microsoft Corporation. All rights reserved. |