mirror of
https://git.proxmox.com/git/llvm-toolchain
synced 2025-06-14 17:54:50 +00:00

- Update patches to set SONAME in CMake build - Create symlinks with ".links", don't install from build tree - Remove LLVM-internal tools (lit, FileCheck, not, tblgen, etc.) - Remove llvm-X.Y-tools package, because it contained only internal tools that are not intended for distribution. - Remove autotools-specific artifacts from packages. - Remove "dummy" documentation artifacts from llvm-X.Y-docs package. Not built/installed by CMake, not useful. - Update control/rules to support CMake - Patch LLDB SWIG interfaces to workaround a bug in SWIG See https://llvm.org/bugs/show_bug.cgi?id=25468 - add missing files to clang-format - Add patch to fix sanitizer lit invocation - removed LLVM-internal tools (lit, FileCheck, not, *-tblgen, etc.); not installed by CMake, not intended for distribution - removed llvm-X.Y-tools (contained only internal tools) - removed autotools-specific artifacts (configure, Makefile, etc.) - removed dummy documentation files
63 lines
1.9 KiB
Diff
63 lines
1.9 KiB
Diff
Index: llvm-toolchain-3.8_3.8~+rc1/polly/lib/Makefile
|
|
===================================================================
|
|
--- llvm-toolchain-3.8_3.8~+rc1.orig/polly/lib/Makefile
|
|
+++ llvm-toolchain-3.8_3.8~+rc1/polly/lib/Makefile
|
|
@@ -26,9 +26,9 @@ ISL_CODEGEN_FILES= CodeGen/IslAst.cpp \
|
|
CodeGen/IslNodeBuilder.cpp \
|
|
CodeGen/CodeGeneration.cpp
|
|
|
|
-POLLY_JSON_FILES= JSON/json_reader.cpp \
|
|
- JSON/json_value.cpp \
|
|
- JSON/json_writer.cpp
|
|
+#POLLY_JSON_FILES= JSON/json_reader.cpp \
|
|
+# JSON/json_value.cpp \
|
|
+# JSON/json_writer.cpp
|
|
|
|
ISL_FILES= External/isl/basis_reduction_tab.c \
|
|
External/isl/isl_aff.c \
|
|
@@ -146,4 +146,5 @@ SOURCES= Polly.cpp \
|
|
#
|
|
include $(LEVEL)/Makefile.common
|
|
|
|
-LIBS += $(POLLY_LD) $(POLLY_LIB)
|
|
+LIBS += $(POLLY_LD) $(POLLY_LIB) -ljsoncpp
|
|
+
|
|
Index: llvm-toolchain-3.8_3.8~+rc1/polly/lib/CMakeLists.txt
|
|
===================================================================
|
|
--- llvm-toolchain-3.8_3.8~+rc1.orig/polly/lib/CMakeLists.txt
|
|
+++ llvm-toolchain-3.8_3.8~+rc1/polly/lib/CMakeLists.txt
|
|
@@ -1,10 +1,10 @@
|
|
set(LLVM_NO_RTTI 1)
|
|
|
|
-set(POLLY_JSON_FILES
|
|
- JSON/json_reader.cpp
|
|
- JSON/json_value.cpp
|
|
- JSON/json_writer.cpp
|
|
-)
|
|
+# set(POLLY_JSON_FILES
|
|
+# JSON/json_reader.cpp
|
|
+# JSON/json_value.cpp
|
|
+# JSON/json_writer.cpp
|
|
+# )
|
|
|
|
set(ISL_CODEGEN_FILES
|
|
CodeGen/IslAst.cpp
|
|
@@ -46,7 +46,7 @@ add_polly_library(Polly
|
|
Support/RegisterPasses.cpp
|
|
Support/ScopHelper.cpp
|
|
Support/ScopLocation.cpp
|
|
- ${POLLY_JSON_FILES}
|
|
+# ${POLLY_JSON_FILES}
|
|
Transform/Canonicalization.cpp
|
|
Transform/CodePreparation.cpp
|
|
Transform/DeadCodeElimination.cpp
|
|
@@ -54,7 +54,7 @@ add_polly_library(Polly
|
|
${POLLY_HEADER_FILES}
|
|
)
|
|
|
|
-target_link_libraries(Polly PollyISL)
|
|
+target_link_libraries(Polly PollyISL jsoncpp)
|
|
|
|
if (BUILD_SHARED_LIBS)
|
|
target_link_libraries(Polly
|