forked from Singular/Singular
-
Notifications
You must be signed in to change notification settings - Fork 0
Building Singular from source
burcin edited this page Sep 6, 2012
·
21 revisions
- get the sources with
git clone -b spielwiese git://github.com/Singular/Sources.git <directory_name>
cd <directory_name_from_above>
- run
./autogen.sh
(formerly known as./for_Hans_with_love.sh
) from the root directory - run
./configure
-
make
(ormake -jN
where N is the number of the your CPU cores + 1)
- NOTE: using
make install
instead is not recommended yet, but fill free to test it.
-
NOTE: the directory has not been migrated to automake yet and contains at the moment only a very simple static makefile.
- if
make
process stops here saying thatfeOpt.inc
is missing - please, simply run the same make command again.
- if
-
make check
will build and run simple unit-tests in omalloc/, libpolys/, kernel/ and Singular/ - the test-suites from Tst/ can be run, for example, as follows:
cd Tst/
ln -s ../Singular/LIB
ln -s ../Singular/Singular
ln -s ../Singular/Singularg
ln -s ../libpolys/polys/.libs MOD
- after the above symbolic-linking one can simply run
./regress.cmd something.{lst,tst}
, where .lst files are just lists of tests, which are .tst files
- get the sources with
git clone -b trunk git://github.com/Singular2/Sources.git <directory_name>
cd <directory_name_from_above>
- run
./configure
from the root directory -
make install
(ormake -jN install
, where N as above), and yes it should really beinstall
! - everything will be put to the newly created directory "$Architecture-$OS/" (e.g. x86_64-Linux, ix86-Linux etc.)