Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 173900 - sci-libs/{camd,ccolamd,cholmod,colamd,cxsparse} - new sparse matrix ebuilds
Summary: sci-libs/{camd,ccolamd,cholmod,colamd,cxsparse} - new sparse matrix ebuilds
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: New packages (show other bugs)
Hardware: All Linux
: High enhancement (vote)
Assignee: Gentoo Science Related Packages
URL:
Whiteboard:
Keywords: EBUILD
Depends on:
Blocks:
 
Reported: 2007-04-09 12:19 UTC by Johan Bondeson
Modified: 2008-02-07 14:43 UTC (History)
3 users (show)

See Also:
Package list:
Runtime testing required: ---


Attachments
sci-libs/camd initial ebuild (camd-2.1.2.ebuild,819 bytes, text/plain)
2007-04-09 12:20 UTC, Johan Bondeson
Details
camd-2.1.2-autotools.patch (camd-2.1.2-autotools.patch,2.30 KB, patch)
2007-04-09 12:21 UTC, Johan Bondeson
Details | Diff
sci-libs/ccolamd initial ebuild (ccolamd-2.5.2.ebuild,744 bytes, text/plain)
2007-04-09 12:22 UTC, Johan Bondeson
Details
ccolamd-2.5.2-autotools.patch (ccolamd-2.5.2-autotools.patch,1.28 KB, patch)
2007-04-09 12:23 UTC, Johan Bondeson
Details | Diff
sci-libs/cholmod initial ebuild (cholmod-1.4.0.ebuild,1000 bytes, text/plain)
2007-04-09 12:23 UTC, Johan Bondeson
Details
cholmod-1.4.0-autotools.patch (cholmod-1.4.0-autotools.patch,6.58 KB, patch)
2007-04-09 12:24 UTC, Johan Bondeson
Details | Diff
sci-libs/colamd initial ebuild (colamd-2.6.0.ebuild,708 bytes, text/plain)
2007-04-09 12:24 UTC, Johan Bondeson
Details
colamd-2.6.0-autotools.patch (colamd-2.6.0-autotools.patch,1.25 KB, patch)
2007-04-09 12:26 UTC, Johan Bondeson
Details | Diff
sci-libs/cxsparse initial ebuild (cxsparse-2.0.7.ebuild,699 bytes, text/plain)
2007-04-09 12:27 UTC, Johan Bondeson
Details
cxsparse-2.0.7-autotools.patch (cxsparse-2.0.7-autotools.patch,4.29 KB, patch)
2007-04-09 12:27 UTC, Johan Bondeson
Details | Diff
camd-2.2.0.ebuild (camd-2.2.0.ebuild,906 bytes, text/plain)
2007-09-20 16:34 UTC, Justin Bronder (RETIRED)
Details
camd-2.2.0-autotools.patch (camd-2.2.0-autotools.patch,6.11 KB, patch)
2007-09-20 16:34 UTC, Justin Bronder (RETIRED)
Details | Diff
ccolamd-2.7.0.ebuild (ccolamd-2.7.0.ebuild,814 bytes, text/plain)
2007-09-20 16:34 UTC, Justin Bronder (RETIRED)
Details
ccolamd-2.7.0-autotools.patch (ccolamd-2.7.0-autotools.patch,7.15 KB, patch)
2007-09-20 16:35 UTC, Justin Bronder (RETIRED)
Details | Diff
cholmod-1.5.0.ebuild (cholmod-1.5.0.ebuild,1.35 KB, text/plain)
2007-09-20 16:35 UTC, Justin Bronder (RETIRED)
Details
cholmod-1.5.0-autotools.patch (cholmod-1.5.0-autotools.patch,111.27 KB, patch)
2007-09-20 16:35 UTC, Justin Bronder (RETIRED)
Details | Diff
colamd-2.7.0.ebuild (colamd-2.7.0.ebuild,789 bytes, text/plain)
2007-09-20 16:35 UTC, Justin Bronder (RETIRED)
Details
colamd-2.7.0-autotools.patch (colamd-2.7.0-autotools.patch,7.05 KB, patch)
2007-09-20 16:36 UTC, Justin Bronder (RETIRED)
Details | Diff

Note You need to log in before you can comment on or make changes to this bug.
Description Johan Bondeson 2007-04-09 12:19:43 UTC
Please add these sparse matrix packages that are needed for octave 2.9.10 to have sparse support.

Reproducible: Always

Steps to Reproduce:
Comment 1 Johan Bondeson 2007-04-09 12:20:55 UTC
Created attachment 115802 [details]
sci-libs/camd initial ebuild
Comment 2 Johan Bondeson 2007-04-09 12:21:27 UTC
Created attachment 115804 [details, diff]
camd-2.1.2-autotools.patch
Comment 3 Johan Bondeson 2007-04-09 12:22:57 UTC
Created attachment 115805 [details]
sci-libs/ccolamd initial ebuild
Comment 4 Johan Bondeson 2007-04-09 12:23:20 UTC
Created attachment 115806 [details, diff]
ccolamd-2.5.2-autotools.patch
Comment 5 Johan Bondeson 2007-04-09 12:23:49 UTC
Created attachment 115808 [details]
sci-libs/cholmod initial ebuild
Comment 6 Johan Bondeson 2007-04-09 12:24:10 UTC
Created attachment 115810 [details, diff]
cholmod-1.4.0-autotools.patch
Comment 7 Johan Bondeson 2007-04-09 12:24:45 UTC
Created attachment 115812 [details]
sci-libs/colamd initial ebuild
Comment 8 Johan Bondeson 2007-04-09 12:26:15 UTC
Created attachment 115814 [details, diff]
colamd-2.6.0-autotools.patch
Comment 9 Johan Bondeson 2007-04-09 12:27:18 UTC
Created attachment 115815 [details]
sci-libs/cxsparse initial ebuild
Comment 10 Johan Bondeson 2007-04-09 12:27:41 UTC
Created attachment 115816 [details, diff]
cxsparse-2.0.7-autotools.patch
Comment 11 Johan Bondeson 2007-04-09 12:33:52 UTC
the cholmod package also require metis, which has an ebuild here in bugzilla: http://bugs.gentoo.org/show_bug.cgi?id=53394
Comment 12 Simon Zilliken 2007-08-24 18:30:25 UTC
cxsparse doesn't build because cs.h is not found. First I thought it was a problem with the patch, 'cause there's

+AM_CFLAGS = -I ../Source
+include_HEADERS = Source/cs.h

whereas cs.h is placed in Include. So I replaced Source with Include, but that didn't work, too. I'm no autotools-expert, so I re-replaced Include with Source again and simply changed the ebuild:

src_unpack() {
    unpack ${A}

    cd "${WORKDIR}"
    epatch "${FILESDIR}"/${P}-autotools.patch
    cd "${S}"
>>> cp Include/cs.h Source/ <<<
    rm -f Makefile */Makefile
    eautoreconf
}

Works, but it's probably not the most elegant solution :-)
Greetings,

Simon
Comment 13 Justin Bronder (RETIRED) gentoo-dev 2007-09-20 16:33:22 UTC
I have some version bumps for these, added src_test, and tweaked the autotools patches a little adding header checks and support for building tests mainly.

Cholmod doesn't actually require ccolamd/camd, unless it's being built with metis support (which isn't required), so I added that to use autotools as well and the corresponding USE flag.

Cholmod also comes with the stress suite, located in Tcov.  I was able to get this to build, but it fails half-way through the tests.  This is because they copy all the source files that build libcholmod into the current directory and parse them using gcov.  If anyone is actually interested, they could probably fix this.  Also, the gcov scripts are writting in csh, so there's an added depend on tcsh.
Comment 14 Justin Bronder (RETIRED) gentoo-dev 2007-09-20 16:34:07 UTC
Created attachment 131415 [details]
camd-2.2.0.ebuild
Comment 15 Justin Bronder (RETIRED) gentoo-dev 2007-09-20 16:34:30 UTC
Created attachment 131417 [details, diff]
camd-2.2.0-autotools.patch
Comment 16 Justin Bronder (RETIRED) gentoo-dev 2007-09-20 16:34:55 UTC
Created attachment 131419 [details]
ccolamd-2.7.0.ebuild
Comment 17 Justin Bronder (RETIRED) gentoo-dev 2007-09-20 16:35:09 UTC
Created attachment 131421 [details, diff]
ccolamd-2.7.0-autotools.patch
Comment 18 Justin Bronder (RETIRED) gentoo-dev 2007-09-20 16:35:26 UTC
Created attachment 131422 [details]
cholmod-1.5.0.ebuild
Comment 19 Justin Bronder (RETIRED) gentoo-dev 2007-09-20 16:35:40 UTC
Created attachment 131423 [details, diff]
cholmod-1.5.0-autotools.patch
Comment 20 Justin Bronder (RETIRED) gentoo-dev 2007-09-20 16:35:58 UTC
Created attachment 131424 [details]
colamd-2.7.0.ebuild
Comment 21 Justin Bronder (RETIRED) gentoo-dev 2007-09-20 16:36:13 UTC
Created attachment 131425 [details, diff]
colamd-2.7.0-autotools.patch
Comment 22 Justin Bronder (RETIRED) gentoo-dev 2007-09-20 16:38:04 UTC
I forgot to mention above, but as Johan pointed out earlier, there is already a bug for metis, #53394.  I've also commited an updated ebuild there as well that I used to test cholmod with.
Comment 23 Johan Bondeson 2007-09-20 21:37:33 UTC
Very nice work done indeed.
Comment 24 Jakub Moc (RETIRED) gentoo-dev 2007-09-21 07:48:49 UTC
Folks, any reason why can't you move this to science overlay and work on it there? This bug is getting messy and noisy with all those tons of attachments. :/
Comment 25 Sébastien Fabbro (RETIRED) gentoo-dev 2007-09-24 16:30:19 UTC
Hi

Thanks a lot for all the great work. All these packages are now in the science overlay.  Please test them and report here any problems. I would like to push them to the main tree soon.
I made quite a lot of changes with respect to the one submitted here. For the ebuild writers, please review these changes and the autotools patches.
Now we are almost done to the full suitesparse (any candidate?)

Sebastien
Comment 26 Justin Bronder (RETIRED) gentoo-dev 2007-09-24 19:24:57 UTC
(In reply to comment #25)
Everything looks good to me.  I pushed your changes to our local overlay and have updated the developer's machines.  No one has reported any issues.

Thanks,
Comment 27 Sébastien Fabbro (RETIRED) gentoo-dev 2008-02-05 18:56:24 UTC
Now in cvs. Thanks all for your hard work.