#9185: Update Singular's spkg-install for building multiple spkgs in parallel
----------------------------+-----------------------------------------------
Reporter: mpatel | Owner: tbd
Type: enhancement | Status: needs_review
Priority: minor | Milestone: sage-5.0
Component: packages | Keywords:
Author: Mitesh Patel | Upstream: N/A
Reviewer: | Merged:
Work_issues: |
----------------------------+-----------------------------------------------
Comment(by leif):
Not directly related to this ticket, but to Singular's {{{spkg-install}}}:
We have '''two''' "patches" to {{{src/Singular/Makefile.in}}}; both are
copied, the newer after the older one:
{{{
# work-around patches
cp patches/mminit.cc src/kernel/
cp patches/assert.h src/factory/
cp patches/kernel.rmodulon.cc src/kernel/rmodulon.cc
cp patches/src.Singular.Makefile.in src/Singular/Makefile.in
cp patches/Singular.libsingular.h src/Singular/libsingular.h
cp patches/factory.GNUmakefile.in src/factory/GNUmakefile.in
cp patches/libfac.charset.alg_factor.cc
src/libfac/charset/alg_factor.cc
cp patches/kernel.Makefile.in src/kernel/Makefile.in
cp patches/Singular.Makefile.in src/Singular/Makefile.in
cp patches/Singular.tesths.cc src/Singular/tesths.cc
}}}
Some Solaris stuff seems to be lost (obsolete?):
{{{
--- patches/src.Singular.Makefile.in 2009-06-11 12:23:38.000000000
+0200
+++ patches/Singular.Makefile.in 2010-01-20 18:30:21.000000000
+0100
@@ -130,12 +130,6 @@
LIBSINGULAR_LIBS = -lsingfac -lsingcf -lntl -lreadline -lgmp -lomalloc
-lhtmlhelp
endif
-ifeq ($(SINGUNAME),ix86-SunOS)
-SO_SUFFIX = so
-LIBSINGULAR_FLAGS = -shared
-LIBSINGULAR_LIBS = -lsingfac -lsingcf -lntl -lreadline -lgmp -lomalloc
-endif
-
#
# End libSINGULAR
#
@@ -534,12 +528,18 @@
${INSTALL_DATA} `pwd`/LIB/gftables/* ${slibdir}/gftables/
install-libsingular: libsingular
+ ${MKINSTALLDIRS} ${includedir}/singular
for file in *.$(SO_SUFFIX); do \
${INSTALL_PROGRAM} $$file ${libdir}; \
done
${INSTALL_PROGRAM} libsingular.h ${includedir}
-
-
+ ${INSTALL_PROGRAM} subexpr.h ${includedir}/singular
+ ${INSTALL_PROGRAM} tok.h ${includedir}/singular
+ ${INSTALL_PROGRAM} grammar.h ${includedir}/singular
+ ${INSTALL_PROGRAM} ipid.h ${includedir}/singular
+ ${INSTALL_PROGRAM} ipshell.h ${includedir}/singular
+ ${INSTALL_PROGRAM} lists.h ${includedir}/singular
+ ${INSTALL_PROGRAM} attrib.h ${includedir}/singular
uninstall: uninstallbin
}}}
If appropriate, we should merge them, and delete the older one (including
the {{{cp}}} line of course).
Dave?
--
Ticket URL: <http://trac.sagemath.org/sage_trac/ticket/9185#comment:4>
Sage <http://www.sagemath.org>
Sage: Creating a Viable Open Source Alternative to Magma, Maple, Mathematica,
and MATLAB
--
You received this message because you are subscribed to the Google Groups
"sage-trac" group.
To post to this group, send email to [email protected].
To unsubscribe from this group, send email to
[email protected].
For more options, visit this group at
http://groups.google.com/group/sage-trac?hl=en.