Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Yet another fix for c_lib/scons stuff #796

Closed
craigcitro opened this issue Oct 3, 2007 · 1 comment
Closed

Yet another fix for c_lib/scons stuff #796

craigcitro opened this issue Oct 3, 2007 · 1 comment

Comments

@craigcitro
Copy link
Member

The scons setup was still sub-par, and after some discussion, we've come up with what looks like a good solution. Here's the new system ... first, we reorganize $SAGE_ROOT/devel/sage/c_lib into c_lib/src and c_lib/include, and removed some cruft in the c_lib directory. We now have two symlinks:

$SAGE_ROOT/local/lib/libcsage.[so|dylib] --> $SAGE_ROOT/devel/sage/c_lib/libcsage.[so|dylib]

$SAGE_ROOT/local/include/csage --> $SAGE_ROOT/devel/sage/c_lib/include

Now we've had to make some changes to spkg-install to get this to work well. In particular, this patch should not be added until the next release, because getting it via hg_sage.pull() could break your working sage.

There are patches for both sage-main and scripts-main attached.

Email me (craig) if you have any issues with this patch.

Component: distribution

Keywords: c_lib

Issue created by migration from https://trac.sagemath.org/ticket/796

@craigcitro craigcitro added this to the sage-2.8.6 milestone Oct 3, 2007
@craigcitro craigcitro self-assigned this Oct 3, 2007
@craigcitro
Copy link
Member Author

Attachment: clib_fix_sage-scripts.hg.gz

Attachment: clib_fix_sage-main.hg.gz

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants