Skip to content

Commit

Permalink
octave: make it compile with SuiteSparse 4.0
Browse files Browse the repository at this point in the history
  • Loading branch information
v4hn committed Jul 9, 2012
1 parent 30b67d5 commit 4afbb84
Show file tree
Hide file tree
Showing 4 changed files with 14 additions and 8 deletions.
12 changes: 11 additions & 1 deletion science/octave/BUILD
@@ -1,4 +1,12 @@
(
#dvi generation dies with less then 2GB RAM with current texlive installation
OPTS+=" --disable-docs" &&

#needed for SuiteSparse 4.0.0
#this should be fixed in the next release of octave
sedit "s:\(\$(octave_LDADD) \$(LIBS)\):\1 -lsuitesparseconfig -lrt:" src/Makefile.in &&
bad_flags ",--as-needed" &&


sedit "s:suitesparse:SuiteSparse:g" configure &&

Expand All @@ -8,6 +16,8 @@

CXXFLAGS="-lpthread" &&

default_build
default_build &&

ln -fs /usr/lib/octave-${VERSION} /usr/lib/octave

) > $C_FIFO 2>&1
4 changes: 3 additions & 1 deletion science/octave/DETAILS
Expand Up @@ -7,7 +7,9 @@
ENTERED=20030604
UPDATED=20120708
SHORT="Numerical computation suite mostly compatible with MATLAB"
PSAFE=no
#seems to be psafe again
# PSAFE=no

cat << EOF
Octave is a high-level interactive language, primarily intended
for numerical computations that is mostly compatible with MATLAB.
Expand Down
5 changes: 0 additions & 5 deletions science/octave/POST_INSTALL

This file was deleted.

1 change: 0 additions & 1 deletion science/octave/POST_REMOVE

This file was deleted.

0 comments on commit 4afbb84

Please sign in to comment.