Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

fix: Partially fix nightly build for 4.2 #131

Merged
merged 4 commits into from
Jul 11, 2023
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
1 change: 0 additions & 1 deletion .github/workflows/check-examples-in-docs.yml
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,6 @@ concurrency:

jobs:
check-examples-in-docs:
continue-on-error: true
strategy:
fail-fast: false
matrix:
Expand Down
1 change: 0 additions & 1 deletion .github/workflows/reusable-tests.yml
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,6 @@ on:

jobs:
reusable_verification:
continue-on-error: true
strategy:
fail-fast: false
matrix:
Expand Down
14 changes: 11 additions & 3 deletions lit.site.cfg
Original file line number Diff line number Diff line change
Expand Up @@ -7,6 +7,7 @@ import sys
import re
import platform
import shutil
import subprocess
from os import path

import lit.util
Expand Down Expand Up @@ -136,11 +137,18 @@ def buildCmd(args):

standardArguments = addParams(' '.join([]))

# Pass --compile-suffix when available (since extern implementations depend on this)
dafnyHelpProcess = subprocess.run(['dafny', '/help'], capture_output=True)
if dafnyHelpProcess.stdout.find(b'/compileSuffix') != -1:
standardTranslationArguments = ' '.join(['--compile-suffix'])
else:
standardTranslationArguments = ''

resolveArgs = ' resolve --use-basename-for-filename ' + standardArguments
verifyArgs = ' verify --use-basename-for-filename --cores:2 --verification-time-limit:300 ' + standardArguments
buildArgs = ' build --use-basename-for-filename --cores:2 --verification-time-limit:300 ' + standardArguments
runArgs = ' run --use-basename-for-filename --cores:2 --verification-time-limit:300 ' + standardArguments
testArgs = ' test --use-basename-for-filename --cores:2 --verification-time-limit:300 ' + standardArguments
buildArgs = ' build --use-basename-for-filename --cores:2 --verification-time-limit:300 ' + standardArguments + ' ' + standardTranslationArguments
runArgs = ' run --use-basename-for-filename --cores:2 --verification-time-limit:300 ' + standardArguments + ' ' + standardTranslationArguments
testArgs = ' test --use-basename-for-filename --cores:2 --verification-time-limit:300 ' + standardArguments + ' ' + standardTranslationArguments

config.substitutions.append( ('%trargs', '--use-basename-for-filename --cores:2 --verification-time-limit:300' ) )

Expand Down
Loading