mirror of
https://github.com/jedisct1/libsodium.git
synced 2026-08-25 08:37:13 +09:00
Merge branch 'master' of github.com:jedisct1/libsodium
* 'master' of github.com:jedisct1/libsodium: Add conftest files to .gitignore Only build test-vectors on demand
This commit is contained in:
@@ -41,6 +41,8 @@ confdefs.h
|
||||
config.*
|
||||
configure
|
||||
configure.lineno
|
||||
conftest.c
|
||||
conftest.err
|
||||
coverage.info
|
||||
depcomp
|
||||
INSTALL
|
||||
|
||||
@@ -356,7 +356,7 @@ pub fn build(b: *std.Build) !void {
|
||||
}
|
||||
}
|
||||
|
||||
if (build_tests) {
|
||||
{
|
||||
const offline = b.option(bool, "offline", "Skip downloading test vectors; use cached files only") orelse false;
|
||||
const tv_options = b.addOptions();
|
||||
tv_options.addOption(bool, "offline", offline);
|
||||
@@ -376,7 +376,6 @@ pub fn build(b: *std.Build) !void {
|
||||
.name = "test-vectors",
|
||||
.root_module = tv_mod,
|
||||
});
|
||||
b.installArtifact(tv_exe);
|
||||
const run_tv = b.addRunArtifact(tv_exe);
|
||||
const tv_step = b.step("test-vectors", "Run external test vectors (Rooterberg)");
|
||||
tv_step.dependOn(&run_tv.step);
|
||||
|
||||
Reference in New Issue
Block a user