Commit 0810b396 by Colin Samples Committed by Nicolas Capens

Add support for PPC64 to LLVM update script

Update third_party/llvm-7.0/scripts/update.py to pull in PPC64 LLVM sources. Bug: b/135175069 Change-Id: I2d5d61a18b822d3a10d958e3d20d314f62d51226 Signed-off-by: 's avatarColin Samples <colin.samples+git@gmail.com> Reviewed-on: https://swiftshader-review.googlesource.com/c/SwiftShader/+/32808Reviewed-by: 's avatarNicolas Capens <nicolascapens@google.com> Reviewed-by: 's avatarAlexis Hétu <sugoi@google.com> Presubmit-Ready: Nicolas Capens <nicolascapens@google.com> Tested-by: 's avatarNicolas Capens <nicolascapens@google.com> Kokoro-Presubmit: kokoro <noreply+kokoro@google.com>
parent 7d96f51a
......@@ -34,6 +34,7 @@ LLVM_TARGETS = [
('ARM', ('__arm__',)),
('X86', ('__i386__', '__x86_64__')),
('Mips', ('__mips__',)),
('PowerPC', ('__powerpc64__',)),
]
LLVM_TRIPLES = {
......@@ -50,6 +51,7 @@ LLVM_TRIPLES = {
('__aarch64__', 'aarch64-linux-gnu'),
('__mips__', 'mipsel-linux-gnu'),
('__mips64', 'mips64el-linux-gnuabi64'),
('__powerpc64__', 'powerpc64le-unknown-linux-gnu'),
],
'darwin': [
('__x86_64__', 'x86_64-apple-darwin'),
......@@ -122,6 +124,7 @@ def copy_common_generated_files(dst_base):
os.path.join('lib', 'Target', 'ARM'),
os.path.join('lib', 'Target', 'X86'),
os.path.join('lib', 'Target', 'Mips'),
os.path.join('lib', 'Target', 'PowerPC'),
os.path.join('lib', 'Transforms', 'InstCombine'),
]
for subdir in subdirs:
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment