#8477: Force GNU make to build PALP serially
----------------------------+-----------------------------------------------
Reporter: mpatel | Owner: tbd
Type: defect | Status: needs_review
Priority: minor | Milestone: sage-4.3.4
Component: packages | Keywords:
Author: Mitesh Patel | Upstream: N/A
Reviewer: David Kirkby | Merged:
Work_issues: |
----------------------------+-----------------------------------------------
Changes (by mpatel):
* status: needs_work => needs_review
* reviewer: => David Kirkby
Comment:
I've updated
* http://sage.math.washington.edu/home/mpatel/trac/8477/palp-1.1.p2.spkg
with your suggestions, except for removing `CC=gcc`. See the attached the
patch, which also has a workaround for parallel spkg builds that seems to
work on sage.math and bsd (at least). The makefiles differ by
{{{
#!diff
NEF_SRC= E_Poly.c Nefpart.c LG.c
NEF_OBJ= $(NEF_SRC:.c=.o)
-CC=cc
+CC=gcc
-CFLAGS=-O3 -fast
+CFLAGS=-O3 -g -W -Wall -D_FILE_OFFSET_BITS=64 -D_LARGEFILE_SOURCE
# CFLAGS=-O3 -g # add -g for GNU
debugger gdb
# CFLAGS=-Ofast -O3 -mips4 -n32 # SGI / 32 bit
# CFLAGS=-Ofast -O3 -mips4 -64 # SGI / 64 bit
}}}
Looking at the source, I think `-D_FILE_OFFSET_BITS=64` and
`-D_LARGEFILE_SOURCE` are intended for 32-bit architectures. But it
appears the first definition is not used and the makefiles don't check the
architecture.
--
Ticket URL: <http://trac.sagemath.org/sage_trac/ticket/8477#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.