-
Notifications
You must be signed in to change notification settings - Fork 11
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
[build] Gracefully error when a module has conflicting compiler options
- Loading branch information
Showing
4 changed files
with
116 additions
and
41 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,17 @@ | ||
# This is free and unencumbered software released into the public domain. | ||
# See ../LICENSE.unlicense | ||
|
||
# PLZTEST type compile_failure | ||
|
||
# This test asks the build system to build the same module with different | ||
# settings, it should fail. | ||
|
||
[options_compiler_03a] | ||
type = program | ||
modules = [ OptionsCompiler03a, OptionsCompiler03 ] | ||
compiler_opts = "--no-simplify" | ||
|
||
[options_compiler_03b] | ||
type = program | ||
modules = [ OptionsCompiler03b, OptionsCompiler03 ] | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,2 @@ | ||
options_compiler_03.build:11: Flags set for the same module in different | ||
programs do not match |