Hi every one,
You will find attached a patch that improve the speed of autotools
quite a lot by using cache. Basically it just remove the code in
autogen that where destroying it and call configure with -C so we are
sure we use the cache. I don't feel really safe to apply it,
especially for people that do use the EFL in cross compiled
environment. So I would like some help to test this stuff in as many
possible situation as possible. Please report when it work and when it
doesn't for you !
Have fun,
--
Cedric BAIL
diff --git a/e_dbus/autogen.sh b/e_dbus/autogen.sh
index 11b419b..ddd435c 100755
--- a/e_dbus/autogen.sh
+++ b/e_dbus/autogen.sh
@@ -1,8 +1,5 @@
#! /bin/sh
-rm -rf autom4te.cache
-rm -f aclocal.m4 ltmain.sh
-
echo "Running aclocal..." ; aclocal $ACLOCAL_FLAGS -I m4 || exit 1
echo "Running autoheader..."; autoheader || exit 1
echo "Running libtoolize..."; (libtoolize --copy --automake || glibtoolize --automake) || exit 1
@@ -10,5 +7,5 @@ echo "Running automake..."; automake --gnu --add-missing --copy || exit 1
echo "Running autoconf..."; autoconf || exit 1
if [ -z "$NOCONFIGURE" ] ; then
- ./configure "$@"
+ ./configure -C "$@"
fi
diff --git a/ecore/autogen.sh b/ecore/autogen.sh
index 0a59462..788702c 100755
--- a/ecore/autogen.sh
+++ b/ecore/autogen.sh
@@ -1,8 +1,5 @@
#!/bin/sh
-rm -rf autom4te.cache
-rm -f aclocal.m4 ltmain.sh
-
touch README
echo "Running autopoint..." ; autopoint -f || :
@@ -13,5 +10,5 @@ echo "Running libtoolize..." ; (libtoolize --copy --automake || glibtoolize --au
echo "Running automake..." ; automake --add-missing --copy --gnu || exit 1
if [ -z "$NOCONFIGURE" ]; then
- ./configure "$@"
+ ./configure -C "$@"
fi
diff --git a/edje/autogen.sh b/edje/autogen.sh
index 995ff2f..6499736 100755
--- a/edje/autogen.sh
+++ b/edje/autogen.sh
@@ -1,8 +1,5 @@
#!/bin/sh
-rm -rf autom4te.cache
-rm -f aclocal.m4 ltmain.sh
-
touch README
echo "Running aclocal..." ; aclocal $ACLOCAL_FLAGS -I m4 || exit 1
@@ -12,5 +9,5 @@ echo "Running libtoolize..." ; (libtoolize --copy --automake || glibtoolize --au
echo "Running automake..." ; automake --add-missing --copy --gnu || exit 1
if [ -z "$NOCONFIGURE" ]; then
- ./configure "$@"
+ ./configure -C "$@"
fi
diff --git a/eet/autogen.sh b/eet/autogen.sh
index 995ff2f..6499736 100755
--- a/eet/autogen.sh
+++ b/eet/autogen.sh
@@ -1,8 +1,5 @@
#!/bin/sh
-rm -rf autom4te.cache
-rm -f aclocal.m4 ltmain.sh
-
touch README
echo "Running aclocal..." ; aclocal $ACLOCAL_FLAGS -I m4 || exit 1
@@ -12,5 +9,5 @@ echo "Running libtoolize..." ; (libtoolize --copy --automake || glibtoolize --au
echo "Running automake..." ; automake --add-missing --copy --gnu || exit 1
if [ -z "$NOCONFIGURE" ]; then
- ./configure "$@"
+ ./configure -C "$@"
fi
diff --git a/eeze/autogen.sh b/eeze/autogen.sh
index 1314a98..188fdb8 100755
--- a/eeze/autogen.sh
+++ b/eeze/autogen.sh
@@ -1,8 +1,5 @@
#!/bin/sh
-rm -rf autom4te.cache
-rm -f aclocal.m4 ltmain.sh
-
touch README
echo "Running aclocal..." ; aclocal $ACLOCAL_FLAGS -I m4 || exit 1
@@ -12,5 +9,5 @@ echo "Running libtoolize..." ; (libtoolize --copy --automake || glibtoolize --au
echo "Running automake..." ; automake --add-missing --copy || exit 1
if [ -z "$NOCONFIGURE" ]; then
- ./configure "$@"
+ ./configure -C "$@"
fi
diff --git a/efreet/autogen.sh b/efreet/autogen.sh
index 995ff2f..6499736 100755
--- a/efreet/autogen.sh
+++ b/efreet/autogen.sh
@@ -1,8 +1,5 @@
#!/bin/sh
-rm -rf autom4te.cache
-rm -f aclocal.m4 ltmain.sh
-
touch README
echo "Running aclocal..." ; aclocal $ACLOCAL_FLAGS -I m4 || exit 1
@@ -12,5 +9,5 @@ echo "Running libtoolize..." ; (libtoolize --copy --automake || glibtoolize --au
echo "Running automake..." ; automake --add-missing --copy --gnu || exit 1
if [ -z "$NOCONFIGURE" ]; then
- ./configure "$@"
+ ./configure -C "$@"
fi
diff --git a/eina/autogen.sh b/eina/autogen.sh
index 5bbd4d9..743d752 100755
--- a/eina/autogen.sh
+++ b/eina/autogen.sh
@@ -1,8 +1,5 @@
#!/bin/sh
-rm -rf autom4te.cache
-rm -f aclocal.m4 ltmain.sh
-
echo "Running aclocal..." ; aclocal $ACLOCAL_FLAGS -I m4 || exit 1
echo "Running autoheader..." ; autoheader || exit 1
echo "Running autoconf..." ; autoconf || exit 1
@@ -10,5 +7,5 @@ echo "Running libtoolize..." ; (libtoolize --copy --automake || glibtoolize --au
echo "Running automake..." ; automake --add-missing --copy --gnu || exit 1
if [ -z "$NOCONFIGURE" ]; then
- ./configure "$@"
+ ./configure -C "$@"
fi
diff --git a/elementary/autogen.sh b/elementary/autogen.sh
index 0a59462..788702c 100755
--- a/elementary/autogen.sh
+++ b/elementary/autogen.sh
@@ -1,8 +1,5 @@
#!/bin/sh
-rm -rf autom4te.cache
-rm -f aclocal.m4 ltmain.sh
-
touch README
echo "Running autopoint..." ; autopoint -f || :
@@ -13,5 +10,5 @@ echo "Running libtoolize..." ; (libtoolize --copy --automake || glibtoolize --au
echo "Running automake..." ; automake --add-missing --copy --gnu || exit 1
if [ -z "$NOCONFIGURE" ]; then
- ./configure "$@"
+ ./configure -C "$@"
fi
diff --git a/evas/autogen.sh b/evas/autogen.sh
index 995ff2f..6499736 100755
--- a/evas/autogen.sh
+++ b/evas/autogen.sh
@@ -1,8 +1,5 @@
#!/bin/sh
-rm -rf autom4te.cache
-rm -f aclocal.m4 ltmain.sh
-
touch README
echo "Running aclocal..." ; aclocal $ACLOCAL_FLAGS -I m4 || exit 1
@@ -12,5 +9,5 @@ echo "Running libtoolize..." ; (libtoolize --copy --automake || glibtoolize --au
echo "Running automake..." ; automake --add-missing --copy --gnu || exit 1
if [ -z "$NOCONFIGURE" ]; then
- ./configure "$@"
+ ./configure -C "$@"
fi
------------------------------------------------------------------------------
The ultimate all-in-one performance toolkit: Intel(R) Parallel Studio XE:
Pinpoint memory and threading errors before they happen.
Find and fix more than 250 security defects in the development cycle.
Locate bottlenecks in serial and parallel code that limit performance.
http://p.sf.net/sfu/intel-dev2devfeb
_______________________________________________
enlightenment-devel mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/enlightenment-devel