mirror of
https://github.com/mongodb/mongo.git
synced 2024-12-01 09:32:32 +01:00
SERVER-48045 Use Java 11 for TLA+ model-checking
This commit is contained in:
parent
49cc63fbb3
commit
dc47e87ce7
@ -3,4 +3,4 @@
|
||||
# Downloads TLC, which is the model-checker for the TLA+ formal specifications in this directory.
|
||||
|
||||
echo "Downloading tla2tools.jar"
|
||||
curl -fLO tla.msr-inria.inria.fr/tlatoolbox/dist/tla2tools.jar
|
||||
curl -fLO https://github.com/tlaplus/tlaplus/releases/download/v1.7.0/tla2tools.jar
|
||||
|
@ -31,5 +31,6 @@ elif ! WORKERS=$(sysctl -n hw.logicalcpu); then
|
||||
fi
|
||||
|
||||
cd "$1"
|
||||
# Requires Java 11.
|
||||
# Defer liveness checks to the end with -lncheck, for speed.
|
||||
java -XX:+UseParallelGC -cp ../tla2tools.jar tlc2.TLC -lncheck final -workers "$WORKERS" "$TLA_FILE"
|
||||
/opt/java/jdk11/bin/java -XX:+UseParallelGC -cp ../tla2tools.jar tlc2.TLC -lncheck final -workers "$WORKERS" "$TLA_FILE"
|
||||
|
Loading…
Reference in New Issue
Block a user