Last active
February 12, 2019 21:47
-
-
Save bdbaddog/a93edd9134b3d5449503bf7ca82f5038 to your computer and use it in GitHub Desktop.
--config=force repro
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
#include <stdio.h> | |
int some_func() { | |
printf("Yes"); | |
return 0; | |
} |
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
AddOption('--show_bug', action='store_true', dest='show_bug', default=False, | |
help="Show the config=force bug") | |
env=Environment() | |
conf = Configure(env) | |
if not conf.CheckCXXHeader('vector.h'): | |
print 'vector.h must be installed!' | |
# Don't need this to cause the issue | |
# env = conf.Finish() | |
if not GetOption('show_bug'): | |
print("Should work properly") | |
env=Environment() | |
else: | |
print("================================================================================================") | |
print("Should rebuild when not needed because Configure with --config=force ") | |
print("polutes the referenced environment's decider with a decider to force all config steps to rebuild") | |
print("When run with --debug=explain will show all sources/implicits as changed") | |
print("================================================================================================") | |
env.Object("myfile.c", CPPPATH=["."]) |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment