-
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.
Merge pull request #15044 from driver1998/mesa
mesa: enable clangarm64 support
- Loading branch information
Showing
6 changed files
with
45 additions
and
14 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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,16 @@ | ||
diff --git a/src/gallium/auxiliary/gallivm/lp_bld_misc.cpp b/src/gallium/auxiliary/gallivm/lp_bld_misc.cpp | ||
index 2279e5a..d50c30f 100644 | ||
--- a/src/gallium/auxiliary/gallivm/lp_bld_misc.cpp | ||
+++ b/src/gallium/auxiliary/gallivm/lp_bld_misc.cpp | ||
@@ -370,8 +370,10 @@ lp_build_create_jit_compiler_for_module(LLVMExecutionEngineRef *OutJIT, | ||
* different strings for MinGW/MSVC, so better play it safe and be | ||
* explicit. | ||
*/ | ||
-# ifdef _WIN64 | ||
+# if defined(PIPE_ARCH_X86_64) | ||
LLVMSetTarget(M, "x86_64-pc-win32-elf"); | ||
+# elif defined(PIPE_ARCH_AARCH64) | ||
+ LLVMSetTarget(M, "aarch64-pc-win32-elf"); | ||
# else | ||
LLVMSetTarget(M, "i686-pc-win32-elf"); | ||
# 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
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