Changeset ea1479 in git


Ignore:
Timestamp:
Jul 9, 2014, 8:43:38 PM (10 years ago)
Author:
Oleksandr Motsak <motsak@…>
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
Message:
Better Doxygen docu
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • doc/Building-Singular-from-source.md

    r45c0033 rea1479  
    1111
    12121. 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 directory
    15 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`
     132. get the sources with `git clone -b spielwiese git://github.com/Singular/Sources.git <directory_name>`
     143. run `<abs_directory_name_from_above>/autogen.sh` (formerly known as `for_Hans_with_love.sh`) from the root directory
     154. create and switch to your temporary build directory. Do not build Singular in the source folder itself!
     165. run `<abs_directory_name_from_above>/configure --prefix=<destination path>` (builds release version)
     176. `make` (or `make -jN` where N is the number of the your CPU cores + 1)
     187. `make -jN check` (where N is as above) will build and run simple unit-tests for most units (optional but encouraged)
     198. `make install`
     209. developers are also encouraged to run `make distcheck`
    2121
    2222## Static variants of Singular may be built using the following configure flags:
     
    4747* the test-suites from Tst/ can be run, for example, as follows:
    4848  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 files
     49  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
    5151
    5252# Build the old ```master``` Singular as follows:
    5353
    54541. 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 directory
    57 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.)
     552. `cd <directory_name_from_above>`
     563. run `./configure` from the root directory
     574. `make install` (or `make -jN install`, where N as above), and _yes_ it should really be `install`!
     585. everything will be put to the newly created directory "$Architecture-$OS/" (e.g. x86_64-Linux, ix86-Linux etc.)
    5959
    6060# Coverage testing with `lcov` (thanks to Jakob Kroeker)
    6161
    62621. 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:
     632. configure and build `Spielwiese` (IN SOURCE TREE!) together with the following FLAGS:
    6464```
    6565LDFLAGS+="-lgcov"
     
    6767CXXFLAGS+="-fprofile-arcs -ftest-coverage -g"
    6868```
    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`
     693. if necessary clean-up lcov-state-files with: `lcov -z -d . `
     704. run tests (e.g. `Tst/regress.cmd -s Singular/Singular Tst/Short.lst`)
     715. collect coverage data into `coverage.cov` with `lcov -c -d . -o coverage.cov`
     726. optionally remove unnecessary directories: `lcov -r coverage.cov '/usr/include/ *' > coverage2.cov`
     737. generate HTML overview pages under `GenHtmlDir/` with `genhtml -o GenHtmlDir coverage.cov`
    7474
    7575For instance, a recent test coverage for Singular
  • main.dox

    r45c0033 rea1479  
    128128*/
    129129/*!
    130 \dir ./factory/
     130\dir ./factory
    131131\ref factory_page
    132132*/
     
    139139/*!
    140140\page copying_page COPYING
     141This is the Singular copying agreement
     142
    141143\verbinclude COPYING
    142144*/
Note: See TracChangeset for help on using the changeset viewer.