Author: raja
Date: 2005-04-08 05:06:22 -0400 (Fri, 08 Apr 2005)
New Revision: 42678
Modified:
trunk/mcs/build/ChangeLog
trunk/mcs/build/profiles/basic.make
Log:
* profiles/basic.make (do-profile-check): Handle some possible
timestamp problems. Hopefully fix #74280.
Modified: trunk/mcs/build/ChangeLog
===================================================================
--- trunk/mcs/build/ChangeLog 2005-04-08 08:41:26 UTC (rev 42677)
+++ trunk/mcs/build/ChangeLog 2005-04-08 09:06:22 UTC (rev 42678)
@@ -1,3 +1,8 @@
+2005-04-08 Raja R Harinath <[EMAIL PROTECTED]>
+
+ * profiles/basic.make (do-profile-check): Handle some possible
+ timestamp problems. Hopefully fix #74280.
+
2005-03-30 Zoltan Varga <[EMAIL PROTECTED]>
* rules.make (INSTALL_DATA): Pass -c to install.
Modified: trunk/mcs/build/profiles/basic.make
===================================================================
--- trunk/mcs/build/profiles/basic.make 2005-04-08 08:41:26 UTC (rev 42677)
+++ trunk/mcs/build/profiles/basic.make 2005-04-08 09:06:22 UTC (rev 42678)
@@ -33,9 +33,13 @@
echo "*** The compiler '$(EXTERNAL_MCS)' doesn't appear to be
usable." 1>&2 ; \
if test -f $(topdir)/class/lib/monolite/mcs.exe; then \
echo "*** Falling back to using pre-compiled binaries. Be
warned, this may not work." 1>&2 ; \
+ ( cd $(topdir)/jay && $(MAKE) ); \
+ ( cd $(topdir)/mcs && $(MAKE) PROFILE=basic cs-parser.cs ); \
( cd $(topdir)/class/lib/monolite/ && cp *.exe *.dll ../basic
); \
- ( cd $(topdir)/jay && $(MAKE) ); ( cd $(topdir)/mcs && $(MAKE)
PROFILE=basic cs-parser.cs ); \
- touch $(topdir)/class/lib/basic/*; \
+ case `ls -1t $(topdir)/class/lib/basic/mcs.exe
$(topdir)/mcs/cs-parser.cs | sed 1q` in \
+ $(topdir)/class/lib/basic/mcs.exe) : ;; \
+ *) sleep 5; cp $(topdir)/class/lib/monolite/mcs.exe
$(topdir)/class/lib/basic ;; \
+ esac; \
else \
echo "*** You need a C# compiler installed to build MCS. (make
sure mcs works from the command line)" 1>&2 ; \
echo "*** Read INSTALL.txt for information on how to bootstrap
a Mono installation." 1>&2 ; \
_______________________________________________
Mono-patches maillist - [email protected]
http://lists.ximian.com/mailman/listinfo/mono-patches