Skip to content

Commit

Permalink
Merge pull request apple#53 from nkcsgexi/rdar47101451
Browse files Browse the repository at this point in the history
build-script: pass '-enforce-exclusivity=unchecked' to speed-up compilation
  • Loading branch information
nkcsgexi committed Jan 8, 2019
2 parents aee69f4 + c867fba commit d6da7b4
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions build-script.py
Expand Up @@ -157,6 +157,9 @@ def get_swiftpm_invocation(spm_exec, build_dir, release):

# Swift compiler needs to know the module link name.
swiftpm_call.extend(['-Xswiftc', '-module-link-name', '-Xswiftc', get_installed_name()])

# To speed up compilation.
swiftpm_call.extend(['-Xswiftc', '-enforce-exclusivity=unchecked'])
return swiftpm_call


Expand Down

0 comments on commit d6da7b4

Please sign in to comment.