Commit Graph

10 Commits

Author SHA1 Message Date
Frits van Bommel
5a6e2f1c8f Emit nicer error messages when the user didn't set LLVM_REV and autodetection
didn't find a suitable revision or when the LLVM revision in use is too old.
2009-06-03 16:09:48 +02:00
Benjamin Kramer
2b18460169 Force SVN to C locale 2009-05-02 14:00:57 +02:00
Frits van Bommel
d9f9da4521 Don't set LLVM_REV if it's set on the command line. 2009-03-18 00:25:36 +01:00
Frits van Bommel
ad46ec8bd0 Split out LLVM_REV into separate header, to reduce rebuilding when only the LDC
revision has changed.
2009-03-13 16:18:43 +01:00
Frits van Bommel
a23861d3c1 Updating revisions.pl.in:
- Change the way the LLVM SVN revision is detected, using `svn info` instead
   of `svnversion`. This speeds it up significantly on my machine (especially
   when the LLVM SVN checkout isn't in disk cache).
 - Add "last changed date" to SVN checkouts too, not just unpacked tarballs
 - No longer rely on SVN revision to detect release vs trunk checkouts, treat
   release checkout the same as unpacked release tarball. (Except for date
   determination, which uses SVN date instead of filesystem date)
2009-03-13 16:18:01 +01:00
Frits van Bommel
958ad381db Fix to make sure to create gen/ in build dir and unbreak build with older perl 2009-03-08 16:37:55 +01:00
Frits van Bommel
622a93a810 Make LDC work with LLVM trunk (s/LinkOnceLinkage/LinkOnceOdrLinkage/)
Also moved the #defines for linkage types into a separate header instead of
mars.h so we can #include revisions.h without having to rebuild the entire
frontend every time we update.
(I'm using revisions.h to get the LLVM revision for use in preprocessor
conditionals. It should work with LLVM release 2.5, old trunk and new trunk)
2009-03-08 16:13:10 +01:00
Frits van Bommel
aa85c805c1 Change the way the version is printed (more verbose, with short hash)
If the user has patches managed by the mq extension, the version and hash
printed are those of the qparent revision (the revision the patches were
applied on top of) instead of tip.
Also fixes a bug: print LLVM revision even if there are local modifications to
it.
Sorry for the long line in the perl file. I have no idea how to break it up.
2009-02-17 01:13:18 +01:00
elrood
a8b99651d9 fix unnecessary revisions.h regeneration and mars.c recompilation 2009-01-05 21:11:47 +01:00
Christian Kamm
dff06d0f15 Add Elrood's patch to output LDC and LLVM source revs. 2008-12-14 16:51:36 +01:00