Android-x86
Fork
Faire un don

  • R/O
  • HTTP
  • SSH
  • HTTPS

external-llvm: Commit

external/llvm


Commit MetaInfo

Révision99cdd8e623f04f8900cb1f4bedb41bc551cae92b (tree)
l'heure2017-01-06 11:18:36
AuteurMauro Rossi <issor.oruam@gmai...>
CommiterChih-Wei Huang

Message de Log

android: R600(AMDGPU)/AsmParser: fix tblgen related building errors

Fixes the building errors appeared after restructuring R600(AMDGPU)
static library in device shared libLLVM:

In file included from external/llvm/lib/Target/R600/AsmParser/AMDGPUAsmParser.cpp:10:
external/llvm/lib/Target/R600/AsmParser/../MCTargetDesc/AMDGPUMCTargetDesc.h:55:10: fatal error: 'AMDGPUGenInstrInfo.inc' file not found


In file included from external/llvm/lib/Target/R600/AsmParser/AMDGPUAsmParser.cpp:10:
external/llvm/lib/Target/R600/AsmParser/../MCTargetDesc/AMDGPUMCTargetDesc.h:52:10: fatal error: 'AMDGPUGenRegisterInfo.inc' file not found


In file included from external/llvm/lib/Target/R600/AsmParser/AMDGPUAsmParser.cpp:10:
external/llvm/lib/Target/R600/AsmParser/../MCTargetDesc/AMDGPUMCTargetDesc.h:58:10: fatal error: 'AMDGPUGenSubtargetInfo.inc' file not found


Change Summary

Modification

--- a/lib/Target/R600/AsmParser/Android.mk
+++ b/lib/Target/R600/AsmParser/Android.mk
@@ -1,7 +1,10 @@
11 LOCAL_PATH := $(call my-dir)
22
33 AMDGPU_asmparser_TBLGEN_TABLES := \
4- AMDGPUGenAsmMatcher.inc
4+ AMDGPUGenAsmMatcher.inc \
5+ AMDGPUGenInstrInfo.inc \
6+ AMDGPUGenRegisterInfo.inc \
7+ AMDGPUGenSubtargetInfo.inc
58
69 AMDGPU_asmparser_SRC_FILES := \
710 AMDGPUAsmParser.cpp
Afficher sur ancien navigateur de dépôt.