forked from Singular/Singular
-
Notifications
You must be signed in to change notification settings - Fork 0
Building Singular from source
malex984 edited this page Sep 6, 2012
·
5 revisions
- get the sources with
git clone -b spielwiese git://github.com/Singular/Sources.git <directory_name> - run
<abs_directory_name_from_above>/autogen.sh(formerly known asfor_Hans_with_love.sh) from the root directory - create and switch to your temporary build directory
- run
<abs_directory_name_from_above>/configure --prefix=<destination path> -
make(ormake -jNwhere N is the number of the your CPU cores + 1) -
make -jN check(where N is as above) will build and run simple unit-tests for most units (optional but encouraged) make install- developers are also encouraged to run
make distcheck
- the test-suites from Tst/ can be run, for example, as follows:
cd Tst/ln -s <abs_destination path>/bin/Singular- 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
./configurefrom 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.)