-
Notifications
You must be signed in to change notification settings - Fork 3k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge branch 'main' of https://github.com/microsoft/onnxruntime into …
…jywu_fix_build_py_params
- Loading branch information
Showing
31 changed files
with
184 additions
and
142 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
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
12 changes: 6 additions & 6 deletions
12
cmake/patches/cpuinfo/9bb12d342fd9479679d505d93a478a6f9cd50a47.patch
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 |
---|---|---|
@@ -1,22 +1,22 @@ | ||
diff --git a/include/cpuinfo.h b/include/cpuinfo.h | ||
index c46b65e..8b83a64 100644 | ||
index 03f2776..eaf6497 100644 | ||
--- a/include/cpuinfo.h | ||
+++ b/include/cpuinfo.h | ||
@@ -18,7 +18,7 @@ | ||
#define CPUINFO_ARCH_X86 1 | ||
#define CPUINFO_ARCH_X86 1 | ||
#endif | ||
|
||
-#if defined(__x86_64__) || defined(__x86_64) || defined(_M_X64) || defined(_M_AMD64) | ||
+#if defined(__x86_64__) || (defined(_M_X64) && !defined(_M_ARM64EC)) || (defined(_M_AMD64) && !defined(_M_ARM64EC)) | ||
#define CPUINFO_ARCH_X86_64 1 | ||
+#if defined(__x86_64__) || defined(__x86_64) || (defined(_M_X64) && !defined(_M_ARM64EC)) || (defined(_M_AMD64) && !defined(_M_ARM64EC)) | ||
#define CPUINFO_ARCH_X86_64 1 | ||
#endif | ||
|
||
@@ -26,7 +26,7 @@ | ||
#define CPUINFO_ARCH_ARM 1 | ||
#define CPUINFO_ARCH_ARM 1 | ||
#endif | ||
|
||
-#if defined(__aarch64__) || defined(_M_ARM64) | ||
+#if defined(__aarch64__) || defined(_M_ARM64) || defined(_M_ARM64EC) | ||
#define CPUINFO_ARCH_ARM64 1 | ||
#define CPUINFO_ARCH_ARM64 1 | ||
#endif | ||
|
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
Oops, something went wrong.