If you want to see what I tried, it was r190557, but that ended up getting reverted in r191784. I don't think I had the right approach, though.
The general problem is that CMake steps only run at configure time, which means if no CMakeLists are changed the repository version wouldn't generally get updated. In my patch I changed things to check the repository version every time, but that was expensive. (Still, it's no different from what the Makefile build does, right?) Jordan On Feb 9, 2014, at 13:44 , Chandler Carruth <[email protected]> wrote: > Note that the clang side is totally hosed here compared to the LLVM side. > Compare the CMake code in Clang to VersionFromVCS.cmake which can handle > subversion, git, and git-svn gracefully. I can't even really test these > patches because clang gives up (i think) when it fails to find a .svn > directory. > > I think it would be better to switch clang to use VersionFromVCS.cmake and > then consolidate improvements there. > > > On Sun, Feb 9, 2014 at 1:08 PM, Dmitri Gribenko <[email protected]> wrote: > On Sun, Feb 9, 2014 at 7:25 PM, Kim Gräsman <[email protected]> wrote: > > ping. > > + Jordan, who was working on this part of code recently, if I recall > correctly. > > 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 <[email protected]>*/ > > _______________________________________________ > cfe-commits mailing list > [email protected] > http://lists.cs.uiuc.edu/mailman/listinfo/cfe-commits >
_______________________________________________ cfe-commits mailing list [email protected] http://lists.cs.uiuc.edu/mailman/listinfo/cfe-commits
