Source-Changes-HG archive

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

[pkgsrc/trunk]: pkgsrc/devel/samurai samurai: Update to 1.1



details:   https://anonhg.NetBSD.org/pkgsrc/rev/1ab5aba118a3
branches:  trunk
changeset: 434261:1ab5aba118a3
user:      nia <nia%pkgsrc.org@localhost>
date:      Sat Jun 13 17:50:40 2020 +0000

description:
samurai: Update to 1.1

New features

    The targets subtool is now implemented. This subtool prints targets built by the project, either by rule name or depth from the final outputs.
    The compdb subtool is now implement. This subtool dumps a JSON compilation database, as specified in https://clang.llvm.org/docs/JSONCompilationDatabase.html, and allows integration with some 
IDEs and build tools.
    The NINJA_STATUS environment variable is now honored, allowing control over what information is included in the status line.
    The -l flag (scheduling based on load average) is now ignored for compatibility with ninja.

Bug fixes

    When a job specified depfile and deps, but did not actually write the depfile (for example, D compilers with meson), we now write an empty dependency record to .ninja_deps. This matches ninja's 
behavior and prevents unwanted rebuilds.
    When the manifest is dirty, but a restat = 1 action causes the manifest rebuild to be pruned, we now continue with the build. This prevents a manifest rebuild loop in these cases (for example 
with cmake using glob patterns), since the manifest is always dirty after reloading.

Cleanups

    When no default line is present in build.ninja, we previously scheduled all targets for building rather than just the root targets (those with no dependents). This makes no difference is practice 
sin

    ce we need to build all dependencies before a target anyway, but this was changed in order to implement the targets subtool.
    We now do a better job at freeing memory when the manifest is rebuilt.
    Some code style inconsistencies were fixed.

Acknowledgements

This release involved the help of a number of people who reported bugs and implemented features. Thanks to Brian Callahan, Daan De Meyer, Ethan Sommer, Rasmus Thomsen, Simon Zeni, and @angularorbit 
for your contributions!

diffstat:

 devel/samurai/Makefile |   7 ++++---
 devel/samurai/distinfo |  10 +++++-----
 2 files changed, 9 insertions(+), 8 deletions(-)

diffs (34 lines):

diff -r 5a3bce38aa63 -r 1ab5aba118a3 devel/samurai/Makefile
--- a/devel/samurai/Makefile    Sat Jun 13 17:43:49 2020 +0000
+++ b/devel/samurai/Makefile    Sat Jun 13 17:50:40 2020 +0000
@@ -1,11 +1,12 @@
-# $NetBSD: Makefile,v 1.3 2020/04/28 11:46:29 nikita Exp $
+# $NetBSD: Makefile,v 1.4 2020/06/13 17:50:40 nia Exp $
 
-DISTNAME=      samurai-1.0
+DISTNAME=      samurai-1.1
 CATEGORIES=    devel
 MASTER_SITES=  ${MASTER_SITE_GITHUB:=michaelforney/}
+GITHUB_RELEASE=        ${PKGVERSION_NOREV}
 
 MAINTAINER=    nikita%NetBSD.org@localhost
-HOMEPAGE=      https://github.com/michaelforney/samurai/
+HOMEPAGE=      https://github.com/michaelforney/samurai
 COMMENT=       Ninja-compatible build tool written in C
 LICENSE=       isc AND apache-2.0
 
diff -r 5a3bce38aa63 -r 1ab5aba118a3 devel/samurai/distinfo
--- a/devel/samurai/distinfo    Sat Jun 13 17:43:49 2020 +0000
+++ b/devel/samurai/distinfo    Sat Jun 13 17:50:40 2020 +0000
@@ -1,6 +1,6 @@
-$NetBSD: distinfo,v 1.2 2020/01/01 01:04:28 ng0 Exp $
+$NetBSD: distinfo,v 1.3 2020/06/13 17:50:40 nia Exp $
 
-SHA1 (samurai-1.0.tar.gz) = 3963c57b85866e873ed974dd666a9119da274466
-RMD160 (samurai-1.0.tar.gz) = ca2d01b50a93cff75a7040308937a40cd5fb04d8
-SHA512 (samurai-1.0.tar.gz) = 87b2a11a39dc36f3582abdc7c9d358c8fce241fe4155b5177d3e8588d1c040a62eb9daafd2365febbfadd6fcc27a3ceacf6f29ca6f871c822aad6f4bad527a51
-Size (samurai-1.0.tar.gz) = 28680 bytes
+SHA1 (samurai-1.1.tar.gz) = 22e9f7ed5e96db903b903660bf8dc0bee955cc16
+RMD160 (samurai-1.1.tar.gz) = 382a2f7b35500e875b2500446f710a800091dd26
+SHA512 (samurai-1.1.tar.gz) = b27302c34d736f483909e57c8b162609eaa4c86571c1167b71a5564b521cc3af2861307a16bb6dca55e80952088989e9526b103160d2ea054d15f4ed85b1cedb
+Size (samurai-1.1.tar.gz) = 32023 bytes



Home | Main Index | Thread Index | Old Index