pkgsrc-Changes-HG archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

[pkgsrc/trunk]: pkgsrc Update llvm packages to 3.9.0



details:   https://anonhg.NetBSD.org/pkgsrc/rev/47a018313cc7
branches:  trunk
changeset: 354910:47a018313cc7
user:      ryoon <ryoon%pkgsrc.org@localhost>
date:      Mon Nov 14 20:15:32 2016 +0000

description:
Update llvm packages to 3.9.0

* Drop CppBackend. It is removed.

Changelog:
* GCC ABI Tag
* LLVM IR: new intrinsics etc.
* Change LLVM IPO model
* Support ThinLTO
* Improve the ARM targets, ARMv8.2-A support etc.
* Improve the MIPS targets
* Improve the PowerPC target, default optim O3 to O2
* Improve the X86 target, SKylake AVX-512 etc.
* Improve the AMDGPU, better support for Mesa 12

diffstat:

 devel/lldb/Makefile                                          |    6 +-
 devel/lldb/PLIST                                             |   24 +-
 devel/lldb/distinfo                                          |   13 +-
 devel/lldb/patches/patch-cmake_modules_LLDBStandalone.cmake  |  152 +------
 devel/lldb/patches/patch-scripts_CMakeLists.txt              |   13 -
 lang/clang/Makefile.common                                   |    4 +-
 lang/clang/PLIST                                             |   49 +-
 lang/clang/buildlink3.mk                                     |    4 +-
 lang/clang/distinfo                                          |   12 +-
 lang/clang/patches/patch-tools_clang-format_CMakeLists.txt   |   17 +-
 lang/libLLVM/Makefile                                        |    9 +-
 lang/libLLVM/PLIST                                           |  207 +++++++-
 lang/libLLVM/distinfo                                        |   21 +-
 lang/libLLVM/options.mk                                      |    6 +-
 lang/libLLVM/patches/patch-cmake_modules_AddLLVM.cmake       |   30 +-
 lang/libLLVM/patches/patch-cmake_modules_CMakeLists.txt      |    6 +-
 lang/libLLVM/patches/patch-cmake_modules_TableGen.cmake      |    6 +-
 lang/libLLVM/patches/patch-include_llvm_Support_Host.h       |    6 +-
 lang/libLLVM/patches/patch-lib_Transforms_CMakeLists.txt     |   12 -
 lang/libLLVM/patches/patch-tools_llvm-config_llvm-config.cpp |   34 +-
 lang/libunwind/Makefile                                      |    4 +-
 lang/libunwind/distinfo                                      |   11 +-
 lang/libunwind/patches/patch-src_AddressSpace.hpp            |   25 -
 lang/llvm/Makefile                                           |    6 +-
 lang/llvm/PLIST                                              |  257 +++++++++-
 lang/llvm/buildlink3.mk                                      |    4 +-
 lang/llvm/distinfo                                           |   12 +-
 lang/llvm/options.mk                                         |    4 +-
 lang/llvm/patches/patch-include_llvm_Support_Host.h          |    6 +-
 29 files changed, 583 insertions(+), 377 deletions(-)

diffs (truncated from 2382 to 300 lines):

diff -r 657ea23a32e8 -r 47a018313cc7 devel/lldb/Makefile
--- a/devel/lldb/Makefile       Mon Nov 14 19:56:46 2016 +0000
+++ b/devel/lldb/Makefile       Mon Nov 14 20:15:32 2016 +0000
@@ -1,6 +1,6 @@
-# $NetBSD: Makefile,v 1.3 2016/07/27 09:17:41 wiz Exp $
+# $NetBSD: Makefile,v 1.4 2016/11/14 20:15:33 ryoon Exp $
 
-DISTNAME=      lldb-3.8.1.src
+DISTNAME=      lldb-3.9.0.src
 PKGNAME=       ${DISTNAME:S/.src//}
 CATEGORIES=    lang devel
 MASTER_SITES=  http://llvm.org/releases/${PKGVERSION_NOREV}/
@@ -28,6 +28,7 @@
 CMAKE_ARGS+=   -DCMAKE_BUILD_TYPE=Release
 CMAKE_ARGS+=   -DCMAKE_C_COMPILER=gcc
 CMAKE_ARGS+=   -DCMAKE_CXX_COMPILER=g++
+CMAKE_ARGS+=   -DHAVE_CXX_ATOMICS64_WITHOUT_LIB=ON
 
 CHECK_PORTABILITY_SKIP=        utils/buildit/build_llvm
 
@@ -138,4 +139,5 @@
 .include "../../lang/python/tool.mk"
 .include "../../lang/python/extension.mk"
 .include "../../devel/swig/buildlink3.mk"
+.include "../../devel/libatomic_ops/buildlink3.mk"
 .include "../../mk/bsd.pkg.mk"
diff -r 657ea23a32e8 -r 47a018313cc7 devel/lldb/PLIST
--- a/devel/lldb/PLIST  Mon Nov 14 19:56:46 2016 +0000
+++ b/devel/lldb/PLIST  Mon Nov 14 20:15:32 2016 +0000
@@ -1,11 +1,11 @@
-@comment $NetBSD: PLIST,v 1.2 2016/07/27 09:17:41 wiz Exp $
+@comment $NetBSD: PLIST,v 1.3 2016/11/14 20:15:33 ryoon Exp $
 bin/lldb
-bin/lldb-3.8.1
+bin/${PKGNAME}
 bin/lldb-argdumper
 bin/lldb-mi
-bin/lldb-mi-3.8.1
+bin/lldb-mi-${PKGVERSION}
 bin/lldb-server
-bin/lldb-server-3.8.1
+bin/lldb-server-${PKGVERSION}
 include/lldb/API/LLDB.h
 include/lldb/API/SBAddress.h
 include/lldb/API/SBAttachInfo.h
@@ -36,6 +36,8 @@
 include/lldb/API/SBLaunchInfo.h
 include/lldb/API/SBLineEntry.h
 include/lldb/API/SBListener.h
+include/lldb/API/SBMemoryRegionInfo.h
+include/lldb/API/SBMemoryRegionInfoList.h
 include/lldb/API/SBModule.h
 include/lldb/API/SBModuleSpec.h
 include/lldb/API/SBPlatform.h
@@ -156,6 +158,7 @@
 include/lldb/Core/ThreadSafeDenseMap.h
 include/lldb/Core/ThreadSafeDenseSet.h
 include/lldb/Core/ThreadSafeSTLMap.h
+include/lldb/Core/ThreadSafeSTLVector.h
 include/lldb/Core/ThreadSafeValue.h
 include/lldb/Core/Timer.h
 include/lldb/Core/UUID.h
@@ -198,6 +201,7 @@
 include/lldb/DataFormatters/VectorIterator.h
 include/lldb/DataFormatters/VectorType.h
 include/lldb/Expression/DWARFExpression.h
+include/lldb/Expression/DiagnosticManager.h
 include/lldb/Expression/Expression.h
 include/lldb/Expression/ExpressionParser.h
 include/lldb/Expression/ExpressionSourceCode.h
@@ -281,7 +285,6 @@
 include/lldb/Host/linux/HostThreadLinux.h
 include/lldb/Host/linux/Personality.h
 include/lldb/Host/linux/Ptrace.h
-include/lldb/Host/linux/Signalfd.h
 include/lldb/Host/linux/Uio.h
 include/lldb/Host/macosx/Config.h
 include/lldb/Host/macosx/HostInfoMacOSX.h
@@ -316,6 +319,7 @@
 include/lldb/Initialization/SystemInitializerCommon.h
 include/lldb/Initialization/SystemLifetimeManager.h
 include/lldb/Interpreter/Args.h
+include/lldb/Interpreter/CommandAlias.h
 include/lldb/Interpreter/CommandCompletions.h
 include/lldb/Interpreter/CommandHistory.h
 include/lldb/Interpreter/CommandInterpreter.h
@@ -366,6 +370,7 @@
 include/lldb/Symbol/ClangASTImporter.h
 include/lldb/Symbol/ClangExternalASTSourceCallbacks.h
 include/lldb/Symbol/ClangExternalASTSourceCommon.h
+include/lldb/Symbol/ClangUtil.h
 include/lldb/Symbol/CompactUnwindInfo.h
 include/lldb/Symbol/CompileUnit.h
 include/lldb/Symbol/CompilerDecl.h
@@ -378,6 +383,7 @@
 include/lldb/Symbol/FuncUnwinders.h
 include/lldb/Symbol/Function.h
 include/lldb/Symbol/GoASTContext.h
+include/lldb/Symbol/JavaASTContext.h
 include/lldb/Symbol/LineEntry.h
 include/lldb/Symbol/LineTable.h
 include/lldb/Symbol/ObjectContainer.h
@@ -486,6 +492,7 @@
 include/lldb/lldb-defines.h
 include/lldb/lldb-enumerations.h
 include/lldb/lldb-forward.h
+include/lldb/lldb-private-defines.h
 include/lldb/lldb-private-enumerations.h
 include/lldb/lldb-private-forward.h
 include/lldb/lldb-private-interfaces.h
@@ -495,7 +502,7 @@
 include/lldb/lldb-types.h
 include/lldb/lldb-versioning.h
 lib/liblldb.so
-lib/liblldb.so.3.8.1
+lib/liblldb.so.${PKGVERSION}
 lib/liblldbBase.a
 lib/liblldbBreakpoint.a
 lib/liblldbCommands.a
@@ -516,6 +523,7 @@
 lib/liblldbPluginABISysV_mips64.a
 lib/liblldbPluginABISysV_ppc.a
 lib/liblldbPluginABISysV_ppc64.a
+lib/liblldbPluginABISysV_s390x.a
 lib/liblldbPluginABISysV_x86_64.a
 lib/liblldbPluginAppleObjCRuntime.a
 lib/liblldbPluginCPlusPlusLanguage.a
@@ -534,8 +542,11 @@
 lib/liblldbPluginInstructionMIPS.a
 lib/liblldbPluginInstructionMIPS64.a
 lib/liblldbPluginInstrumentationRuntimeAddressSanitizer.a
+lib/liblldbPluginInstrumentationRuntimeThreadSanitizer.a
 lib/liblldbPluginJITLoaderGDB.a
+lib/liblldbPluginJavaLanguage.a
 lib/liblldbPluginLanguageRuntimeGo.a
+lib/liblldbPluginLanguageRuntimeJava.a
 lib/liblldbPluginMemoryHistoryASan.a
 lib/liblldbPluginOSGo.a
 lib/liblldbPluginOSPython.a
@@ -565,6 +576,7 @@
 lib/liblldbPluginScriptInterpreterNone.a
 lib/liblldbPluginScriptInterpreterPython.a
 lib/liblldbPluginSymbolFileDWARF.a
+lib/liblldbPluginSymbolFilePDB.a
 lib/liblldbPluginSymbolFileSymtab.a
 lib/liblldbPluginSymbolVendorELF.a
 lib/liblldbPluginSystemRuntimeMacOSX.a
diff -r 657ea23a32e8 -r 47a018313cc7 devel/lldb/distinfo
--- a/devel/lldb/distinfo       Mon Nov 14 19:56:46 2016 +0000
+++ b/devel/lldb/distinfo       Mon Nov 14 20:15:32 2016 +0000
@@ -1,17 +1,16 @@
-$NetBSD: distinfo,v 1.2 2016/07/27 09:17:41 wiz Exp $
+$NetBSD: distinfo,v 1.3 2016/11/14 20:15:33 ryoon Exp $
 
-SHA1 (lldb-3.8.1.src.tar.xz) = 20ecd2d20d95b25ed84fd707f3851bb567d750cb
-RMD160 (lldb-3.8.1.src.tar.xz) = e080bb734bcba419472acc0619fc7affb6209104
-SHA512 (lldb-3.8.1.src.tar.xz) = d73c55daed6ef5e5ca784c7010f2d75be26024b14fa61a2861a8a6cbe129e417fb7be2a3b532e17e9d7de98ae38ce6a689d8166049eff365fb04f4bd772758f3
-Size (lldb-3.8.1.src.tar.xz) = 10928220 bytes
-SHA1 (patch-cmake_modules_LLDBStandalone.cmake) = 1b8d85d5aa4ac35d4b303a1dc7754ce63cf96cb0
+SHA1 (lldb-3.9.0.src.tar.xz) = 413549d22671c189f1548155813b4382de5c6b95
+RMD160 (lldb-3.9.0.src.tar.xz) = dbcbe796ea46fc0081e6d5519b4a96c6c32e0fc5
+SHA512 (lldb-3.9.0.src.tar.xz) = b2d7f36b4462dba8e478022da19981e2d029bc4728efeed50600f0d03e3dd4573e7fb3cee773ec19b11ad3d8ba53b1aef9de1b21612e77d2888d0f6de433b24a
+Size (lldb-3.9.0.src.tar.xz) = 13754516 bytes
+SHA1 (patch-cmake_modules_LLDBStandalone.cmake) = 8f7d06a4b3a1e996af9af4affd650291c4f01fe5
 SHA1 (patch-include_lldb_Utility_regcclass.h) = 9ed649e8deb5924feaf82a6e675f5c596367b3d6
 SHA1 (patch-include_lldb_Utility_regcname.h) = b67145f0437d3c09adc33a925d49267cd9ba4fd7
 SHA1 (patch-include_lldb_Utility_regengine.inc) = a031c43a63acab80a97cfb7727326d610d4ad9ab
 SHA1 (patch-include_lldb_Utility_regex2.h) = 822a47b1221368ec5442bfbdbc20fe4e370c1a6b
 SHA1 (patch-include_lldb_Utility_regex__impl.h) = 4d99669a756bd662ae28abc8cefe6e1538ef84b6
 SHA1 (patch-include_lldb_Utility_regutils.h) = ea36409f8cd05dcf9b81144cbc136abc5fc3a190
-SHA1 (patch-scripts_CMakeLists.txt) = 07043853b1a923aa8fcb9124b79453eca21c01fb
 SHA1 (patch-scripts_Python_finishSwigPythonLLDB.py) = fc0723771d886f0f174f25d91dac85376376af79
 SHA1 (patch-scripts_Python_modules_readline_readline.cpp) = 4a030226c47cf7d54ebc727e92e278c163e48bf5
 SHA1 (patch-source_Utility_CMakeLists.txt) = 5b10fe94d76135d8d5ba31862066841394dd45c1
diff -r 657ea23a32e8 -r 47a018313cc7 devel/lldb/patches/patch-cmake_modules_LLDBStandalone.cmake
--- a/devel/lldb/patches/patch-cmake_modules_LLDBStandalone.cmake       Mon Nov 14 19:56:46 2016 +0000
+++ b/devel/lldb/patches/patch-cmake_modules_LLDBStandalone.cmake       Mon Nov 14 20:15:32 2016 +0000
@@ -1,152 +1,12 @@
-$NetBSD: patch-cmake_modules_LLDBStandalone.cmake,v 1.1 2016/03/28 13:13:55 kamil Exp $
+$NetBSD: patch-cmake_modules_LLDBStandalone.cmake,v 1.2 2016/11/14 20:15:33 ryoon Exp $
 
---- cmake/modules/LLDBStandalone.cmake.orig    2015-11-10 18:09:14.000000000 +0000
+--- cmake/modules/LLDBStandalone.cmake.orig    2016-07-15 22:46:15.000000000 +0000
 +++ cmake/modules/LLDBStandalone.cmake
-@@ -6,57 +6,78 @@ if (CMAKE_SOURCE_DIR STREQUAL CMAKE_CURR
- 
-   option(LLVM_INSTALL_TOOLCHAIN_ONLY "Only include toolchain files in the 'install' target." OFF)
- 
--  set(LLDB_PATH_TO_LLVM_SOURCE "" CACHE PATH
--    "Path to LLVM source code. Not necessary if using an installed LLVM.")
--  set(LLDB_PATH_TO_LLVM_BUILD "" CACHE PATH
--    "Path to the directory where LLVM was built or installed.")
--
--  set(LLDB_PATH_TO_CLANG_SOURCE "" CACHE PATH
--    "Path to Clang source code. Not necessary if using an installed Clang.")
--  set(LLDB_PATH_TO_CLANG_BUILD "" CACHE PATH
--    "Path to the directory where Clang was built or installed.")
--
--  if (LLDB_PATH_TO_LLVM_SOURCE)
--    if (NOT EXISTS "${LLDB_PATH_TO_LLVM_SOURCE}/cmake/config-ix.cmake")
--      message(FATAL_ERROR "Please set LLDB_PATH_TO_LLVM_SOURCE to the root "
--              "directory of LLVM source code.")
-+  # Rely on llvm-config.
-+  set(CONFIG_OUTPUT)
-+  find_program(LLVM_CONFIG "llvm-config")
-+  if(LLVM_CONFIG)
-+    message(STATUS "Found LLVM_CONFIG as ${LLVM_CONFIG}")
-+    set(CONFIG_COMMAND ${LLVM_CONFIG}
-+      "--assertion-mode"
-+      "--bindir"
-+      "--libdir"
-+      "--includedir"
-+      "--prefix"
-+      "--src-root")
-+    execute_process(
-+      COMMAND ${CONFIG_COMMAND}
-+      RESULT_VARIABLE HAD_ERROR
-+      OUTPUT_VARIABLE CONFIG_OUTPUT
-+    )
-+    if(NOT HAD_ERROR)
-+      string(REGEX REPLACE
-+        "[ \t]*[\r\n]+[ \t]*" ";"
-+        CONFIG_OUTPUT ${CONFIG_OUTPUT})
-+
-     else()
--      get_filename_component(LLVM_MAIN_SRC_DIR ${LLDB_PATH_TO_LLVM_SOURCE}
--                             ABSOLUTE)
--      set(LLVM_MAIN_INCLUDE_DIR "${LLVM_MAIN_SRC_DIR}/include")
--      list(APPEND CMAKE_MODULE_PATH "${LLVM_MAIN_SRC_DIR}/cmake/modules")
-+      string(REPLACE ";" " " CONFIG_COMMAND_STR "${CONFIG_COMMAND}")
-+      message(STATUS "${CONFIG_COMMAND_STR}")
-+      message(FATAL_ERROR "llvm-config failed with status ${HAD_ERROR}")
-     endif()
--  endif()
--
--  if (LLDB_PATH_TO_CLANG_SOURCE)
--      get_filename_component(CLANG_MAIN_SRC_DIR ${LLDB_PATH_TO_CLANG_SOURCE}
--                             ABSOLUTE)
--      set(CLANG_MAIN_INCLUDE_DIR "${CLANG_MAIN_SRC_DIR}/include")
--  endif()
--
--  list(APPEND CMAKE_MODULE_PATH "${LLDB_PATH_TO_LLVM_BUILD}/share/llvm/cmake")
--
--  if (LLDB_PATH_TO_LLVM_BUILD)
--    get_filename_component(PATH_TO_LLVM_BUILD ${LLDB_PATH_TO_LLVM_BUILD}
--                           ABSOLUTE)
-   else()
--    message(FATAL_ERROR "Please set LLDB_PATH_TO_LLVM_BUILD to the root "
--            "directory of LLVM build or install site.")
-+    message(FATAL_ERROR "llvm-config not found -- ${LLVM_CONFIG}")
-   endif()
- 
--  if (LLDB_PATH_TO_CLANG_BUILD)
--    get_filename_component(PATH_TO_CLANG_BUILD ${LLDB_PATH_TO_CLANG_BUILD}
--                           ABSOLUTE)
-+  list(GET CONFIG_OUTPUT 0 ENABLE_ASSERTIONS)
-+  list(GET CONFIG_OUTPUT 1 TOOLS_BINARY_DIR)
-+  list(GET CONFIG_OUTPUT 2 LIBRARY_DIR)
-+  list(GET CONFIG_OUTPUT 3 INCLUDE_DIR)
-+  list(GET CONFIG_OUTPUT 4 LLVM_OBJ_ROOT)
-+  list(GET CONFIG_OUTPUT 5 MAIN_SRC_DIR)
-+
-+  if(NOT MSVC_IDE)
-+    set(LLVM_ENABLE_ASSERTIONS ${ENABLE_ASSERTIONS}
-+      CACHE BOOL "Enable assertions")
-+    # Assertions should follow llvm-config's.
-+    mark_as_advanced(LLVM_ENABLE_ASSERTIONS)
-+  endif()
-+
-+  set(LLVM_TOOLS_BINARY_DIR ${TOOLS_BINARY_DIR} CACHE PATH "Path to llvm/bin")
-+  set(LLVM_LIBRARY_DIR ${LIBRARY_DIR} CACHE PATH "Path to llvm/lib")
-+  set(LLVM_MAIN_INCLUDE_DIR ${INCLUDE_DIR} CACHE PATH "Path to llvm/include")
-+  set(LLVM_BINARY_DIR ${LLVM_OBJ_ROOT} CACHE PATH "Path to LLVM build tree")
-+  set(LLVM_MAIN_SRC_DIR ${MAIN_SRC_DIR} CACHE PATH "Path to LLVM source tree")
-+
-+  find_program(LLVM_TABLEGEN_EXE "llvm-tblgen" ${LLVM_TOOLS_BINARY_DIR}
-+    NO_DEFAULT_PATH)
-+
-+  set(LLVM_CMAKE_PATH "${LLVM_BINARY_DIR}/share/llvm/cmake") # this will change in 3.9.0
-+  set(LLVMCONFIG_FILE "${LLVM_CMAKE_PATH}/LLVMConfig.cmake")
-+  if(EXISTS ${LLVMCONFIG_FILE})
-+    list(APPEND CMAKE_MODULE_PATH "${LLVM_CMAKE_PATH}")
-+    include(${LLVMCONFIG_FILE})
-   else()
--    message(FATAL_ERROR "Please set LLDB_PATH_TO_CLANG_BUILD to the root "
--            "directory of Clang build or install site.")
-+    message(FATAL_ERROR "Not found: ${LLVMCONFIG_FILE}")
-   endif()
- 
--
--  # These variables are used by add_llvm_library.
-+  # They are used as destination of target generators.
-   set(LLVM_RUNTIME_OUTPUT_INTDIR ${CMAKE_BINARY_DIR}/${CMAKE_CFG_INTDIR}/bin)
-   set(LLVM_LIBRARY_OUTPUT_INTDIR ${CMAKE_BINARY_DIR}/${CMAKE_CFG_INTDIR}/lib${LLVM_LIBDIR_SUFFIX})
--  set(LLVM_LIBRARY_DIR ${LLVM_LIBRARY_OUTPUT_INTDIR})
-+  if(WIN32 OR CYGWIN)
-+    # DLL platform -- put DLLs into bin.
-+    set(LLVM_SHLIB_OUTPUT_INTDIR ${LLVM_RUNTIME_OUTPUT_INTDIR})
-+  else()
-+    set(LLVM_SHLIB_OUTPUT_INTDIR ${LLVM_LIBRARY_OUTPUT_INTDIR})



Home | Main Index | Thread Index | Old Index