issues building PPL 0.11.2
Anthony Foiani
anthony.foiani@gmail.com
Sat May 14 19:03:00 GMT 2011
Yann, all --
I ran into a variety of odd issues trying to build a toolchain on my
Fedora 14 (x86-64) system with the latest PPL release (0.11.2).
Here's the patch I'm currently using, and it seems to be working fine.
If you really need me to, I can reformulate it as a proper mailed
patch with signed-off-by etc, but I feel it's minor enough to not
warrant it. Whatever. (Also, I still seem unable to really drive
'hg' properly, so my reformulating it would take me a few hours of
cloning and polishing, whee.)
Anyway, the issues I found:
1. a java test lib doesn't get a makefile rule if PPL is not built
shared. I first tried building shared, then eventually just build only
C and C++ interfaces.
2. PPL build was failing randomly, and it looked like it's not
entirely safe under parallel building; as such, I removed the parallel
build flag from the ppl.sh script.
I know that both of these issues should probably be pushed to upstream.
Thanks,
t.
Patch follows:
$ hg diff scripts/build/companion_libs/ppl.sh -r 2447
diff -r 0888b073743d scripts/build/companion_libs/ppl.sh
--- a/scripts/build/companion_libs/ppl.sh Fri Jan 21 19:53:06 2011 -0700
+++ b/scripts/build/companion_libs/ppl.sh Sat May 14 12:57:14 2011 -0600
@@ -41,6 +41,7 @@
--prefix="${CT_COMPLIBS_DIR}" \
--with-libgmp-prefix="${CT_COMPLIBS_DIR}" \
--with-libgmpxx-prefix="${CT_COMPLIBS_DIR}" \
+ --with-gmp-prefix="${CT_COMPLIBS_DIR}" \
--enable-cxx \
--enable-watchdog \
--disable-debugging \
@@ -48,6 +49,7 @@
--disable-ppl_lcdd \
--disable-ppl_lpsol \
--disable-shared \
+ --enable-interfaces='c c++' \
--enable-static
# Maybe-options:
@@ -55,11 +57,11 @@
# --enable-optimization=speed or sspeed (yes, with 2 's')
CT_DoLog EXTRA "Building PPL"
- CT_DoExecLog ALL make ${JOBSFLAGS}
+ CT_DoExecLog ALL make
if [ "${CT_COMPLIBS_CHECK}" = "y" ]; then
CT_DoLog EXTRA "Checking PPL"
- CT_DoExecLog ALL make ${JOBSFLAGS} -s check
+ CT_DoExecLog ALL make -s check
fi
CT_DoLog EXTRA "Installing PPL"
More information about the crossgcc
mailing list