File tree Expand file tree Collapse file tree 1 file changed +25
-6
lines changed Expand file tree Collapse file tree 1 file changed +25
-6
lines changed Original file line number Diff line number Diff line change 2
2
3
3
Gridinit is a tool used to manage non-daemon processes.
4
4
5
+ ## Dependencies
6
+
7
+ * A toolchain made of [ cmake] ( https://cmake.org ) ,
8
+ [ make] ( https://www.gnu.org/software/make/ ) ,
9
+ [ pkg-config] ( https://www.freedesktop.org/wiki/Software/pkg-config/ ) ,
10
+ [ gcc] ( https://www.gnu.org/software/gcc/ ) or [ clang] ( https://clang.llvm.org/ )
11
+ * The [ GNome Library] ( https://developer.gnome.org/glib/stable/ )
12
+ * [ Martin Sustrik's libdill] ( https://github.com/open-io/libdill )
13
+
5
14
## Build
6
15
7
- ```
16
+ Building `` gridinit `` is configured by `` cmake `` , done by `` make `` and requires
17
+ that `` libdill `` is installed ans its installation paths are configured with
18
+ `` pkg-config `` .
19
+
20
+ ``` shell script
8
21
cmake -D GRIDINIT_SOCK_PATH=/tmp/gridinit.sock .
9
22
make
10
23
```
11
24
12
- ### Dependencies
25
+ But `` libdill `` is rarely available in mainstream Linux distributions, so here
26
+ are the build instructions to build it from the `` git submodule `` :
13
27
14
- * cmake, make, gcc
15
- * glib, glib-devel
16
- * libdill (currently embedded)
28
+ ``` shell script
29
+ git submodule update --init --recursive
30
+ cd vendor/libdill
31
+ ./autogen.sh
32
+ ./configure --prefix=/usr --enable-shared --disable-static --enable-tls --enable-threads
33
+ make
34
+ sudo make install
35
+ ```
17
36
18
- ### Compile-time configuration
37
+ ## Compile-time Configuration
19
38
20
39
| Macro | Default | Description |
21
40
| ----- | ------- | ----------- |
You can’t perform that action at this time.
0 commit comments