-
Notifications
You must be signed in to change notification settings - Fork 1.2k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Showing
10 changed files
with
131 additions
and
36 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
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
25 changes: 25 additions & 0 deletions
25
mingw-w64-llvm/0201-compiler-rt-fix-mingw-compile-error.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 |
---|---|---|
@@ -0,0 +1,25 @@ | ||
From 37b214fdd2029a1fb93c02aa57c249db3dd4b106 Mon Sep 17 00:00:00 2001 | ||
From: oltolm <[email protected]> | ||
Date: Fri, 4 Oct 2024 12:23:07 +0200 | ||
Subject: [PATCH] compiler-rt: fix mingw compile error | ||
|
||
--- | ||
lib/fuzzer/FuzzerUtilWindows.cpp | 2 +- | ||
1 file changed, 1 insertion(+), 1 deletion(-) | ||
|
||
diff --git a/lib/fuzzer/FuzzerUtilWindows.cpp b/lib/fuzzer/FuzzerUtilWindows.cpp | ||
index db80eb3..edf038a 100644 | ||
--- a/lib/fuzzer/FuzzerUtilWindows.cpp | ||
+++ b/lib/fuzzer/FuzzerUtilWindows.cpp | ||
@@ -249,7 +249,7 @@ void SetThreadName(std::thread &thread, const std::string &name) { | ||
if (sz > 0) { | ||
buf.resize(sz); | ||
if (MultiByteToWideChar(CP_UTF8, 0, name.data(), -1, &buf[0], sz) > 0) { | ||
- (void)ThreadNameProc(thread.native_handle(), buf.c_str()); | ||
+ (void)ThreadNameProc(reinterpret_cast<HANDLE>(thread.native_handle()), buf.c_str()); | ||
} | ||
} | ||
} | ||
-- | ||
2.46.0.windows.1 | ||
|
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,25 @@ | ||
From de55e8d992e98a2ffb96db4e61eb5ad28c0c97cc Mon Sep 17 00:00:00 2001 | ||
From: oltolm <[email protected]> | ||
Date: Sun, 29 Sep 2024 23:43:50 +0200 | ||
Subject: [PATCH 1/2] ArmSMEStubs: fix compilation | ||
|
||
--- | ||
lib/ExecutionEngine/ArmSMEStubs.cpp | 2 +- | ||
1 file changed, 1 insertion(+), 1 deletion(-) | ||
|
||
diff --git a/lib/ExecutionEngine/ArmSMEStubs.cpp b/lib/ExecutionEngine/ArmSMEStubs.cpp | ||
index e01384b..66cfe23 100644 | ||
--- a/lib/ExecutionEngine/ArmSMEStubs.cpp | ||
+++ b/lib/ExecutionEngine/ArmSMEStubs.cpp | ||
@@ -17,7 +17,7 @@ | ||
#define MLIR_ARMSMEABISTUBS_EXPORTED __declspec(dllexport) | ||
#else | ||
// We are using this library | ||
-#define MLIR_ARMSMEABISTUBS_EXPORTED __declspec(dllimport) | ||
+#define MLIR_ARMSMEABISTUBS_EXPORTED | ||
#endif // mlir_arm_sme_abi_stubs_EXPORTS | ||
#endif // MLIR_ARMSMEABISTUBS_EXPORTED | ||
#else | ||
-- | ||
2.46.0.windows.1 | ||
|
26 changes: 26 additions & 0 deletions
26
mingw-w64-mlir/0002-ExecutionEngine-fix-CMakeLists.txt.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 |
---|---|---|
@@ -0,0 +1,26 @@ | ||
From 635028b776f18d2bf922f11b2503c69179396ce3 Mon Sep 17 00:00:00 2001 | ||
From: oltolm <[email protected]> | ||
Date: Sun, 29 Sep 2024 23:44:15 +0200 | ||
Subject: [PATCH 2/2] ExecutionEngine: fix CMakeLists.txt | ||
|
||
--- | ||
lib/ExecutionEngine/CMakeLists.txt | 3 +++ | ||
1 file changed, 3 insertions(+) | ||
|
||
diff --git a/lib/ExecutionEngine/CMakeLists.txt b/lib/ExecutionEngine/CMakeLists.txt | ||
index a091944..ced2942 100644 | ||
--- a/lib/ExecutionEngine/CMakeLists.txt | ||
+++ b/lib/ExecutionEngine/CMakeLists.txt | ||
@@ -117,6 +117,9 @@ if(LLVM_BUILD_LLVM_DYLIB) | ||
LINK_LIBS PUBLIC | ||
LLVM | ||
MLIR | ||
+ MLIRSupport | ||
+ MLIRIR | ||
+ MLIRTargetLLVMIRExport | ||
) | ||
endif() | ||
|
||
-- | ||
2.46.0.windows.1 | ||
|
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