I've updated the code to make that behavior optional and controllable: https://github.com/rintaro/swift/commit/bfac557
Revision from only lib/, include/, and tools/: utils/build-script -RT --reconfigure \ --swift-vc-revision-include-dir="lib;include;tools" Revision from whole repository excluding stdlib/ and docs/: utils/build-script -RT --reconfigure \ --swift-vc-revision-include-dir=".;:!stdlib;:!docs" 2016-05-07 1:23 GMT+09:00 Dmitri Gribenko <griboz...@gmail.com>: > On Fri, May 6, 2016 at 9:16 AM, Jordan Rose <jordan_r...@apple.com> wrote: > > Hm. That might be a nice balance, and it’s not entirely a lie: that’s the > > version of the compiler that you’re using, if not the stdlib and runtime. > > I’d still like to put it behind a flag, so that we can turn it off it > > certain configurations, like #2105 attempted to do. > > > > Dmitri, any comments, since you caught the issue last time? > > I think this would be a reasonable balance for local development. For > releases that CI produces I think this change will cause confusion > because the git hashes that are tagged would not match the git hashes > included in the compiler version. > > Dmitri > > -- > main(i,j){for(i=2;;i++){for(j=2;j<i;j++){if(!(i%j)){j=0;break;}}if > (j){printf("%d\n",i);}}} /*Dmitri Gribenko <griboz...@gmail.com>*/ >
_______________________________________________ swift-dev mailing list swift-dev@swift.org https://lists.swift.org/mailman/listinfo/swift-dev