aboutsummaryrefslogtreecommitdiff
path: root/toolsrc/include
diff options
context:
space:
mode:
authornicole mazzuca <mazzucan@outlook.com>2020-11-12 10:16:24 -0800
committerGitHub <noreply@github.com>2020-11-12 10:16:24 -0800
commit2dc708898ad89c2a74461fa50cb907bcd5b92305 (patch)
tree4788b042e34f1cd1756a25cc234eccbfc8febe42 /toolsrc/include
parent11b4a16bcadd252fd9721204262ab2bb6d09464e (diff)
downloadvcpkg-2dc708898ad89c2a74461fa50cb907bcd5b92305.tar.gz
vcpkg-2dc708898ad89c2a74461fa50cb907bcd5b92305.zip
[vcpkg] Add x-ignore-lock-failures (#14397)
* [vcpkg] Add disable-lock options This should fix #14281 at least as a stopgap. Additionally, adds better errors. * billy CRs * change from "disable-lock" to "allow-spurious-lock-failures" * billy cr
Diffstat (limited to 'toolsrc/include')
-rw-r--r--toolsrc/include/vcpkg/vcpkgcmdarguments.h4
1 files changed, 4 insertions, 0 deletions
diff --git a/toolsrc/include/vcpkg/vcpkgcmdarguments.h b/toolsrc/include/vcpkg/vcpkgcmdarguments.h
index 6759e63cf..db0d96316 100644
--- a/toolsrc/include/vcpkg/vcpkgcmdarguments.h
+++ b/toolsrc/include/vcpkg/vcpkgcmdarguments.h
@@ -163,6 +163,10 @@ namespace vcpkg
constexpr static StringLiteral WAIT_FOR_LOCK_SWITCH = "x-wait-for-lock";
Optional<bool> wait_for_lock = nullopt;
+ constexpr static StringLiteral IGNORE_LOCK_FAILURES_SWITCH = "x-ignore-lock-failures";
+ constexpr static StringLiteral IGNORE_LOCK_FAILURES_ENV = "X_VCPKG_IGNORE_LOCK_FAILURES";
+ Optional<bool> ignore_lock_failures = nullopt;
+
constexpr static StringLiteral JSON_SWITCH = "x-json";
Optional<bool> json = nullopt;