diff options
author | A. Wilcox <AWilcox@Wilcox-Tech.com> | 2024-12-04 17:27:59 -0600 |
---|---|---|
committer | A. Wilcox <AWilcox@Wilcox-Tech.com> | 2024-12-04 17:27:59 -0600 |
commit | a52113d2368551dc2c530b765f656e724fcd7739 (patch) | |
tree | e29c2aa61e7685cff165f23a043421de485ac9fe /bootstrap/llvm14/ppc-test.patch | |
parent | 9286e92e196082d80499e286c154086d0d302188 (diff) | |
download | packages-a52113d2368551dc2c530b765f656e724fcd7739.tar.gz packages-a52113d2368551dc2c530b765f656e724fcd7739.tar.bz2 packages-a52113d2368551dc2c530b765f656e724fcd7739.tar.xz packages-a52113d2368551dc2c530b765f656e724fcd7739.zip |
user/llvm14: Move to bootstrap/
Package is only needed by Rust bootstrap packages.
Diffstat (limited to 'bootstrap/llvm14/ppc-test.patch')
-rw-r--r-- | bootstrap/llvm14/ppc-test.patch | 13 |
1 files changed, 13 insertions, 0 deletions
diff --git a/bootstrap/llvm14/ppc-test.patch b/bootstrap/llvm14/ppc-test.patch new file mode 100644 index 000000000..46ed8fbf0 --- /dev/null +++ b/bootstrap/llvm14/ppc-test.patch @@ -0,0 +1,13 @@ +The ifdef tree uses __powerpc__ so 32-bit PPC is supported as well. + +--- llvm-14.0.6.src/unittests/Support/Host.cpp.old 2022-06-22 16:46:24.000000000 +0000 ++++ llvm-14.0.6.src/unittests/Support/Host.cpp 2022-11-28 02:15:41.512865406 +0000 +@@ -40,7 +40,7 @@ + // some systems. + return (Host.isOSWindows() && llvm_is_multithreaded()) || + Host.isOSDarwin() || (Host.isX86() && Host.isOSLinux()) || +- (Host.isPPC64() && Host.isOSLinux()) || ++ (Host.isPPC() && Host.isOSLinux()) || + (Host.isSystemZ() && (Host.isOSLinux() || Host.isOSzOS())); + } + |