#7027: clean up f2c spkg
-----------------------------------------------------+----------------------
Reporter: drkirkby | Owner: tbd
Type: defect | Status:
positive_review
Priority: major | Milestone:
sage-5.0
Component: build | Keywords:
Work_issues: patch success test, immortal dotfiles | Upstream: N/A
Reviewer: Michael Orlitzky | Author: R.
Andrew Ohana
Merged: | Dependencies:
-----------------------------------------------------+----------------------
Old description:
> f2c ignores CC, CFLAGS, and MAKE variables:
> On sage.math using
> {{{
> CC=clang
> CFLAGS=-O3
> MAKE="make -j6"
> }}}
> {{{
> ****************************************************
> Host system
> uname -a:
> Linux sage.math.washington.edu 2.6.24-28-server #1 SMP Fri Feb 11
> 18:08:32 UTC 2011 x86_64 Intel(R) Xeon(R) CPU X7460 @ 2.66GHz
> GenuineIntel GNU/Linux
> ****************************************************
> ****************************************************
> CC Version
> clang -v
> clang version 3.0 (tags/RELEASE_30/final)
> Target: x86_64-pc-linux-gnu
> Thread model: posix
> ****************************************************
> gcc -c f77vers.c
> gcc -c i77vers.c
> gcc -c -DSkip_f2c_Undefs -O -fPIC main.c
> ld -r -o main.xxx main.o
> mv main.xxx main.o
> gcc -c -DSkip_f2c_Undefs -O -fPIC s_rnge.c
> ld -r -o s_rnge.xxx s_rnge.o
> mv s_rnge.xxx s_rnge.o
> gcc -c -DSkip_f2c_Undefs -O -fPIC abort_.c
>
> }}}
>
> Also, there are left over files from development on OSX:
>
> {{{
> hg status
> ? ._.hg
> ? ._.hgignore
> ? ._SPKG.txt
> ? ._spkg-install
> ? patches/._f2c.makefile
> }}}
>
> Finally, there are unnecessary files in the patch directory, we only need
> one of the patches, and neither of the makefiles.
>
> '''spkg''':
> [http://wstein.org/home/ohanar/clang-
> port/sage-5.0.beta1-src/spkg/standard/f2c-20070816.p3.spkg]
New description:
f2c ignores CC, CFLAGS, and MAKE variables:
On sage.math using
{{{
CC=clang
CFLAGS=-O3
MAKE="make -j6"
}}}
{{{
****************************************************
Host system
uname -a:
Linux sage.math.washington.edu 2.6.24-28-server #1 SMP Fri Feb 11 18:08:32
UTC 2011 x86_64 Intel(R) Xeon(R) CPU X7460 @ 2.66GHz GenuineIntel
GNU/Linux
****************************************************
****************************************************
CC Version
clang -v
clang version 3.0 (tags/RELEASE_30/final)
Target: x86_64-pc-linux-gnu
Thread model: posix
****************************************************
gcc -c f77vers.c
gcc -c i77vers.c
gcc -c -DSkip_f2c_Undefs -O -fPIC main.c
ld -r -o main.xxx main.o
mv main.xxx main.o
gcc -c -DSkip_f2c_Undefs -O -fPIC s_rnge.c
ld -r -o s_rnge.xxx s_rnge.o
mv s_rnge.xxx s_rnge.o
gcc -c -DSkip_f2c_Undefs -O -fPIC abort_.c
}}}
Also, there are left over files from development on OSX:
{{{
hg status
? ._.hg
? ._.hgignore
? ._SPKG.txt
? ._spkg-install
? patches/._f2c.makefile
}}}
Finally, there are unnecessary files in the patch directory, we only need
one of the patches, and neither of the makefiles.
'''spkg''':
[http://boxen.math.washington.edu/home/jdemeyer/spkg/f2c-20070816.p3.spkg]
--
Comment(by jdemeyer):
I made `spkg-check` executable, as it should be.
--
Ticket URL: <http://trac.sagemath.org/sage_trac/ticket/7027#comment:22>
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.