Accepting request 368685 from home:namtrac:branches:devel:tools:compiler

- Update to llvm 3.8.0
  * See http://llvm.org/releases/3.8.0/docs/ReleaseNotes.html and
    http://llvm.org/releases/3.8.0/tools/clang/docs/ReleaseNotes.html
- Fold lldb build into llvm and disable python support
- Drop clang-disable-ada-extension.patch, libcxxabi-exceptions.patch
  and cmake-host-triple.patch
- Add revert-cmake-soname.patch to fix soname handling

OBS-URL: https://build.opensuse.org/request/show/368685
OBS-URL: https://build.opensuse.org/package/show/devel:tools:compiler/llvm?expand=0&rev=430
This commit is contained in:
Martin Pluskal
2016-03-09 06:32:53 +00:00
committed by Git OBS Bridge
parent e8b1875bae
commit f49d2e187c
37 changed files with 327 additions and 510 deletions

View File

@@ -1,7 +1,7 @@
Index: lldb-3.7.0.src/source/lldb.cpp
Index: lldb-3.8.0.src/source/lldb.cpp
===================================================================
--- lldb-3.7.0.src.orig/source/lldb.cpp
+++ lldb-3.7.0.src/source/lldb.cpp
--- lldb-3.8.0.src.orig/source/lldb.cpp
+++ lldb-3.8.0.src/source/lldb.cpp
@@ -21,11 +21,7 @@ extern "C" const unsigned char liblldb_c
static const char *
GetLLDBRevision()
@@ -14,27 +14,18 @@ Index: lldb-3.7.0.src/source/lldb.cpp
}
static const char *
Index: lldb-3.7.0.src/source/Core/IOHandler.cpp
Index: lldb-3.8.0.src/source/Core/IOHandler.cpp
===================================================================
--- lldb-3.7.0.src.orig/source/Core/IOHandler.cpp
+++ lldb-3.7.0.src/source/Core/IOHandler.cpp
@@ -29,8 +29,8 @@
#include "lldb/Target/ThreadPlan.h"
--- lldb-3.8.0.src.orig/source/Core/IOHandler.cpp
+++ lldb-3.8.0.src/source/Core/IOHandler.cpp
@@ -9,8 +9,8 @@
// C Includes
#ifndef LLDB_DISABLE_CURSES
-#include <ncurses.h>
-#include <curses.h>
-#include <panel.h>
+#include <ncurses/ncurses.h>
+#include <ncurses/curses.h>
+#include <ncurses/panel.h>
#endif
using namespace lldb;
Index: lldb-3.7.0.src/source/Host/CMakeLists.txt
===================================================================
--- lldb-3.7.0.src.orig/source/Host/CMakeLists.txt
+++ lldb-3.7.0.src/source/Host/CMakeLists.txt
@@ -134,3 +134,4 @@ else()
endif()
add_lldb_library(lldbHost ${HOST_SOURCES})
+target_link_libraries(lldbHost dl pthread)
// C++ Includes