Changeset ea1479 in git
- Timestamp:
- Jul 9, 2014, 8:43:38 PM (10 years ago)
- Branches:
- (u'spielwiese', 'fe61d9c35bf7c61f2b6cbf1b56e25e2f08d536cc')
- Children:
- 7cdd912b9b6c44ae159128e2ef64cbaede6f8351
- Parents:
- 45c0033f56b30f76ca3748b99b330b76b206cc8a
- git-author:
- Oleksandr Motsak <motsak@mathematik.uni-kl.de>2014-07-09 20:43:38+02:00
- git-committer:
- Oleksandr Motsak <motsak@mathematik.uni-kl.de>2014-07-09 20:45:06+02:00
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
doc/Building-Singular-from-source.md
r45c0033 rea1479 11 11 12 12 1. as prerequisite autotools (>=2.62), [gmp](http://ftp.gnu.org/gnu/gmp/) (>= 4.2), are needed, furthermore we recommend to use [NTL](http://www.shoup.net/ntl/) (>= 5.0) configured with NTL_GMP_LIP=on (for further details see [NTL Documentation](http://www.shoup.net/ntl/doc/tour-gmp.html)), [FLINT](http://www.flintlib.org/) (>=2.4) which depends on [MPFR](http://www.mpfr.org/mpfr-current/) (>=3.0.0) , and readline 13 1. get the sources with `git clone -b spielwiese git://github.com/Singular/Sources.git <directory_name>`14 1. run `<abs_directory_name_from_above>/autogen.sh` (formerly known as `for_Hans_with_love.sh`) from the root directory15 1. create and switch to your temporary build directory. Do not build Singular in the source folder itself!16 1. run `<abs_directory_name_from_above>/configure --prefix=<destination path>` (builds release version)17 1. `make` (or `make -jN` where N is the number of the your CPU cores + 1)18 1. `make -jN check` (where N is as above) will build and run simple unit-tests for most units (optional but encouraged)19 1. `make install`20 1. developers are also encouraged to run `make distcheck`13 2. get the sources with `git clone -b spielwiese git://github.com/Singular/Sources.git <directory_name>` 14 3. run `<abs_directory_name_from_above>/autogen.sh` (formerly known as `for_Hans_with_love.sh`) from the root directory 15 4. create and switch to your temporary build directory. Do not build Singular in the source folder itself! 16 5. run `<abs_directory_name_from_above>/configure --prefix=<destination path>` (builds release version) 17 6. `make` (or `make -jN` where N is the number of the your CPU cores + 1) 18 7. `make -jN check` (where N is as above) will build and run simple unit-tests for most units (optional but encouraged) 19 8. `make install` 20 9. developers are also encouraged to run `make distcheck` 21 21 22 22 ## Static variants of Singular may be built using the following configure flags: … … 47 47 * the test-suites from Tst/ can be run, for example, as follows: 48 48 1. `cd Tst/` 49 1. `ln -s <abs_destination path>/bin/Singular`50 1. 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 files49 2. `ln -s <abs_destination path>/bin/Singular` 50 3. 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 51 51 52 52 # Build the old ```master``` Singular as follows: 53 53 54 54 1. get the sources with `git clone -b trunk git://github.com/Singular2/Sources.git <directory_name>` 55 1. `cd <directory_name_from_above>`56 1. run `./configure` from the root directory57 1. `make install` (or `make -jN install`, where N as above), and _yes_ it should really be `install`!58 1. everything will be put to the newly created directory "$Architecture-$OS/" (e.g. x86_64-Linux, ix86-Linux etc.)55 2. `cd <directory_name_from_above>` 56 3. run `./configure` from the root directory 57 4. `make install` (or `make -jN install`, where N as above), and _yes_ it should really be `install`! 58 5. everything will be put to the newly created directory "$Architecture-$OS/" (e.g. x86_64-Linux, ix86-Linux etc.) 59 59 60 60 # Coverage testing with `lcov` (thanks to Jakob Kroeker) 61 61 62 62 1. make sure that `gcov` is present and install a recent lcov (>= 1.10) 63 1. configure and build `Spielwiese` (IN SOURCE TREE!) together with the following FLAGS:63 2. configure and build `Spielwiese` (IN SOURCE TREE!) together with the following FLAGS: 64 64 ``` 65 65 LDFLAGS+="-lgcov" … … 67 67 CXXFLAGS+="-fprofile-arcs -ftest-coverage -g" 68 68 ``` 69 1. if necessary clean-up lcov-state-files with: `lcov -z -d . `70 1. run tests (e.g. `Tst/regress.cmd -s Singular/Singular Tst/Short.lst`)71 1. collect coverage data into `coverage.cov` with `lcov -c -d . -o coverage.cov`72 1. optionally remove unnecessary directories: `lcov -r coverage.cov '/usr/include/*' > coverage2.cov`73 1. generate HTML overview pages under `GenHtmlDir/` with `genhtml -o GenHtmlDir coverage.cov`69 3. if necessary clean-up lcov-state-files with: `lcov -z -d . ` 70 4. run tests (e.g. `Tst/regress.cmd -s Singular/Singular Tst/Short.lst`) 71 5. collect coverage data into `coverage.cov` with `lcov -c -d . -o coverage.cov` 72 6. optionally remove unnecessary directories: `lcov -r coverage.cov '/usr/include/ *' > coverage2.cov` 73 7. generate HTML overview pages under `GenHtmlDir/` with `genhtml -o GenHtmlDir coverage.cov` 74 74 75 75 For instance, a recent test coverage for Singular -
main.dox
r45c0033 rea1479 128 128 */ 129 129 /*! 130 \dir ./factory /130 \dir ./factory 131 131 \ref factory_page 132 132 */ … … 139 139 /*! 140 140 \page copying_page COPYING 141 This is the Singular copying agreement 142 141 143 \verbinclude COPYING 142 144 */
Note: See TracChangeset
for help on using the changeset viewer.