Skip to content

Commit

Permalink
Enable lightweight assertions in Linux packages
Browse files Browse the repository at this point in the history
  • Loading branch information
gribozavr committed Dec 1, 2015
1 parent 4f8773f commit 7333c19
Showing 1 changed file with 21 additions and 0 deletions.
21 changes: 21 additions & 0 deletions utils/build-presets.ini
Original file line number Diff line number Diff line change
Expand Up @@ -455,10 +455,31 @@ build-subdir=buildbot_incremental_special_leaks
dash-dash
swift-runtime-enable-leak-checker=1

#===------------------------------------------------------------------------===#
# Package Builders
#===------------------------------------------------------------------------===#

# A mixin that enables 'lightweight' assertions that don't slow down the
# compiler significantly.
[preset: mixin_lightweight_assertions]
assertions

# FIXME: This should be:
# no-assertions
# swift-assertions
# ... but our tests are expecting assertions to be either on or off everywhere.

dash-dash

# AST verifier slows down the compiler significantly.
swift-enable-ast-verifier=0

#===------------------------------------------------------------------------===#
# Linux Builders
#===------------------------------------------------------------------------===#
[preset: mixin_linux_installation]
mixin-preset=mixin_lightweight_assertions

llbuild
swiftpm
xctest
Expand Down

0 comments on commit 7333c19

Please sign in to comment.