Debian Codegraph @

INSTALL

raw
1 For (more) complete instructions please refer to https://github.com/evaleev/libint/wiki
2
3 The installation procedure for the impatient and/or experts:
4 0) create configure in the source directory:
5 $ ./autogen.sh
6 1) create a directory for object files (you cannot build in the source directory):
7 $ mkdir ../build; cd ../build
8 2) configure the package:
9 $ ../src_dir/configure
10 Most often you will need to specify command-line options to configure.
11 To obtain a list of configure options run 'configure --help'.
12
13 then either choose path a or b:
14
15 3a) build the Libint compiler, then generate and compile a library:
16 $ make
17 4a) optional validation of the library:
18 $ make check
19 5a) install the compiled library:
20 $ make install
21
22 3b) build the Libint compiler, then generate and package a library for redistribution
23 $ make export
24 this produces a tarball with a Libint library that can be unpacked, configured, and compiled elsewhere.
25
26 To build Python module configure libint with `--enable-eri2 --enable-eri`, export, untar exported archive:
27 $ cmake -DPYTHON_EXECUTABLE=`which python3` -DLIBINT2_PYTHON=ON .
28 $ cd python
29 $ make && make test
30 $ make libint2-python-wheel