#11073: remove the spkg/base repo?
---------------------------+------------------------------------------------
Reporter: jhpalmieri | Owner: GeorgSWeber
Type: enhancement | Status: new
Priority: blocker | Milestone: sage-4.7.1
Component: build | Keywords: scripts base hg
Author: | Upstream: N/A
Reviewer: | Merged:
Work_issues: |
---------------------------+------------------------------------------------
Comment(by drkirkby):
Replying to [comment:6 jhpalmieri]:
> Dave: in the base repository, can you explain what the files
stdint.h_Solaris9, testcc.sh, and testcxx.sh are for? I know what the
last two do, but are they actually used anywhere? I can't find any
reference to them in SAGE_ROOT/local/bin or SAGE_ROOT/spkg. Are they
called by various spkg-install files?
I'm not aware of what stdint.h_Solaris9 was supposed to do. I think
Micheal added that. It's pretty dumb, as it forces a long to be 4 bytes
with:
{{{
typedef unsigned long int_fast32_t;
}}}
which is obviously invalid on 64-bit builds. I recall having to create a
ticket to stop including that file, as it was screwing up attempts to
build Sage 64-bit on Solaris.
Given Solaris 10 came out in 2005, I don't think there's much point in
worrying about Solaris 9 anyway.
As such, I think that stdint.h_Solaris9 should be deleted and if there is
any issues it creates, we fix them. But I don't think it will create any
problems.
The testcc.sh and testcxx.sh scripts are used in a few .spkg files.
There's several .spkg files which have tests for the compilers, which
would be much simplified if replaced by those scripts.
> Right now, testcc.sh and testcxx.sh are copied (by the file
spkg/install) to SAGE_ROOT/local/bin. If we're doing away with the base
repository, should they be tracked in the Sage root repository or the
scripts repository? Since they're scripts which might be useful in
general, the scripts repo might make sense. But if they're only used in
the installation process -- I don't know where they're used -- maybe the
root repo makes sense. Any opinions?
I think the scrips repository will be ok. If nothing else, it is
consistent with much of the rest of Sage. I don't think either of those
scripts gets used before the sage-scripts package is installed, but I'm
not 100% sure on that.
--
Ticket URL: <http://trac.sagemath.org/sage_trac/ticket/11073#comment:7>
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.