forked from xnd-project/xnd-all
-
Notifications
You must be signed in to change notification settings - Fork 0
/
INSTALL.txt
67 lines (40 loc) · 1.61 KB
/
INSTALL.txt
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
xnd-all combines all individual xnd libraries as git subtrees. This is a
convenience package that should facilitate developing and testing.
Note that ./configure is currently extremely limited, since it just calls
./configure in all libraries. The only option is --prefix. If --prefix
is omitted, the libraries are installed into $PWD/build.
The builds of libxnd and libgumath rely on previously installed libraries,
so an explicit "make install" is required.
The Python build is entirely separate from the library builds. Due to
limitations of distutils, libraries are installed together with the
C extensions.
Naturally the C extensions could be built against system-installed
libraries, but that has its own set of problems.
Unix: install all libraries into $PWD/build
===========================================
./configure
make install
make check
# Valgrind
make memcheck
Unix: install all libraries into /usr/local
===========================================
./configure --prefix=/usr/local
make install
make check
# Valgrind
make memcheck
Unix/Windows: install all Python modules into $PWD/python
=========================================================
python3 setup.py develop
python3 setup.py test
Unix/Windows: install all Python modules into site-packages
===========================================================
python3 setup.py install
python3 setup.py test
Unix: conda (requires network connection)
=========================================
cd scripts && ./conda-install.sh
Windows: conda (requires network connection)
============================================
cd scripts && conda-install.bat