summaryrefslogtreecommitdiff
path: root/devel
diff options
context:
space:
mode:
authornia <nia@pkgsrc.org>2020-06-13 17:50:40 +0000
committernia <nia@pkgsrc.org>2020-06-13 17:50:40 +0000
commit800d1113aba53544d7c66d19eb73edde6ab34d63 (patch)
tree1d6e4ff73a2bc07d2c0efbbb2b8fd80da055ca6d /devel
parentc9b0f2e0b2bde457c3039c0f9193d3cc9b29458d (diff)
downloadpkgsrc-800d1113aba53544d7c66d19eb73edde6ab34d63.tar.gz
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 (limited to 'devel')
-rw-r--r--devel/samurai/Makefile7
-rw-r--r--devel/samurai/distinfo10
2 files changed, 9 insertions, 8 deletions
diff --git a/devel/samurai/Makefile b/devel/samurai/Makefile
index 17f28e54b63..232eef1594f 100644
--- a/devel/samurai/Makefile
+++ b/devel/samurai/Makefile
@@ -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
-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 --git a/devel/samurai/distinfo b/devel/samurai/distinfo
index 0699ecb14a6..28ca14b38ac 100644
--- a/devel/samurai/distinfo
+++ b/devel/samurai/distinfo
@@ -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