Android-x86
Fork
Faire un don

  • R/O
  • HTTP
  • SSH
  • HTTPS

external-llvm: Commit

external/llvm


Commit MetaInfo

Révision05ec1c52664ab375de4b97938f78999d172910bc (tree)
l'heure2017-05-19 15:26:32
AuteurChih-Wei Huang <cwhuang@linu...>
CommiterChih-Wei Huang

Message de Log

Fix build for mesa 13.0+

Change Summary

Modification

--- a/lib/ExecutionEngine/MCJIT/Android.mk
+++ b/lib/ExecutionEngine/MCJIT/Android.mk
@@ -14,3 +14,18 @@ LOCAL_MODULE_TAGS := optional
1414
1515 include $(LLVM_HOST_BUILD_MK)
1616 include $(BUILD_HOST_STATIC_LIBRARY)
17+
18+# For the device
19+# =====================================================
20+include $(CLEAR_VARS)
21+
22+LOCAL_SRC_FILES := \
23+ MCJIT.cpp \
24+ SectionMemoryManager.cpp
25+
26+LOCAL_MODULE:= libLLVMMCJIT
27+
28+LOCAL_MODULE_TAGS := optional
29+
30+include $(LLVM_DEVICE_BUILD_MK)
31+include $(BUILD_STATIC_LIBRARY)
--- a/lib/ExecutionEngine/RuntimeDyld/Android.mk
+++ b/lib/ExecutionEngine/RuntimeDyld/Android.mk
@@ -17,3 +17,21 @@ LOCAL_MODULE_TAGS := optional
1717
1818 include $(LLVM_HOST_BUILD_MK)
1919 include $(BUILD_HOST_STATIC_LIBRARY)
20+
21+# For the device
22+# =====================================================
23+include $(CLEAR_VARS)
24+
25+LOCAL_SRC_FILES := \
26+ GDBRegistrar.cpp \
27+ RuntimeDyld.cpp \
28+ RuntimeDyldChecker.cpp \
29+ RuntimeDyldELF.cpp \
30+ RuntimeDyldMachO.cpp
31+
32+LOCAL_MODULE:= libLLVMRuntimeDyld
33+
34+LOCAL_MODULE_TAGS := optional
35+
36+include $(LLVM_DEVICE_BUILD_MK)
37+include $(BUILD_STATIC_LIBRARY)
--- a/shared_llvm.mk
+++ b/shared_llvm.mk
@@ -69,6 +69,8 @@ llvm_post_static_libraries := \
6969 libLLVMOption \
7070 libLLVMSupport \
7171 libLLVMVectorize \
72+ libLLVMRuntimeDyld \
73+ libLLVMMCJIT \
7274
7375 llvm_host_static_libraries := \
7476 libLLVMExecutionEngine \
Afficher sur ancien navigateur de dépôt.