commit zig for openSUSE:Factory
Script 'mail_helper' called by obssrc Hello community, here is the log from the commit of package zig for openSUSE:Factory checked in at 2024-06-09 20:22:22 ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Comparing /work/SRC/openSUSE:Factory/zig (Old) and /work/SRC/openSUSE:Factory/.zig.new.19518 (New) ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Package is "zig" Sun Jun 9 20:22:22 2024 rev:7 rq:1179408 version:0.13.0 Changes: -------- --- /work/SRC/openSUSE:Factory/zig/zig.changes 2024-05-06 17:53:48.752309202 +0200 +++ /work/SRC/openSUSE:Factory/.zig.new.19518/zig.changes 2024-06-09 20:24:50.075484028 +0200 @@ -1,0 +2,15 @@ +Fri Jun 7 17:56:48 UTC 2024 - Soc Virnyl Estela <uncomfy+openbuildservice@uncomfyhalomacro.pl> + +- Update patchsets for llvm18 changes + ./0000-remove-lld-in-cmakelist.patch + ./0001-invoke-lld.patch + +------------------------------------------------------------------- +Fri Jun 7 17:35:24 UTC 2024 - Soc Virnyl Estela <uncomfy+openbuildservice@uncomfyhalomacro.pl> + +- Update to version 0.13.0: + ** CHANGELOG TOO LONG ** + See https://ziglang.org/download/0.12.0/release-notes.html + * Release focuses more on the LLVM18 support + +------------------------------------------------------------------- Old: ---- zig-0.12.0.tar.xz New: ---- zig-0.13.0.tar.xz ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Other differences: ------------------ ++++++ zig.spec ++++++ --- /var/tmp/diff_new_pack.ISoHKX/_old 2024-06-09 20:24:50.839511597 +0200 +++ /var/tmp/diff_new_pack.ISoHKX/_new 2024-06-09 20:24:50.839511597 +0200 @@ -22,7 +22,7 @@ %bcond_without test Name: zig -Version: 0.12.0 +Version: 0.13.0 Release: 0 Summary: Compiler for the Zig language License: MIT @@ -34,19 +34,19 @@ Patch0: 0000-remove-lld-in-cmakelist.patch Patch1: 0001-invoke-lld.patch Patch2: 0002-no-lld-libs-and-includes.patch -BuildRequires: clang17 -BuildRequires: clang17-devel +BuildRequires: clang18 +BuildRequires: clang18-devel BuildRequires: cmake BuildRequires: gcc BuildRequires: gcc-c++ BuildRequires: glibc BuildRequires: glibc-devel BuildRequires: help2man -BuildRequires: lld17 -BuildRequires: llvm17-devel +BuildRequires: lld18 +BuildRequires: llvm18-devel BuildRequires: ninja BuildRequires: zlib-devel -Requires: lld17 +Requires: lld18 # llvm-config is missing targets for ppc and arm architectures. # ExcludeArch: ppc64 ppc64le %%arm %%ix86 @@ -95,8 +95,8 @@ -DCMAKE_BUILD_TYPE=Release \ %endif -DCMAKE_BUILD_TYPE=RelWithDebInfo \ - -DCMAKE_C_COMPILER="clang-17" \ - -DCMAKE_CXX_COMPILER="clang++-17" \ + -DCMAKE_C_COMPILER="clang-18" \ + -DCMAKE_CXX_COMPILER="clang++-18" \ -DZIG_SHARED_LLVM=On \ -DZIG_TARGET_MCPU="baseline" \ -DZIG_VERSION:STRING="%{version}" ++++++ 0000-remove-lld-in-cmakelist.patch ++++++ --- /var/tmp/diff_new_pack.ISoHKX/_old 2024-06-09 20:24:50.859512319 +0200 +++ /var/tmp/diff_new_pack.ISoHKX/_new 2024-06-09 20:24:50.863512463 +0200 @@ -1,32 +1,26 @@ -We invoke LLD so we also commented/remove it out as well. -diff --git a/CMakeLists.txt b/CMakeLists.txt -index 92be8fb..e19d18e 100644 ---- a/CMakeLists.txt -+++ b/CMakeLists.txt -@@ -136,7 +136,7 @@ +diff -ruN zig-0.13.0.orig/CMakeLists.txt zig-0.13.0/CMakeLists.txt +--- zig-0.13.0.orig/CMakeLists.txt 2024-06-08 02:06:52.784489192 +0800 ++++ zig-0.13.0/CMakeLists.txt 2024-06-08 02:07:26.458213443 +0800 +@@ -139,7 +139,7 @@ - find_package(llvm 17) - find_package(clang 17) --find_package(lld 17) -+# find_package(lld 17) + find_package(llvm 18) + find_package(clang 18) +-find_package(lld 18) ++# find_package(lld 18) if(ZIG_STATIC_ZLIB) if (MSVC) -@@ -183,7 +183,7 @@ - endforeach(CONFIG_TYPE CMAKE_CONFIGURATION_TYPES) - - include_directories(${LLVM_INCLUDE_DIRS}) --include_directories(${LLD_INCLUDE_DIRS}) -+# include_directories(${LLD_INCLUDE_DIRS}) - include_directories(${CLANG_INCLUDE_DIRS}) - - find_package(Threads) -@@ -707,7 +707,7 @@ - - target_link_libraries(zigcpp LINK_PUBLIC +@@ -736,11 +736,11 @@ + target_include_directories(zigcpp PUBLIC + ${CLANG_INCLUDE_DIRS} + ${LLVM_INCLUDE_DIRS} +- ${LLD_INCLUDE_DIRS} ++# ${LLD_INCLUDE_DIRS} + ) + target_link_libraries(zigcpp PUBLIC ${CLANG_LIBRARIES} - ${LLD_LIBRARIES} -+ # ${LLD_LIBRARIES} ++# ${LLD_LIBRARIES} ${LLVM_LIBRARIES} ${CMAKE_THREAD_LIBS_INIT} ) ++++++ 0001-invoke-lld.patch ++++++ --- /var/tmp/diff_new_pack.ISoHKX/_old 2024-06-09 20:24:50.879513040 +0200 +++ /var/tmp/diff_new_pack.ISoHKX/_new 2024-06-09 20:24:50.879513040 +0200 @@ -116,19 +116,19 @@ bool ZigLLDLinkCOFF(int argc, const char **argv, bool can_exit_early, bool disable_output) { - std::vector<const char *> args(argv, argv + argc); - return lld::coff::link(args, llvm::outs(), llvm::errs(), can_exit_early, disable_output); -+ return InvokeLld("lld-link-17", llvm::ArrayRef<const char *>(argv, argc), llvm::outs(), llvm::errs(), disable_output); ++ return InvokeLld("lld-link-18", llvm::ArrayRef<const char *>(argv, argc), llvm::outs(), llvm::errs(), disable_output); } bool ZigLLDLinkELF(int argc, const char **argv, bool can_exit_early, bool disable_output) { - std::vector<const char *> args(argv, argv + argc); - return lld::elf::link(args, llvm::outs(), llvm::errs(), can_exit_early, disable_output); -+ return InvokeLld("ld.lld-17", llvm::ArrayRef<const char *>(argv, argc), llvm::outs(), llvm::errs(), disable_output); ++ return InvokeLld("ld.lld-18", llvm::ArrayRef<const char *>(argv, argc), llvm::outs(), llvm::errs(), disable_output); } bool ZigLLDLinkWasm(int argc, const char **argv, bool can_exit_early, bool disable_output) { - std::vector<const char *> args(argv, argv + argc); - return lld::wasm::link(args, llvm::outs(), llvm::errs(), can_exit_early, disable_output); -+ return InvokeLld("wasm-ld-17", llvm::ArrayRef<const char *>(argv, argc), llvm::outs(), llvm::errs(), disable_output); ++ return InvokeLld("wasm-ld-18", llvm::ArrayRef<const char *>(argv, argc), llvm::outs(), llvm::errs(), disable_output); } static_assert((Triple::ArchType)ZigLLVM_UnknownArch == Triple::UnknownArch, ""); ++++++ zig-0.12.0.tar.xz -> zig-0.13.0.tar.xz ++++++ /work/SRC/openSUSE:Factory/zig/zig-0.12.0.tar.xz /work/SRC/openSUSE:Factory/.zig.new.19518/zig-0.13.0.tar.xz differ: char 25, line 1
participants (1)
-
Source-Sync